Liferay 6.0.5

com.liferay.portal.tools.servicebuilder
Class Entity

java.lang.Object
  extended by com.liferay.portal.tools.servicebuilder.Entity

public class Entity
extends Object


Field Summary
static String DEFAULT_DATA_SOURCE
           
static String DEFAULT_SESSION_FACTORY
           
static String DEFAULT_TX_MANAGER
           
 
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)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAlias()
           
 List<EntityFinder> getCollectionFinderList()
           
 List<EntityColumn> getCollectionList()
           
 EntityColumn getColumn(String name)
           
static EntityColumn getColumn(String name, List<EntityColumn> columnList)
           
 EntityColumn getColumnByMappingTable(String mappingTable)
           
 List<EntityColumn> getColumnList()
           
 String getDataSource()
           
 EntityColumn getFilterPKColumn()
           
 String getFinderClass()
           
 List<EntityFinder> getFinderList()
           
 String getHumanName()
           
 String getHumanNames()
           
 String getName()
           
 String getNames()
           
 EntityOrder getOrder()
           
 String getPackagePath()
           
 List<String> getParentTransients()
           
 String getPersistenceClass()
           
 String getPKClassName()
           
 String getPKDBName()
           
 List<EntityColumn> getPKList()
           
 String getPKVarName()
           
 String getPortletName()
           
 String getPortletShortName()
           
 List<Entity> getReferenceList()
           
 List<EntityColumn> getRegularColList()
           
 String getSessionFactory()
           
 String getShortName()
           
 String getSpringPropertyName()
           
 String getTable()
           
 List<String> getTransients()
           
 String getTXManager()
           
 List<String> getTxRequiredList()
           
 List<EntityFinder> getUniqueFinderList()
           
 String getVarName()
           
 String getVarNames()
           
 boolean hasArrayableOperator()
           
 boolean hasColumn(String name)
           
static boolean hasColumn(String name, List<EntityColumn> columnList)
           
 boolean hasColumns()
           
 boolean hasCompoundPK()
           
 boolean hasFinderClass()
           
 int hashCode()
           
 boolean hasLocalizedColumn()
           
 boolean hasLocalService()
           
 boolean hasPrimitivePK()
           
 boolean hasPrimitivePK(boolean includeWrappers)
           
 boolean hasRemoteService()
           
 boolean hasUuid()
           
 boolean isCacheEnabled()
           
 boolean isDefaultDataSource()
           
 boolean isDefaultSessionFactory()
           
 boolean isDefaultTXManager()
           
 boolean isHierarchicalTree()
           
 boolean isOrdered()
           
 boolean isPermissionCheckEnabled()
           
 boolean isPermissionCheckEnabled(EntityFinder finder)
           
 boolean isPortalReference()
           
 boolean isWorkflowEnabled()
           
 void setParentTransients(List<String> transients)
           
 void setPortalReference(boolean portalReference)
           
 void setTransients(List<String> transients)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

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)

Liferay 6.0.5