|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.WorkflowDefinitionLinkWrapper
@ProviderType public class WorkflowDefinitionLinkWrapper
This class is a wrapper for WorkflowDefinitionLink
.
WorkflowDefinitionLink
,
Serialized FormConstructor 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 |
---|
public WorkflowDefinitionLinkWrapper(WorkflowDefinitionLink workflowDefinitionLink)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<WorkflowDefinitionLink>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<WorkflowDefinitionLink>
public long getPrimaryKey()
getPrimaryKey
in interface WorkflowDefinitionLinkModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface WorkflowDefinitionLinkModel
primaryKey
- the primary key of this workflow definition linkpublic long getWorkflowDefinitionLinkId()
getWorkflowDefinitionLinkId
in interface WorkflowDefinitionLinkModel
public void setWorkflowDefinitionLinkId(long workflowDefinitionLinkId)
setWorkflowDefinitionLinkId
in interface WorkflowDefinitionLinkModel
workflowDefinitionLinkId
- the workflow definition link ID of this workflow definition linkpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface WorkflowDefinitionLinkModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface WorkflowDefinitionLinkModel
groupId
- the group ID of this workflow definition linkpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface WorkflowDefinitionLinkModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface WorkflowDefinitionLinkModel
companyId
- the company ID of this workflow definition linkpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface WorkflowDefinitionLinkModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface WorkflowDefinitionLinkModel
userId
- the user ID of this workflow definition linkpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface WorkflowDefinitionLinkModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface WorkflowDefinitionLinkModel
userUuid
- the user uuid of this workflow definition linkpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface WorkflowDefinitionLinkModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface WorkflowDefinitionLinkModel
userName
- the user name of this workflow definition linkpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface WorkflowDefinitionLinkModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface WorkflowDefinitionLinkModel
createDate
- the create date of this workflow definition linkpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface WorkflowDefinitionLinkModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface WorkflowDefinitionLinkModel
modifiedDate
- the modified date of this workflow definition linkpublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface WorkflowDefinitionLinkModel
public void setClassName(String className)
setClassName
in interface WorkflowDefinitionLinkModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface WorkflowDefinitionLinkModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface WorkflowDefinitionLinkModel
classNameId
- the class name ID of this workflow definition linkpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface WorkflowDefinitionLinkModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface WorkflowDefinitionLinkModel
classPK
- the class p k of this workflow definition linkpublic long getTypePK()
getTypePK
in interface WorkflowDefinitionLinkModel
public void setTypePK(long typePK)
setTypePK
in interface WorkflowDefinitionLinkModel
typePK
- the type p k of this workflow definition linkpublic String getWorkflowDefinitionName()
getWorkflowDefinitionName
in interface WorkflowDefinitionLinkModel
public void setWorkflowDefinitionName(String workflowDefinitionName)
setWorkflowDefinitionName
in interface WorkflowDefinitionLinkModel
workflowDefinitionName
- the workflow definition name of this workflow definition linkpublic int getWorkflowDefinitionVersion()
getWorkflowDefinitionVersion
in interface WorkflowDefinitionLinkModel
public void setWorkflowDefinitionVersion(int workflowDefinitionVersion)
setWorkflowDefinitionVersion
in interface WorkflowDefinitionLinkModel
workflowDefinitionVersion
- the workflow definition version of this workflow definition linkpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<WorkflowDefinitionLink>
isNew
in interface WorkflowDefinitionLinkModel
true
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 WorkflowDefinitionLinkModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<WorkflowDefinitionLink>
isCachedModel
in interface WorkflowDefinitionLinkModel
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<WorkflowDefinitionLink>
setCachedModel
in interface WorkflowDefinitionLinkModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<WorkflowDefinitionLink>
isEscapedModel
in interface WorkflowDefinitionLinkModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<WorkflowDefinitionLink>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface WorkflowDefinitionLinkModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<WorkflowDefinitionLink>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface WorkflowDefinitionLinkModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<WorkflowDefinitionLink>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface WorkflowDefinitionLinkModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<WorkflowDefinitionLink>
setExpandoBridgeAttributes
in interface WorkflowDefinitionLinkModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<WorkflowDefinitionLink>
clone
in interface WorkflowDefinitionLinkModel
clone
in class Object
public int compareTo(WorkflowDefinitionLink workflowDefinitionLink)
compareTo
in interface WorkflowDefinitionLinkModel
compareTo
in interface Comparable<WorkflowDefinitionLink>
public int hashCode()
hashCode
in interface WorkflowDefinitionLinkModel
hashCode
in class Object
public CacheModel<WorkflowDefinitionLink> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<WorkflowDefinitionLink>
toCacheModel
in interface WorkflowDefinitionLinkModel
public WorkflowDefinitionLink toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<WorkflowDefinitionLink>
toEscapedModel
in interface WorkflowDefinitionLinkModel
AutoEscapeBeanHandler
public WorkflowDefinitionLink toUnescapedModel()
toUnescapedModel
in interface BaseModel<WorkflowDefinitionLink>
toUnescapedModel
in interface WorkflowDefinitionLinkModel
public String toString()
toString
in interface WorkflowDefinitionLinkModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<WorkflowDefinitionLink>
toXmlString
in interface WorkflowDefinitionLinkModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public WorkflowDefinitionLink getWrappedWorkflowDefinitionLink()
getWrappedModel()
public WorkflowDefinitionLink getWrappedModel()
getWrappedModel
in interface ModelWrapper<WorkflowDefinitionLink>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<WorkflowDefinitionLink>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |