Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class WorkflowInstanceLinkModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<WorkflowInstanceLink>
      extended by com.liferay.portal.model.impl.WorkflowInstanceLinkModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<WorkflowInstanceLink>, ClassedModel, GroupedModel, WorkflowInstanceLinkModel, Serializable, Cloneable, Comparable<WorkflowInstanceLink>
Direct Known Subclasses:
WorkflowInstanceLinkBaseImpl

public class WorkflowInstanceLinkModelImpl
extends BaseModelImpl<WorkflowInstanceLink>
implements WorkflowInstanceLinkModel

The base model implementation for the WorkflowInstanceLink service. Represents a row in the "WorkflowInstanceLink" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface WorkflowInstanceLinkModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in WorkflowInstanceLinkImpl.

See Also:
WorkflowInstanceLinkImpl, WorkflowInstanceLink, WorkflowInstanceLinkModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
WorkflowInstanceLinkModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(WorkflowInstanceLink workflowInstanceLink)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this workflow instance link.
 long getClassNameId()
          Returns the class name ID of this workflow instance link.
 long getClassPK()
          Returns the class p k of this workflow instance link.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this workflow instance link.
 Date getCreateDate()
          Returns the create date of this workflow instance link.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this workflow instance link.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this workflow instance link.
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getPrimaryKey()
          Returns the primary key of this workflow instance link.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getUserId()
          Returns the user ID of this workflow instance link.
 String getUserName()
          Returns the user name of this workflow instance link.
 String getUserUuid()
          Returns the user uuid of this workflow instance link.
 long getWorkflowInstanceId()
          Returns the workflow instance ID of this workflow instance link.
 long getWorkflowInstanceLinkId()
          Returns the workflow instance link ID of this workflow instance link.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this workflow instance link.
 void setClassPK(long classPK)
          Sets the class p k of this workflow instance link.
 void setCompanyId(long companyId)
          Sets the company ID of this workflow instance link.
 void setCreateDate(Date createDate)
          Sets the create date of this workflow instance link.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this workflow instance link.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this workflow instance link.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this workflow instance link.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setUserId(long userId)
          Sets the user ID of this workflow instance link.
 void setUserName(String userName)
          Sets the user name of this workflow instance link.
 void setUserUuid(String userUuid)
          Sets the user uuid of this workflow instance link.
 void setWorkflowInstanceId(long workflowInstanceId)
          Sets the workflow instance ID of this workflow instance link.
 void setWorkflowInstanceLinkId(long workflowInstanceLinkId)
          Sets the workflow instance link ID of this workflow instance link.
 CacheModel<WorkflowInstanceLink> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 WorkflowInstanceLink toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 WorkflowInstanceLink toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.WorkflowInstanceLinkModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

WorkflowInstanceLinkModelImpl

public WorkflowInstanceLinkModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: WorkflowInstanceLinkModel
Returns the primary key of this workflow instance link.

Specified by:
getPrimaryKey in interface WorkflowInstanceLinkModel
Returns:
the primary key of this workflow instance link

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: WorkflowInstanceLinkModel
Sets the primary key of this workflow instance link.

Specified by:
setPrimaryKey in interface WorkflowInstanceLinkModel
Parameters:
primaryKey - the primary key of this workflow instance link

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<WorkflowInstanceLink>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface WorkflowInstanceLinkModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<WorkflowInstanceLink>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface WorkflowInstanceLinkModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<WorkflowInstanceLink>
Overrides:
getModelAttributes in class BaseModelImpl<WorkflowInstanceLink>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<WorkflowInstanceLink>
Overrides:
setModelAttributes in class BaseModelImpl<WorkflowInstanceLink>

getWorkflowInstanceLinkId

public long getWorkflowInstanceLinkId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the workflow instance link ID of this workflow instance link.

Specified by:
getWorkflowInstanceLinkId in interface WorkflowInstanceLinkModel
Returns:
the workflow instance link ID of this workflow instance link

setWorkflowInstanceLinkId

public void setWorkflowInstanceLinkId(long workflowInstanceLinkId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the workflow instance link ID of this workflow instance link.

Specified by:
setWorkflowInstanceLinkId in interface WorkflowInstanceLinkModel
Parameters:
workflowInstanceLinkId - the workflow instance link ID of this workflow instance link

getGroupId

public long getGroupId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the group ID of this workflow instance link.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface WorkflowInstanceLinkModel
Returns:
the group ID of this workflow instance link

setGroupId

public void setGroupId(long groupId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the group ID of this workflow instance link.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface WorkflowInstanceLinkModel
Parameters:
groupId - the group ID of this workflow instance link

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the company ID of this workflow instance link.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface WorkflowInstanceLinkModel
Returns:
the company ID of this workflow instance link

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the company ID of this workflow instance link.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface WorkflowInstanceLinkModel
Parameters:
companyId - the company ID of this workflow instance link

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the user ID of this workflow instance link.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface WorkflowInstanceLinkModel
Returns:
the user ID of this workflow instance link

setUserId

public void setUserId(long userId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the user ID of this workflow instance link.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface WorkflowInstanceLinkModel
Parameters:
userId - the user ID of this workflow instance link

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: WorkflowInstanceLinkModel
Returns the user uuid of this workflow instance link.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface WorkflowInstanceLinkModel
Returns:
the user uuid of this workflow instance link
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: WorkflowInstanceLinkModel
Sets the user uuid of this workflow instance link.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface WorkflowInstanceLinkModel
Parameters:
userUuid - the user uuid of this workflow instance link

getUserName

public String getUserName()
Description copied from interface: WorkflowInstanceLinkModel
Returns the user name of this workflow instance link.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface WorkflowInstanceLinkModel
Returns:
the user name of this workflow instance link

setUserName

public void setUserName(String userName)
Description copied from interface: WorkflowInstanceLinkModel
Sets the user name of this workflow instance link.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface WorkflowInstanceLinkModel
Parameters:
userName - the user name of this workflow instance link

getCreateDate

public Date getCreateDate()
Description copied from interface: WorkflowInstanceLinkModel
Returns the create date of this workflow instance link.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface WorkflowInstanceLinkModel
Returns:
the create date of this workflow instance link

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: WorkflowInstanceLinkModel
Sets the create date of this workflow instance link.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface WorkflowInstanceLinkModel
Parameters:
createDate - the create date of this workflow instance link

getModifiedDate

public Date getModifiedDate()
Description copied from interface: WorkflowInstanceLinkModel
Returns the modified date of this workflow instance link.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface WorkflowInstanceLinkModel
Returns:
the modified date of this workflow instance link

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: WorkflowInstanceLinkModel
Sets the modified date of this workflow instance link.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface WorkflowInstanceLinkModel
Parameters:
modifiedDate - the modified date of this workflow instance link

getClassName

public String getClassName()
Description copied from interface: WorkflowInstanceLinkModel
Returns the fully qualified class name of this workflow instance link.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface WorkflowInstanceLinkModel
Returns:
the fully qualified class name of this workflow instance link

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface WorkflowInstanceLinkModel

getClassNameId

public long getClassNameId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the class name ID of this workflow instance link.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface WorkflowInstanceLinkModel
Returns:
the class name ID of this workflow instance link

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the class name ID of this workflow instance link.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface WorkflowInstanceLinkModel
Parameters:
classNameId - the class name ID of this workflow instance link

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

public long getClassPK()
Description copied from interface: WorkflowInstanceLinkModel
Returns the class p k of this workflow instance link.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface WorkflowInstanceLinkModel
Returns:
the class p k of this workflow instance link

setClassPK

public void setClassPK(long classPK)
Description copied from interface: WorkflowInstanceLinkModel
Sets the class p k of this workflow instance link.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface WorkflowInstanceLinkModel
Parameters:
classPK - the class p k of this workflow instance link

getOriginalClassPK

public long getOriginalClassPK()

getWorkflowInstanceId

public long getWorkflowInstanceId()
Description copied from interface: WorkflowInstanceLinkModel
Returns the workflow instance ID of this workflow instance link.

Specified by:
getWorkflowInstanceId in interface WorkflowInstanceLinkModel
Returns:
the workflow instance ID of this workflow instance link

setWorkflowInstanceId

public void setWorkflowInstanceId(long workflowInstanceId)
Description copied from interface: WorkflowInstanceLinkModel
Sets the workflow instance ID of this workflow instance link.

Specified by:
setWorkflowInstanceId in interface WorkflowInstanceLinkModel
Parameters:
workflowInstanceId - the workflow instance ID of this workflow instance link

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<WorkflowInstanceLink>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface WorkflowInstanceLinkModel
Overrides:
getExpandoBridge in class BaseModelImpl<WorkflowInstanceLink>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<WorkflowInstanceLink>
Specified by:
setExpandoBridgeAttributes in interface WorkflowInstanceLinkModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<WorkflowInstanceLink>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public WorkflowInstanceLink toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<WorkflowInstanceLink>
Specified by:
toEscapedModel in interface WorkflowInstanceLinkModel
Overrides:
toEscapedModel in class BaseModelImpl<WorkflowInstanceLink>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public WorkflowInstanceLink toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<WorkflowInstanceLink>
Specified by:
toUnescapedModel in interface WorkflowInstanceLinkModel
Overrides:
toUnescapedModel in class BaseModelImpl<WorkflowInstanceLink>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<WorkflowInstanceLink>
Specified by:
clone in interface WorkflowInstanceLinkModel
Specified by:
clone in class BaseModelImpl<WorkflowInstanceLink>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(WorkflowInstanceLink workflowInstanceLink)
Specified by:
compareTo in interface WorkflowInstanceLinkModel
Specified by:
compareTo in interface Comparable<WorkflowInstanceLink>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface WorkflowInstanceLinkModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<WorkflowInstanceLink>
Overrides:
resetOriginalValues in class BaseModelImpl<WorkflowInstanceLink>

toCacheModel

public CacheModel<WorkflowInstanceLink> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<WorkflowInstanceLink>
Specified by:
toCacheModel in interface WorkflowInstanceLinkModel
Overrides:
toCacheModel in class BaseModelImpl<WorkflowInstanceLink>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface WorkflowInstanceLinkModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<WorkflowInstanceLink>
Specified by:
toXmlString in interface WorkflowInstanceLinkModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3