Skip navigation links


com.fatwire.services.beans.entity
Class AssignmentBean

java.lang.Object
  extended by com.fatwire.services.beans.BaseBean
      extended by com.fatwire.services.beans.entity.AssignmentBean

All Implemented Interfaces:
java.io.Serializable

public class AssignmentBean
extends BaseBean

The AssignmentBean is the value object used by the workflow related services. It represents an asset in a workflow assignment. It provides the following information:

.

See Also:
Serialized Form

Constructor Summary
AssignmentBean()
           

 

Method Summary
 AssetId getAsset()
          Returns the asset whose assignment state is represented by this bean.
 UserBean getAssigner()
          Returns the user who assigned this asset into the current step in the workflow.
 java.lang.String getComment()
          Returns the comment from the assigner from the previous step.
 java.util.Date getDueDate()
          Returns the due date by which this assignment is to be completed.
 java.lang.String getWorkflowState()
          Returns a workflow state in which an asset is currently in.
 java.lang.Boolean isDeadlocked()
          Returns true if the asset in context is in deadlock in the workflow.
 void setAsset(AssetId asset)
          Sets the asset whose assignment state is represented by this bean.
 void setAssigner(UserBean assigner)
          Sets the user who assigned this asset into the current step in the workflow.
 void setComment(java.lang.String comment)
          Sets the comment from the assigner from the previous step.
 void setDeadlocked(java.lang.Boolean deadlocked)
          Set to true if the asset in context is in deadlock in the workflow.
 void setDueDate(java.util.Date dueDate)
          Sets the due date by which this assignment is to be completed.
 void setWorkflowState(java.lang.String workflowState)
          Sets a workflow state in which an asset is currently in.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AssignmentBean

public AssignmentBean()

Method Detail

getAsset

public final AssetId getAsset()
Returns the asset whose assignment state is represented by this bean.
Returns:
the asset.

setAsset

public final void setAsset(AssetId asset)
Sets the asset whose assignment state is represented by this bean.
Parameters:
asset - the asset to set.

getWorkflowState

public final java.lang.String getWorkflowState()
Returns a workflow state in which an asset is currently in.
Returns:
a workflow state in which an asset is currently in.

setWorkflowState

public final void setWorkflowState(java.lang.String workflowState)
Sets a workflow state in which an asset is currently in.
Parameters:
workflowState - the workflow state to set.

getDueDate

public final java.util.Date getDueDate()
Returns the due date by which this assignment is to be completed.
Returns:
the due date.

setDueDate

public final void setDueDate(java.util.Date dueDate)
Sets the due date by which this assignment is to be completed.
Parameters:
dueDate - the due date to set for this assignment.

isDeadlocked

public final java.lang.Boolean isDeadlocked()
Returns true if the asset in context is in deadlock in the workflow.
Returns:
true if asset is in deadlock, false otherwise.

setDeadlocked

public final void setDeadlocked(java.lang.Boolean deadlocked)
Set to true if the asset in context is in deadlock in the workflow.
Parameters:
deadlocked - flag to indicate if the asset in context is in deadlock in the workflow. Set to true if it is in deadlock, false otherwise.

getAssigner

public final UserBean getAssigner()
Returns the user who assigned this asset into the current step in the workflow.
Returns:
the assigner user.

setAssigner

public final void setAssigner(UserBean assigner)
Sets the user who assigned this asset into the current step in the workflow.
Parameters:
assigner - the assigner user to set

getComment

public final java.lang.String getComment()
Returns the comment from the assigner from the previous step.
Returns:
the comment.

setComment

public final void setComment(java.lang.String comment)
Sets the comment from the assigner from the previous step.
Parameters:
comment - the comment to set.

Skip navigation links


Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.