@StableMinor(version="12.3", sinceVersion="4.2") public class ContentWorkflowMetaData extends Object implements Cloneable
Constructor and Description |
---|
ContentWorkflowMetaData() |
Modifier and Type | Method and Description |
---|---|
ContentWorkflowMetaData |
clone()
Returns a clone of this ContentWorkflowMetaData instance.
|
String |
getAssignedTo()
Returns the principal identifier to which the content is assigned to.
|
PrincipalConfig |
getAssignedToPrincipal()
Utility method that returns the
PrincipalConfig in current transaction that corresponds to the
getAssignedTo() stored in this ContentWorkflowMetaData. |
ContentLocale |
getContentLocale()
Utility method that returns the
ContentLocale in current transaction that corresponds to the
getContentLocaleId() stored in this ContentWorkflowMetaData. |
String |
getContentLocaleId()
The identifier of the
ContentLocale this workflow metadata
belongs to. |
String |
getMetaDataId()
Deprecated.
Since 4.2.0, replaced by
getContentLocaleId() . |
WorkflowStateConfig |
getState()
Utility method that returns the
WorkflowStateConfig that corresponds to the getContentLocaleId()
and getStateId() stored in this ContentWorkflowMetaData, based on the current transaction. |
String |
getStateId()
Returns the identifier of the workflow state the content is currently in.
|
String |
getWorkflowMetaDataId()
Returns the identifier of this workflow metadata.
|
void |
setAssignedTo(String assignedTo)
Sets the principal identifier to which the content is assigned to.
|
void |
setContentLocaleId(String contentLocaleId)
Sets the
ContentLocale this workflow metadata
belongs to. |
void |
setMetaDataId(String metaDataId)
Deprecated.
Since 4.2.0, replaced by
setContentLocaleId(String) . |
void |
setStateId(String stateId)
Sets the workflow state the content is currently in.
|
void |
setWorkflowMetaDataId(String workflowMetaDataId)
Sets the identifier for this workflow metadata.
|
public String getContentLocaleId()
ContentLocale
this workflow metadata
belongs to.public void setContentLocaleId(String contentLocaleId)
ContentLocale
this workflow metadata
belongs to.contentLocaleId
- the content locale identifier.public String getMetaDataId()
getContentLocaleId()
.MetaDataConfig
@Deprecated public void setMetaDataId(String metaDataId)
setContentLocaleId(String)
.metaDataId
- the metadata identifier.getContentLocaleId()
public String getWorkflowMetaDataId()
public void setWorkflowMetaDataId(String workflowMetaDataId)
workflowMetaDataId
- the identifier to set.public String getAssignedTo()
null
if the content is not assigned to any principal.null
if the content is not assigned to any principal.public void setAssignedTo(String assignedTo)
assignedTo
- the principal identifier, or null
to leave
the content unassigned.public String getStateId()
public void setStateId(String stateId)
stateId
- the workflow state's identifier.public ContentLocale getContentLocale()
ContentLocale
in current transaction that corresponds to the
getContentLocaleId()
stored in this ContentWorkflowMetaData.ContentLocale
instance or, null
if getContentLocaleId()
is null
.public WorkflowStateConfig getState()
WorkflowStateConfig
that corresponds to the getContentLocaleId()
and getStateId()
stored in this ContentWorkflowMetaData, based on the current transaction.WorkflowStateConfig
instance, or null
if getStateId()
is null
.public PrincipalConfig getAssignedToPrincipal()
PrincipalConfig
in current transaction that corresponds to the
getAssignedTo()
stored in this ContentWorkflowMetaData.PrincipalConfig
instance, or null
if getAssignedTo()
is null
.public ContentWorkflowMetaData clone()
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.