|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.WorkflowDefinitionLinkWrapper
public class WorkflowDefinitionLinkWrapper
This class is a wrapper for WorkflowDefinitionLink.
WorkflowDefinitionLink,
Serialized Form| 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()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Gets the group ID of this workflow definition link. |
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Gets the modified date of this workflow definition link. |
long |
getPrimaryKey()
Gets the primary key of this workflow definition link. |
Serializable |
getPrimaryKeyObj()
Returns 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()
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 |
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 primaryKey)
Sets the primary key of this workflow definition link |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic long getPrimaryKey()
getPrimaryKey in interface WorkflowDefinitionLinkModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface WorkflowDefinitionLinkModelprimaryKey - the primary key of this workflow definition linkpublic long getWorkflowDefinitionLinkId()
getWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModelpublic void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
setWorkflowDefinitionLinkId in interface WorkflowDefinitionLinkModelworkflowDefinitionLinkId - the workflow definition link ID of this workflow definition linkpublic long getGroupId()
getGroupId in interface GroupedModelgetGroupId in interface WorkflowDefinitionLinkModelpublic void setGroupId(long groupId)
setGroupId in interface GroupedModelsetGroupId in interface WorkflowDefinitionLinkModelgroupId - the group ID of this workflow definition linkpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface WorkflowDefinitionLinkModelpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface WorkflowDefinitionLinkModelcompanyId - the company ID of this workflow definition linkpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface WorkflowDefinitionLinkModelpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface WorkflowDefinitionLinkModeluserId - the user ID of this workflow definition link
public String getUserUuid()
throws SystemException
getUserUuid in interface AuditedModelgetUserUuid in interface WorkflowDefinitionLinkModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface WorkflowDefinitionLinkModeluserUuid - the user uuid of this workflow definition linkpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface WorkflowDefinitionLinkModelpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface WorkflowDefinitionLinkModeluserName - the user name of this workflow definition linkpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface WorkflowDefinitionLinkModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface WorkflowDefinitionLinkModelcreateDate - the create date of this workflow definition linkpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface WorkflowDefinitionLinkModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface WorkflowDefinitionLinkModelmodifiedDate - the modified date of this workflow definition linkpublic String getClassName()
getClassName in interface WorkflowDefinitionLinkModelpublic long getClassNameId()
getClassNameId in interface WorkflowDefinitionLinkModelpublic void setClassNameId(long classNameId)
setClassNameId in interface WorkflowDefinitionLinkModelclassNameId - the class name ID of this workflow definition linkpublic String getWorkflowDefinitionName()
getWorkflowDefinitionName in interface WorkflowDefinitionLinkModelpublic void setWorkflowDefinitionName(String workflowDefinitionName)
setWorkflowDefinitionName in interface WorkflowDefinitionLinkModelworkflowDefinitionName - the workflow definition name of this workflow definition linkpublic int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModelpublic void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
setWorkflowDefinitionVersion in interface WorkflowDefinitionLinkModelworkflowDefinitionVersion - the workflow definition version of this workflow definition linkpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<WorkflowDefinitionLink>isNew in interface WorkflowDefinitionLinkModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<WorkflowDefinitionLink>setNew in interface WorkflowDefinitionLinkModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<WorkflowDefinitionLink>isCachedModel in interface WorkflowDefinitionLinkModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<WorkflowDefinitionLink>setCachedModel in interface WorkflowDefinitionLinkModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<WorkflowDefinitionLink>isEscapedModel in interface WorkflowDefinitionLinkModeltrue if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<WorkflowDefinitionLink>setEscapedModel in interface WorkflowDefinitionLinkModelescapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface WorkflowDefinitionLinkModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<WorkflowDefinitionLink>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface WorkflowDefinitionLinkModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<WorkflowDefinitionLink>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface WorkflowDefinitionLinkModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<WorkflowDefinitionLink>setExpandoBridgeAttributes in interface WorkflowDefinitionLinkModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<WorkflowDefinitionLink>clone in interface WorkflowDefinitionLinkModelclone in class Objectpublic int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
compareTo in interface WorkflowDefinitionLinkModelcompareTo in interface Comparable<WorkflowDefinitionLink>public int hashCode()
hashCode in interface WorkflowDefinitionLinkModelhashCode in class Objectpublic CacheModel<WorkflowDefinitionLink> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<WorkflowDefinitionLink>toCacheModel in interface WorkflowDefinitionLinkModelpublic WorkflowDefinitionLink toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<WorkflowDefinitionLink>toEscapedModel in interface WorkflowDefinitionLinkModelAutoEscapeBeanHandlerpublic String toString()
toString in interface WorkflowDefinitionLinkModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<WorkflowDefinitionLink>toXmlString in interface WorkflowDefinitionLinkModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()
public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<WorkflowDefinitionLink>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||