|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.WorkflowInstanceLinkWrapper
public class WorkflowInstanceLinkWrapper
This class is a wrapper for WorkflowInstanceLink
.
WorkflowInstanceLink
,
Serialized FormConstructor Summary | |
---|---|
WorkflowInstanceLinkWrapper(WorkflowInstanceLink workflowInstanceLink)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(WorkflowInstanceLink workflowInstanceLink)
|
String |
getClassName()
Gets the class name of the model instance this workflow instance link is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this workflow instance link. |
long |
getClassPK()
Gets the class p k of this workflow instance link. |
long |
getCompanyId()
Gets the company id of this workflow instance link. |
Date |
getCreateDate()
Gets the create date of this workflow instance link. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this workflow instance link. |
Date |
getModifiedDate()
Gets the modified date of this workflow instance link. |
long |
getPrimaryKey()
Gets the primary key of this workflow instance link. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this workflow instance link. |
String |
getUserName()
Gets the user name of this workflow instance link. |
String |
getUserUuid()
Gets the user uuid of this workflow instance link. |
long |
getWorkflowInstanceId()
Gets the workflow instance id of this workflow instance link. |
long |
getWorkflowInstanceLinkId()
Gets the workflow instance link id of this workflow instance link. |
WorkflowInstanceLink |
getWrappedWorkflowInstanceLink()
|
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 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 |
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 instance link. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this workflow instance 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 instance link |
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. |
WorkflowInstanceLink |
toEscapedModel()
Gets a copy of this workflow instance 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 java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorkflowInstanceLinkWrapper(WorkflowInstanceLink workflowInstanceLink)
Method Detail |
---|
public long getPrimaryKey()
WorkflowInstanceLinkModel
getPrimaryKey
in interface WorkflowInstanceLinkModel
public void setPrimaryKey(long pk)
WorkflowInstanceLinkModel
setPrimaryKey
in interface WorkflowInstanceLinkModel
pk
- the primary key of this workflow instance linkpublic long getWorkflowInstanceLinkId()
WorkflowInstanceLinkModel
getWorkflowInstanceLinkId
in interface WorkflowInstanceLinkModel
public void setWorkflowInstanceLinkId(long workflowInstanceLinkId)
WorkflowInstanceLinkModel
setWorkflowInstanceLinkId
in interface WorkflowInstanceLinkModel
workflowInstanceLinkId
- the workflow instance link id of this workflow instance linkpublic long getGroupId()
WorkflowInstanceLinkModel
getGroupId
in interface WorkflowInstanceLinkModel
public void setGroupId(long groupId)
WorkflowInstanceLinkModel
setGroupId
in interface WorkflowInstanceLinkModel
groupId
- the group id of this workflow instance linkpublic long getCompanyId()
WorkflowInstanceLinkModel
getCompanyId
in interface WorkflowInstanceLinkModel
public void setCompanyId(long companyId)
WorkflowInstanceLinkModel
setCompanyId
in interface WorkflowInstanceLinkModel
companyId
- the company id of this workflow instance linkpublic long getUserId()
WorkflowInstanceLinkModel
getUserId
in interface WorkflowInstanceLinkModel
public void setUserId(long userId)
WorkflowInstanceLinkModel
setUserId
in interface WorkflowInstanceLinkModel
userId
- the user id of this workflow instance linkpublic String getUserUuid() throws SystemException
WorkflowInstanceLinkModel
getUserUuid
in interface WorkflowInstanceLinkModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
WorkflowInstanceLinkModel
setUserUuid
in interface WorkflowInstanceLinkModel
userUuid
- the user uuid of this workflow instance linkpublic String getUserName()
WorkflowInstanceLinkModel
getUserName
in interface WorkflowInstanceLinkModel
public void setUserName(String userName)
WorkflowInstanceLinkModel
setUserName
in interface WorkflowInstanceLinkModel
userName
- the user name of this workflow instance linkpublic Date getCreateDate()
WorkflowInstanceLinkModel
getCreateDate
in interface WorkflowInstanceLinkModel
public void setCreateDate(Date createDate)
WorkflowInstanceLinkModel
setCreateDate
in interface WorkflowInstanceLinkModel
createDate
- the create date of this workflow instance linkpublic Date getModifiedDate()
WorkflowInstanceLinkModel
getModifiedDate
in interface WorkflowInstanceLinkModel
public void setModifiedDate(Date modifiedDate)
WorkflowInstanceLinkModel
setModifiedDate
in interface WorkflowInstanceLinkModel
modifiedDate
- the modified date of this workflow instance linkpublic String getClassName()
WorkflowInstanceLinkModel
getClassName
in interface WorkflowInstanceLinkModel
public long getClassNameId()
WorkflowInstanceLinkModel
getClassNameId
in interface WorkflowInstanceLinkModel
public void setClassNameId(long classNameId)
WorkflowInstanceLinkModel
setClassNameId
in interface WorkflowInstanceLinkModel
classNameId
- the class name id of this workflow instance linkpublic long getClassPK()
WorkflowInstanceLinkModel
getClassPK
in interface WorkflowInstanceLinkModel
public void setClassPK(long classPK)
WorkflowInstanceLinkModel
setClassPK
in interface WorkflowInstanceLinkModel
classPK
- the class p k of this workflow instance linkpublic long getWorkflowInstanceId()
WorkflowInstanceLinkModel
getWorkflowInstanceId
in interface WorkflowInstanceLinkModel
public void setWorkflowInstanceId(long workflowInstanceId)
WorkflowInstanceLinkModel
setWorkflowInstanceId
in interface WorkflowInstanceLinkModel
workflowInstanceId
- the workflow instance id of this workflow instance linkpublic WorkflowInstanceLink toEscapedModel()
WorkflowInstanceLinkModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface WorkflowInstanceLinkModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<WorkflowInstanceLink>
isNew
in interface WorkflowInstanceLinkModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<WorkflowInstanceLink>
setNew
in interface WorkflowInstanceLinkModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<WorkflowInstanceLink>
isCachedModel
in interface WorkflowInstanceLinkModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<WorkflowInstanceLink>
setCachedModel
in interface WorkflowInstanceLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<WorkflowInstanceLink>
isEscapedModel
in interface WorkflowInstanceLinkModel
true
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<WorkflowInstanceLink>
setEscapedModel
in interface WorkflowInstanceLinkModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WorkflowInstanceLink>
getPrimaryKeyObj
in interface WorkflowInstanceLinkModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WorkflowInstanceLink>
getExpandoBridge
in interface WorkflowInstanceLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WorkflowInstanceLink>
setExpandoBridgeAttributes
in interface WorkflowInstanceLinkModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WorkflowInstanceLink>
clone
in interface WorkflowInstanceLinkModel
clone
in class Object
public int compareTo(WorkflowInstanceLink workflowInstanceLink)
compareTo
in interface WorkflowInstanceLinkModel
compareTo
in interface Comparable<WorkflowInstanceLink>
public int hashCode()
hashCode
in interface WorkflowInstanceLinkModel
hashCode
in class Object
public String toString()
toString
in interface WorkflowInstanceLinkModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WorkflowInstanceLink>
toXmlString
in interface WorkflowInstanceLinkModel
public WorkflowInstanceLink getWrappedWorkflowInstanceLink()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |