Liferay 6.0-ee

com.liferay.portal.model
Class WorkflowDefinitionLinkWrapper

java.lang.Object
  extended by com.liferay.portal.model.WorkflowDefinitionLinkWrapper
All Implemented Interfaces:
BaseModel<WorkflowDefinitionLink>, WorkflowDefinitionLink, WorkflowDefinitionLinkModel, Serializable, Cloneable, Comparable<WorkflowDefinitionLink>

public class WorkflowDefinitionLinkWrapper
extends Object
implements WorkflowDefinitionLink

This class is a wrapper for WorkflowDefinitionLink.

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

Constructor Summary
WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
           
 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 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.
 WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 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 entity 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 java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowDefinitionLinkWrapper

public WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
Method Detail

getPrimaryKey

public long getPrimaryKey()
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)
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

getWorkflowDefinitionLinkId

public long getWorkflowDefinitionLinkId()
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)
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()
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)
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

getCompanyId

public long getCompanyId()
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)
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

getUserId

public long getUserId()
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)
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
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)
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()
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)
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()
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)
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()
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)
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()
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()
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)
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

getWorkflowDefinitionName

public String getWorkflowDefinitionName()
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)
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()
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)
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

isNew

public boolean isNew()
Description copied from interface: BaseModel
Determines if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<WorkflowDefinitionLink>
Specified by:
isNew in interface WorkflowDefinitionLinkModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<WorkflowDefinitionLink>
Specified by:
setNew in interface WorkflowDefinitionLinkModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Determines if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
isCachedModel in interface WorkflowDefinitionLinkModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
setCachedModel in interface WorkflowDefinitionLinkModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
isEscapedModel in interface WorkflowDefinitionLinkModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
setEscapedModel in interface WorkflowDefinitionLinkModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

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

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
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
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
Overrides:
clone in class Object
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>

hashCode

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

toEscapedModel

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

Specified by:
toEscapedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
toEscapedModel in interface WorkflowDefinitionLinkModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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

getWrappedWorkflowDefinitionLink

public WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()

Liferay 6.0-ee