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 uuidAccessor,
boolean localService,
boolean remoteService,
String persistenceClass,
String finderClass,
String dataSource,
String sessionFactory,
String txManager,
boolean cacheEnabled,
boolean jsonEnabled,
List<EntityColumn> pkList,
List<EntityColumn> regularColList,
List<EntityColumn> blobList,
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
NAME_ACCESSOR
public static final Accessor<Entity,String> NAME_ACCESSOR
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 uuidAccessor,
boolean localService,
boolean remoteService,
String persistenceClass,
String finderClass,
String dataSource,
String sessionFactory,
String txManager,
boolean cacheEnabled,
boolean jsonEnabled,
List<EntityColumn> pkList,
List<EntityColumn> regularColList,
List<EntityColumn> blobList,
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)
hasColumn
public static boolean hasColumn(String name,
String type,
List<EntityColumn> columnList)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getAlias
public String getAlias()
getBlobList
public List<EntityColumn> getBlobList()
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()
getFinderColumnsList
public List<EntityColumn> getFinderColumnsList()
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()
getPKClassName
public String getPKClassName()
getPKDBName
public String getPKDBName()
getPKList
public List<EntityColumn> getPKList()
getPKVarName
public String getPKVarName()
getPKVarNames
public String getPKVarNames()
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()
hasActionableDynamicQuery
public boolean hasActionableDynamicQuery()
hasArrayableOperator
public boolean hasArrayableOperator()
hasColumn
public boolean hasColumn(String name)
hasColumn
public boolean hasColumn(String name,
String type)
hasColumns
public boolean hasColumns()
hasCompoundPK
public boolean hasCompoundPK()
hasEagerBlobColumn
public boolean hasEagerBlobColumn()
hasFinderClass
public boolean hasFinderClass()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
hasLazyBlobColumn
public boolean hasLazyBlobColumn()
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()
hasUuidAccessor
public boolean hasUuidAccessor()
isAttachedModel
public boolean isAttachedModel()
isAuditedModel
public boolean isAuditedModel()
isCacheEnabled
public boolean isCacheEnabled()
isDefaultDataSource
public boolean isDefaultDataSource()
isDefaultSessionFactory
public boolean isDefaultSessionFactory()
isDefaultTXManager
public boolean isDefaultTXManager()
isGroupedModel
public boolean isGroupedModel()
isHierarchicalTree
public boolean isHierarchicalTree()
isJsonEnabled
public boolean isJsonEnabled()
isOrdered
public boolean isOrdered()
isPermissionCheckEnabled
public boolean isPermissionCheckEnabled()
isPermissionCheckEnabled
public boolean isPermissionCheckEnabled(EntityFinder finder)
isPermissionedModel
public boolean isPermissionedModel()
isPortalReference
public boolean isPortalReference()
isResourcedModel
public boolean isResourcedModel()
isWorkflowEnabled
public boolean isWorkflowEnabled()
setParentTransients
public void setParentTransients(List<String> transients)
setPortalReference
public void setPortalReference(boolean portalReference)
setTransients
public void setTransients(List<String> transients)