|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.taggercat.metadata.MetaDataReaderImpl
public class MetaDataReaderImpl
This class is used to read the runtime metadata from the system tables, and merge in any additional Metadata from the Hibernate configuration.
![]() |
![]() |
| Constructor Summary | |
|---|---|
MetaDataReaderImpl()
|
|
| Method Summary | |
|---|---|
java.util.Map |
getDerivations()
|
java.lang.String |
getEntityNameForEditPageName(java.lang.String pageName)
Get the primary entity name for the specified default edit page name. |
java.lang.String |
getEntityNameForSearchPageName(java.lang.String pageName)
Get the primary entity name for the specified default search page name. |
java.util.Map<java.lang.String,MetaEntity> |
getMetaData()
|
java.util.List<MetaEntity> |
getMetaEntities()
|
MetaEntity |
getMetaEntity(java.lang.String entityName)
|
java.util.Map<java.lang.String,MetaProperty> |
getMetaProperties(java.lang.String entityName)
|
MetaProperty |
getMetaProperty(java.lang.String entityName,
java.lang.String propertyName)
|
java.lang.String |
getTenantName()
|
void |
listEntities(java.lang.String filter)
|
void |
listProperties(java.lang.String entityName)
This is a debug type method that Lists the properties on the specified entity to System.out. |
static void |
main(java.lang.String[] args)
|
java.util.Map<java.lang.String,MetaEntity> |
readMetaData(org.hibernate.cfg.Configuration hbn8Config,
org.hibernate.SessionFactory sessionFactory,
java.lang.String tenantName)
|
java.util.Map<java.lang.String,MetaEntity> |
reload(org.hibernate.SessionFactory sessionFactory)
Reloads the metadata from the System tables, but does not use the mapping files. |
void |
setTenantName(java.lang.String tenantName)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaDataReaderImpl()
| Method Detail |
|---|
public java.util.Map<java.lang.String,MetaEntity> readMetaData(org.hibernate.cfg.Configuration hbn8Config,
org.hibernate.SessionFactory sessionFactory,
java.lang.String tenantName)
throws java.lang.Exception
readMetaData in interface MetaDataReaderjava.lang.Exception
public java.util.Map<java.lang.String,MetaEntity> reload(org.hibernate.SessionFactory sessionFactory)
throws java.lang.Exception
MetaDataReader
reload in interface MetaDataReaderjava.lang.ExceptionsessionFactory - the session factory
public java.lang.String getEntityNameForSearchPageName(java.lang.String pageName)
getEntityNameForSearchPageName in interface MetaDataReaderpageName -
public java.lang.String getEntityNameForEditPageName(java.lang.String pageName)
getEntityNameForEditPageName in interface MetaDataReaderpageName -
public void listEntities(java.lang.String filter)
listEntities in interface MetaDataReaderpublic void listProperties(java.lang.String entityName)
MetaDataReader
listProperties in interface MetaDataReader
public MetaProperty getMetaProperty(java.lang.String entityName,
java.lang.String propertyName)
getMetaProperty in interface MetaDataReaderpublic java.util.Map<java.lang.String,MetaProperty> getMetaProperties(java.lang.String entityName)
getMetaProperties in interface MetaDataReaderpublic MetaEntity getMetaEntity(java.lang.String entityName)
getMetaEntity in interface MetaDataReaderpublic java.util.List<MetaEntity> getMetaEntities()
getMetaEntities in interface MetaDataReaderpublic java.util.Map<java.lang.String,MetaEntity> getMetaData()
getMetaData in interface MetaDataReader
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionargs - public java.util.Map getDerivations()
getDerivations in interface MetaDataReaderpublic void setTenantName(java.lang.String tenantName)
public java.lang.String getTenantName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||