Liferay 6.0.5

com.liferay.portal.model.impl
Class WorkflowDefinitionLinkModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<WorkflowDefinitionLink>
      extended by com.liferay.portal.model.impl.WorkflowDefinitionLinkModelImpl
All Implemented Interfaces:
BaseModel<WorkflowDefinitionLink>, WorkflowDefinitionLinkModel, Serializable, Cloneable, Comparable<WorkflowDefinitionLink>
Direct Known Subclasses:
WorkflowDefinitionLinkImpl

public class WorkflowDefinitionLinkModelImpl
extends BaseModelImpl<WorkflowDefinitionLink>
implements WorkflowDefinitionLinkModel

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

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

Never modify or reference this class directly. All methods that expect a workflow definition link model instance should use the WorkflowDefinitionLink interface instead.

See Also:
WorkflowDefinitionLinkImpl, WorkflowDefinitionLink, WorkflowDefinitionLinkModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
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
WorkflowDefinitionLinkModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
           
 boolean equals(Object obj)
           
 String getClassName()
          Gets the class name of the model instance this workflow definition link is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this workflow definition link.
 long getCompanyId()
          Gets the company id of this workflow definition link.
 Date getCreateDate()
          Gets the create date of this workflow definition link.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this workflow definition link.
 Date getModifiedDate()
          Gets the modified date of this workflow definition link.
 long getOriginalClassNameId()
           
 long getOriginalCompanyId()
           
 long getOriginalGroupId()
           
 long getPrimaryKey()
          Gets the primary key of this workflow definition link.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 long getUserId()
          Gets the user id of this workflow definition link.
 String getUserName()
          Gets the user name of this workflow definition link.
 String getUserUuid()
          Gets the user uuid of this workflow definition link.
 long getWorkflowDefinitionLinkId()
          Gets the workflow definition link id of this workflow definition link.
 String getWorkflowDefinitionName()
          Gets the workflow definition name of this workflow definition link.
 int getWorkflowDefinitionVersion()
          Gets the workflow definition version of this workflow definition link.
 int hashCode()
           
 void setClassNameId(long classNameId)
          Sets the class name id of this workflow definition link.
 void setCompanyId(long companyId)
          Sets the company id of this workflow definition link.
 void setCreateDate(Date createDate)
          Sets the create date of this workflow definition 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 definition link.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this workflow definition link.
 void setPrimaryKey(long pk)
          Sets the primary key of this workflow definition link
 void setUserId(long userId)
          Sets the user id of this workflow definition link.
 void setUserName(String userName)
          Sets the user name of this workflow definition link.
 void setUserUuid(String userUuid)
          Sets the user uuid of this workflow definition link.
 void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
          Sets the workflow definition link id of this workflow definition link.
 void setWorkflowDefinitionName(String workflowDefinitionName)
          Sets the workflow definition name of this workflow definition link.
 void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
          Sets the workflow definition version of this workflow definition link.
 WorkflowDefinitionLink toEscapedModel()
          Gets a copy of this workflow definition link as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.WorkflowDefinitionLinkModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

WorkflowDefinitionLinkModelImpl

public WorkflowDefinitionLinkModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the primary key of this workflow definition link.

Specified by:
getPrimaryKey in interface WorkflowDefinitionLinkModel
Returns:
the primary key of this workflow definition link

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the primary key of this workflow definition link

Specified by:
setPrimaryKey in interface WorkflowDefinitionLinkModel
Parameters:
pk - the primary key of this workflow definition link

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>
Specified by:
getPrimaryKeyObj in interface WorkflowDefinitionLinkModel
Returns:
the primary key of this model instance

getWorkflowDefinitionLinkId

public long getWorkflowDefinitionLinkId()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the workflow definition link id of this workflow definition link.

Specified by:
getWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModel
Returns:
the workflow definition link id of this workflow definition link

setWorkflowDefinitionLinkId

public void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the workflow definition link id of this workflow definition link.

Specified by:
setWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModel
Parameters:
workflowDefinitionLinkId - the workflow definition link id of this workflow definition link

getGroupId

public long getGroupId()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the group id of this workflow definition link.

Specified by:
getGroupId in interface WorkflowDefinitionLinkModel
Returns:
the group id of this workflow definition link

setGroupId

public void setGroupId(long groupId)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the group id of this workflow definition link.

Specified by:
setGroupId in interface WorkflowDefinitionLinkModel
Parameters:
groupId - the group id of this workflow definition link

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the company id of this workflow definition link.

Specified by:
getCompanyId in interface WorkflowDefinitionLinkModel
Returns:
the company id of this workflow definition link

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the company id of this workflow definition link.

Specified by:
setCompanyId in interface WorkflowDefinitionLinkModel
Parameters:
companyId - the company id of this workflow definition link

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

public long getUserId()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the user id of this workflow definition link.

Specified by:
getUserId in interface WorkflowDefinitionLinkModel
Returns:
the user id of this workflow definition link

setUserId

public void setUserId(long userId)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the user id of this workflow definition link.

Specified by:
setUserId in interface WorkflowDefinitionLinkModel
Parameters:
userId - the user id of this workflow definition link

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: WorkflowDefinitionLinkModel
Gets the user uuid of this workflow definition link.

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

setUserUuid

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

Specified by:
setUserUuid in interface WorkflowDefinitionLinkModel
Parameters:
userUuid - the user uuid of this workflow definition link

getUserName

public String getUserName()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the user name of this workflow definition link.

Specified by:
getUserName in interface WorkflowDefinitionLinkModel
Returns:
the user name of this workflow definition link

setUserName

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

Specified by:
setUserName in interface WorkflowDefinitionLinkModel
Parameters:
userName - the user name of this workflow definition link

getCreateDate

public Date getCreateDate()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the create date of this workflow definition link.

Specified by:
getCreateDate in interface WorkflowDefinitionLinkModel
Returns:
the create date of this workflow definition link

setCreateDate

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

Specified by:
setCreateDate in interface WorkflowDefinitionLinkModel
Parameters:
createDate - the create date of this workflow definition link

getModifiedDate

public Date getModifiedDate()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the modified date of this workflow definition link.

Specified by:
getModifiedDate in interface WorkflowDefinitionLinkModel
Returns:
the modified date of this workflow definition link

setModifiedDate

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

Specified by:
setModifiedDate in interface WorkflowDefinitionLinkModel
Parameters:
modifiedDate - the modified date of this workflow definition link

getClassName

public String getClassName()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the class name of the model instance this workflow definition link is polymorphically associated with.

Specified by:
getClassName in interface WorkflowDefinitionLinkModel
Returns:
the class name of the model instance this workflow definition link is polymorphically associated with

getClassNameId

public long getClassNameId()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the class name id of this workflow definition link.

Specified by:
getClassNameId in interface WorkflowDefinitionLinkModel
Returns:
the class name id of this workflow definition link

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the class name id of this workflow definition link.

Specified by:
setClassNameId in interface WorkflowDefinitionLinkModel
Parameters:
classNameId - the class name id of this workflow definition link

getOriginalClassNameId

public long getOriginalClassNameId()

getWorkflowDefinitionName

public String getWorkflowDefinitionName()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the workflow definition name of this workflow definition link.

Specified by:
getWorkflowDefinitionName in interface WorkflowDefinitionLinkModel
Returns:
the workflow definition name of this workflow definition link

setWorkflowDefinitionName

public void setWorkflowDefinitionName(String workflowDefinitionName)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the workflow definition name of this workflow definition link.

Specified by:
setWorkflowDefinitionName in interface WorkflowDefinitionLinkModel
Parameters:
workflowDefinitionName - the workflow definition name of this workflow definition link

getWorkflowDefinitionVersion

public int getWorkflowDefinitionVersion()
Description copied from interface: WorkflowDefinitionLinkModel
Gets the workflow definition version of this workflow definition link.

Specified by:
getWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModel
Returns:
the workflow definition version of this workflow definition link

setWorkflowDefinitionVersion

public void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
Description copied from interface: WorkflowDefinitionLinkModel
Sets the workflow definition version of this workflow definition link.

Specified by:
setWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModel
Parameters:
workflowDefinitionVersion - the workflow definition version of this workflow definition link

toEscapedModel

public WorkflowDefinitionLink toEscapedModel()
Description copied from interface: WorkflowDefinitionLinkModel
Gets a copy of this workflow definition link as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface WorkflowDefinitionLinkModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<WorkflowDefinitionLink>
Specified by:
getExpandoBridge in interface WorkflowDefinitionLinkModel
Overrides:
getExpandoBridge in class BaseModelImpl<WorkflowDefinitionLink>
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<WorkflowDefinitionLink>
Specified by:
setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<WorkflowDefinitionLink>
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

public int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
Specified by:
compareTo in interface WorkflowDefinitionLinkModel
Specified by:
compareTo in interface Comparable<WorkflowDefinitionLink>

equals

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

hashCode

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

toString

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

toXmlString

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

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

Liferay 6.0.5