|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface MetaDataReader
Reads the metadata from the system tables, and provides access methods for the same. All the metadata is read on application startup. The reload method can be called to reload the metadata on demand.
![]() |
![]() |
![]() |
![]() |
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,com.taggercat.rules.DerivationList> |
getDerivations()
|
java.lang.String |
getEntityNameForEditPageName(java.lang.String pageName)
Get the primary entity name for the specified default page name. |
java.lang.String |
getEntityNameForSearchPageName(java.lang.String pageName)
Get the primary entity name for the specified default 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)
|
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. |
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. |
| Method Detail |
|---|
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
java.lang.Exception
java.util.Map<java.lang.String,MetaEntity> reload(org.hibernate.SessionFactory sessionFactory)
throws java.lang.Exception
java.lang.ExceptionsessionFactory - the session factory
void listEntities(java.lang.String filter)
void listProperties(java.lang.String entityName)
entityName -
MetaProperty getMetaProperty(java.lang.String entityName,
java.lang.String propertyName)
java.util.Map<java.lang.String,MetaProperty> getMetaProperties(java.lang.String entityName)
MetaEntity getMetaEntity(java.lang.String entityName)
java.util.List<MetaEntity> getMetaEntities()
java.util.Map<java.lang.String,MetaEntity> getMetaData()
java.lang.String getEntityNameForSearchPageName(java.lang.String pageName)
pageName -
java.lang.String getEntityNameForEditPageName(java.lang.String pageName)
pageName -
java.util.Map<java.lang.String,com.taggercat.rules.DerivationList> getDerivations()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||