Liferay 6.2-ce-ga5

com.liferay.portal.model
Class WorkflowDefinitionLinkWrapper

java.lang.Object
  extended by com.liferay.portal.model.WorkflowDefinitionLinkWrapper
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<WorkflowDefinitionLink>, ClassedModel, GroupedModel, ModelWrapper<WorkflowDefinitionLink>, PersistedModel, TypedModel, WorkflowDefinitionLink, WorkflowDefinitionLinkModel, Serializable, Cloneable, Comparable<WorkflowDefinitionLink>

@ProviderType
public class WorkflowDefinitionLinkWrapper
extends Object
implements WorkflowDefinitionLink, ModelWrapper<WorkflowDefinitionLink>

This class is a wrapper for WorkflowDefinitionLink.

See Also:
WorkflowDefinitionLink, Serialized Form

Constructor Summary
WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this workflow definition link.
 long getClassNameId()
          Returns the class name ID of this workflow definition link.
 long getClassPK()
          Returns the class p k of this workflow definition link.
 long getCompanyId()
          Returns the company ID of this workflow definition link.
 Date getCreateDate()
          Returns the create date of this workflow definition link.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this workflow definition link.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this workflow definition link.
 long getPrimaryKey()
          Returns the primary key of this workflow definition link.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 long getTypePK()
          Returns the type p k of this workflow definition link.
 long getUserId()
          Returns the user ID of this workflow definition link.
 String getUserName()
          Returns the user name of this workflow definition link.
 String getUserUuid()
          Returns the user uuid of this workflow definition link.
 long getWorkflowDefinitionLinkId()
          Returns the workflow definition link ID of this workflow definition link.
 String getWorkflowDefinitionName()
          Returns the workflow definition name of this workflow definition link.
 int getWorkflowDefinitionVersion()
          Returns the workflow definition version of this workflow definition link.
 WorkflowDefinitionLink getWrappedModel()
           
 WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 int hashCode()
           
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 void persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this workflow definition link.
 void setClassPK(long classPK)
          Sets the class p k 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(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setModelAttributes(Map<String,Object> attributes)
           
 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 primaryKey)
          Sets the primary key of this workflow definition link.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setTypePK(long typePK)
          Sets the type p k 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.
 CacheModel<WorkflowDefinitionLink> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 WorkflowDefinitionLink toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 WorkflowDefinitionLink toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorkflowDefinitionLinkWrapper

public WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
Method Detail

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<WorkflowDefinitionLink>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<WorkflowDefinitionLink>

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this workflow definition link.

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

getWorkflowDefinitionLinkId

public long getWorkflowDefinitionLinkId()
Returns 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()
Returns the group ID of this workflow definition link.

Specified by:
getGroupId in interface GroupedModel
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 GroupedModel
Specified by:
setGroupId in interface WorkflowDefinitionLinkModel
Parameters:
groupId - the group ID of this workflow definition link

getCompanyId

public long getCompanyId()
Returns the company ID of this workflow definition link.

Specified by:
getCompanyId in interface AuditedModel
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 AuditedModel
Specified by:
setCompanyId in interface WorkflowDefinitionLinkModel
Parameters:
companyId - the company ID of this workflow definition link

getUserId

public long getUserId()
Returns the user ID of this workflow definition link.

Specified by:
getUserId in interface AuditedModel
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 AuditedModel
Specified by:
setUserId in interface WorkflowDefinitionLinkModel
Parameters:
userId - the user ID of this workflow definition link

getUserUuid

public String getUserUuid()
                   throws SystemException
Returns the user uuid of this workflow definition link.

Specified by:
getUserUuid in interface AuditedModel
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 AuditedModel
Specified by:
setUserUuid in interface WorkflowDefinitionLinkModel
Parameters:
userUuid - the user uuid of this workflow definition link

getUserName

public String getUserName()
Returns the user name of this workflow definition link.

Specified by:
getUserName in interface AuditedModel
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 AuditedModel
Specified by:
setUserName in interface WorkflowDefinitionLinkModel
Parameters:
userName - the user name of this workflow definition link

getCreateDate

public Date getCreateDate()
Returns the create date of this workflow definition link.

Specified by:
getCreateDate in interface AuditedModel
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 AuditedModel
Specified by:
setCreateDate in interface WorkflowDefinitionLinkModel
Parameters:
createDate - the create date of this workflow definition link

getModifiedDate

public Date getModifiedDate()
Returns the modified date of this workflow definition link.

Specified by:
getModifiedDate in interface AuditedModel
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 AuditedModel
Specified by:
setModifiedDate in interface WorkflowDefinitionLinkModel
Parameters:
modifiedDate - the modified date of this workflow definition link

getClassName

public String getClassName()
Returns the fully qualified class name of this workflow definition link.

Specified by:
getClassName in interface TypedModel
Specified by:
getClassName in interface WorkflowDefinitionLinkModel
Returns:
the fully qualified class name of this workflow definition link

setClassName

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

getClassNameId

public long getClassNameId()
Returns the class name ID of this workflow definition link.

Specified by:
getClassNameId in interface TypedModel
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 TypedModel
Specified by:
setClassNameId in interface WorkflowDefinitionLinkModel
Parameters:
classNameId - the class name ID of this workflow definition link

getClassPK

public long getClassPK()
Returns the class p k of this workflow definition link.

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

setClassPK

public void setClassPK(long classPK)
Sets the class p k of this workflow definition link.

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

getTypePK

public long getTypePK()
Returns the type p k of this workflow definition link.

Specified by:
getTypePK in interface WorkflowDefinitionLinkModel
Returns:
the type p k of this workflow definition link

setTypePK

public void setTypePK(long typePK)
Sets the type p k of this workflow definition link.

Specified by:
setTypePK in interface WorkflowDefinitionLinkModel
Parameters:
typePK - the type p k of this workflow definition link

getWorkflowDefinitionName

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface WorkflowDefinitionLinkModel
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<WorkflowDefinitionLink>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface WorkflowDefinitionLinkModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<WorkflowDefinitionLink>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface WorkflowDefinitionLinkModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>
Specified by:
setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>
Specified by:
setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModel

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 be applied
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

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
toCacheModel in interface WorkflowDefinitionLinkModel
Returns:
the cache model object

toEscapedModel

public WorkflowDefinitionLink 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<WorkflowDefinitionLink>
Specified by:
toEscapedModel in interface WorkflowDefinitionLinkModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public WorkflowDefinitionLink toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<WorkflowDefinitionLink>
Specified by:
toUnescapedModel in interface WorkflowDefinitionLinkModel

toString

public String toString()
Specified by:
toString in interface WorkflowDefinitionLinkModel
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<WorkflowDefinitionLink>
Specified by:
toXmlString in interface WorkflowDefinitionLinkModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

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

getWrappedWorkflowDefinitionLink

public WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public WorkflowDefinitionLink getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<WorkflowDefinitionLink>

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<WorkflowDefinitionLink>

Liferay 6.2-ce-ga5