Liferay 6.1.2-ce-ga3

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
           
static Accessor<Entity,String> NAME_ACCESSOR
           
 
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)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAlias()
           
 List<EntityColumn> getBlobList()
           
 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<EntityColumn> getFinderColumnsList()
           
 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 getPKVarNames()
           
 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 hasActionableDynamicQuery()
           
 boolean hasArrayableOperator()
           
 boolean hasColumn(String name)
           
static boolean hasColumn(String name, List<EntityColumn> columnList)
           
 boolean hasColumn(String name, String type)
           
static boolean hasColumn(String name, String type, List<EntityColumn> columnList)
           
 boolean hasColumns()
           
 boolean hasCompoundPK()
           
 boolean hasEagerBlobColumn()
           
 boolean hasFinderClass()
           
 int hashCode()
           
 boolean hasLazyBlobColumn()
           
 boolean hasLocalizedColumn()
           
 boolean hasLocalService()
           
 boolean hasPrimitivePK()
           
 boolean hasPrimitivePK(boolean includeWrappers)
           
 boolean hasRemoteService()
           
 boolean hasUuid()
           
 boolean hasUuidAccessor()
           
 boolean isAttachedModel()
           
 boolean isAuditedModel()
           
 boolean isCacheEnabled()
           
 boolean isDefaultDataSource()
           
 boolean isDefaultSessionFactory()
           
 boolean isDefaultTXManager()
           
 boolean isGroupedModel()
           
 boolean isHierarchicalTree()
           
 boolean isJsonEnabled()
           
 boolean isOrdered()
           
 boolean isPermissionCheckEnabled()
           
 boolean isPermissionCheckEnabled(EntityFinder finder)
           
 boolean isPermissionedModel()
           
 boolean isPortalReference()
           
 boolean isResourcedModel()
           
 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

NAME_ACCESSOR

public static final Accessor<Entity,String> NAME_ACCESSOR
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 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)
Method Detail

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)

Liferay 6.1.2-ce-ga3