com.liferay.portal.tools.servicebuilder
Class Entity
java.lang.Object
com.liferay.portal.tools.servicebuilder.Entity
public class Entity
- extends Object
Constructor Summary |
Entity(String name)
|
Entity(String packagePath,
String portletName,
String portletShortName,
String name,
String humanName,
String table,
String alias,
boolean uuid,
boolean localService,
boolean remoteService,
String persistenceClass,
String finderClass,
String dataSource,
String sessionFactory,
String txManager,
boolean cacheEnabled,
List<EntityColumn> pkList,
List<EntityColumn> regularColList,
List<EntityColumn> collectionList,
List<EntityColumn> columnList,
EntityOrder order,
List<EntityFinder> finderList,
List<Entity> referenceList,
List<String> txRequiredList)
|
DEFAULT_DATA_SOURCE
public static final String DEFAULT_DATA_SOURCE
- See Also:
- Constant Field Values
DEFAULT_SESSION_FACTORY
public static final String DEFAULT_SESSION_FACTORY
- See Also:
- Constant Field Values
DEFAULT_TX_MANAGER
public static final String DEFAULT_TX_MANAGER
- See Also:
- Constant Field Values
Entity
public Entity(String name)
Entity
public Entity(String packagePath,
String portletName,
String portletShortName,
String name,
String humanName,
String table,
String alias,
boolean uuid,
boolean localService,
boolean remoteService,
String persistenceClass,
String finderClass,
String dataSource,
String sessionFactory,
String txManager,
boolean cacheEnabled,
List<EntityColumn> pkList,
List<EntityColumn> regularColList,
List<EntityColumn> collectionList,
List<EntityColumn> columnList,
EntityOrder order,
List<EntityFinder> finderList,
List<Entity> referenceList,
List<String> txRequiredList)
getColumn
public static EntityColumn getColumn(String name,
List<EntityColumn> columnList)
hasColumn
public static boolean hasColumn(String name,
List<EntityColumn> columnList)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAlias
public String getAlias()
getCollectionFinderList
public List<EntityFinder> getCollectionFinderList()
getCollectionList
public List<EntityColumn> getCollectionList()
getColumn
public EntityColumn getColumn(String name)
getColumnByMappingTable
public EntityColumn getColumnByMappingTable(String mappingTable)
getColumnList
public List<EntityColumn> getColumnList()
getDataSource
public String getDataSource()
getFilterPKColumn
public EntityColumn getFilterPKColumn()
getFinderClass
public String getFinderClass()
getFinderList
public List<EntityFinder> getFinderList()
getHumanName
public String getHumanName()
getHumanNames
public String getHumanNames()
getName
public String getName()
getNames
public String getNames()
getOrder
public EntityOrder getOrder()
getPackagePath
public String getPackagePath()
getParentTransients
public List<String> getParentTransients()
getPersistenceClass
public String getPersistenceClass()
getPKDBName
public String getPKDBName()
getPKClassName
public String getPKClassName()
getPKList
public List<EntityColumn> getPKList()
getPKVarName
public String getPKVarName()
getPortletName
public String getPortletName()
getPortletShortName
public String getPortletShortName()
getReferenceList
public List<Entity> getReferenceList()
getRegularColList
public List<EntityColumn> getRegularColList()
getSessionFactory
public String getSessionFactory()
getShortName
public String getShortName()
getSpringPropertyName
public String getSpringPropertyName()
getTable
public String getTable()
getTransients
public List<String> getTransients()
getTXManager
public String getTXManager()
getTxRequiredList
public List<String> getTxRequiredList()
getUniqueFinderList
public List<EntityFinder> getUniqueFinderList()
getVarName
public String getVarName()
getVarNames
public String getVarNames()
hasArrayableOperator
public boolean hasArrayableOperator()
hasColumn
public boolean hasColumn(String name)
hasColumns
public boolean hasColumns()
hasCompoundPK
public boolean hasCompoundPK()
hasFinderClass
public boolean hasFinderClass()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
hasLocalizedColumn
public boolean hasLocalizedColumn()
hasLocalService
public boolean hasLocalService()
hasPrimitivePK
public boolean hasPrimitivePK()
hasPrimitivePK
public boolean hasPrimitivePK(boolean includeWrappers)
hasRemoteService
public boolean hasRemoteService()
hasUuid
public boolean hasUuid()
isCacheEnabled
public boolean isCacheEnabled()
isDefaultDataSource
public boolean isDefaultDataSource()
isDefaultSessionFactory
public boolean isDefaultSessionFactory()
isDefaultTXManager
public boolean isDefaultTXManager()
isHierarchicalTree
public boolean isHierarchicalTree()
isOrdered
public boolean isOrdered()
isPermissionCheckEnabled
public boolean isPermissionCheckEnabled()
isPermissionCheckEnabled
public boolean isPermissionCheckEnabled(EntityFinder finder)
isPortalReference
public boolean isPortalReference()
isWorkflowEnabled
public boolean isWorkflowEnabled()
setParentTransients
public void setParentTransients(List<String> transients)
setPortalReference
public void setPortalReference(boolean portalReference)
setTransients
public void setTransients(List<String> transients)