lumis.content.workflow
Class ContentWorkflowMetaData

Package class diagram package ContentWorkflowMetaData
java.lang.Object
  extended by lumis.content.workflow.ContentWorkflowMetaData

public class ContentWorkflowMetaData
extends Object

Value class for a content's workflow metadata.

Since:
4.0.0

Constructor Summary
ContentWorkflowMetaData()
           
 
Method Summary
 String getAssignedTo()
          Returns the principal identifier to which the content is assigned to.
 String getContentLocaleId()
          The identifier of the ContentLocale this workflow metadata belongs to.
 String getMetaDataId()
          Deprecated. Since 4.2.0, replaced by getContentLocaleId().
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentWorkflowMetaData

public ContentWorkflowMetaData()
Method Detail

getContentLocaleId

public String getContentLocaleId()
The identifier of the ContentLocale this workflow metadata belongs to.

Returns:
the content locale identifier.
Since:
4.2.0

setContentLocaleId

public void setContentLocaleId(String contentLocaleId)
Sets the ContentLocale this workflow metadata belongs to.

Parameters:
contentLocaleId - the content locale identifier.
Since:
4.2.0

getMetaDataId

public String getMetaDataId()
Deprecated. Since 4.2.0, replaced by getContentLocaleId().

The metadata identifier.

Returns:
the metadata identifier.
See Also:
MetaDataConfig

setMetaDataId

@Deprecated
public void setMetaDataId(String metaDataId)
Deprecated. Since 4.2.0, replaced by setContentLocaleId(String).

Sets the metadata identifier.

Parameters:
metaDataId - the metadata identifier.
See Also:
getContentLocaleId()

getWorkflowMetaDataId

public String getWorkflowMetaDataId()
Returns the identifier of this workflow metadata.

Returns:
the identifier of this workflow metadata.

setWorkflowMetaDataId

public void setWorkflowMetaDataId(String workflowMetaDataId)
Sets the identifier for this workflow metadata.

Parameters:
workflowMetaDataId - the identifier to set.

getAssignedTo

public String getAssignedTo()
Returns the principal identifier to which the content is assigned to. Returns null if the content is not assigned to any principal.

Returns:
the principal identifier to which the content is assigned to, or null if the content is not assigned to any principal.

setAssignedTo

public void setAssignedTo(String assignedTo)
Sets the principal identifier to which the content is assigned to.

Parameters:
assignedTo - the principal identifier, or null to leave the content unassigned.

getStateId

public String getStateId()
Returns the identifier of the workflow state the content is currently in.

Returns:
the identifier of the workflow state the content is currently in.

setStateId

public void setStateId(String stateId)
Sets the workflow state the content is currently in.

Parameters:
stateId - the workflow state's identifier.


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.