org.kuali.rice.kew.actionitem
Class ActionItem

java.lang.Object
  extended by org.kuali.rice.kew.actionitem.ActionItem
All Implemented Interfaces:
Serializable, WorkflowPersistable, RowStyleable
Direct Known Subclasses:
ActionItemActionListExtension

@Sequence(name="KREW_ACTN_ITM_S",
          property="actionItemId")
public class ActionItem
extends Object
implements WorkflowPersistable, RowStyleable

This is the model for action items. These are displayed as the action list as well. Mapped to ActionItemService. NOTE: This object contains denormalized fields that have been copied from related ActionRequestValue and DocumentRouteHeaderValue objects for performance reasons. These should be preserved and their related objects should not be added to the OJB mapping as we do not want them loaded for each ActionItem object.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  Long actionItemId
           
private  Integer actionItemIndex
           
private  String actionRequestCd
           
private  Long actionRequestId
           
private  String actionToTake
           
private  Map customActions
           
private  Timestamp dateAssigned
           
private  String dateAssignedString
           
private  String delegationType
           
private  String delegatorGroupId
           
private  String delegatorWorkflowId
           
private  String docHandlerURL
           
private  String docLabel
           
private  String docName
           
private  String docTitle
           
private  String groupId
           
private  Timestamp lastApprovedDate
           
private  Integer lockVerNbr
           
private  String principalId
           
private  String requestLabel
           
private  Long responsibilityId
           
private  String roleName
           
private  DocumentRouteHeaderValue routeHeader
           
private  Long routeHeaderId
           
private  String rowStyleClass
           
private static long serialVersionUID
           
 
Constructor Summary
ActionItem()
           
 
Method Summary
 void beforeInsert()
           
 Object copy(boolean preserveKeys)
           
 Long getActionItemId()
           
 Integer getActionItemIndex()
           
 String getActionRequestCd()
           
 Long getActionRequestId()
           
 String getActionRequestLabel()
           
 String getActionToTake()
           
 Map getCustomActions()
           
 Timestamp getDateAssigned()
           
 String getDateAssignedString()
           
 String getDelegationType()
           
 String getDelegatorGroupId()
           
 Person getDelegatorPerson()
           
 String getDelegatorWorkflowId()
           
 String getDocHandlerURL()
           
 String getDocLabel()
           
 String getDocName()
           
 String getDocTitle()
           
 Group getGroup()
           
private  Group getGroup(String groupId)
           
 String getGroupId()
           
 Timestamp getLastApprovedDate()
           
 Integer getLockVerNbr()
           
 Person getPerson()
           
private  Person getPerson(String workflowId)
           
 KimPrincipal getPrincipal()
           
 String getPrincipalId()
           
 String getRecipientTypeCode()
           
 String getRequestLabel()
           
 Long getResponsibilityId()
           
 String getRoleName()
           
 DocumentRouteHeaderValue getRouteHeader()
          Deprecated. as of Rice 1.0.1 (KULRICE-1652), Use getRouteHeaderId() instead.
 Long getRouteHeaderId()
           
 String getRowStyleClass()
           
 boolean isWorkgroupItem()
           
 void setActionItemId(Long actionItemId)
           
 void setActionItemIndex(Integer actionItemIndex)
           
 void setActionRequestCd(String actionRequestCd)
           
 void setActionRequestId(Long actionRequestId)
           
 void setActionToTake(String actionToTake)
           
 void setCustomActions(Map customActions)
           
 void setDateAssigned(Timestamp dateAssigned)
           
 void setDateAssignedString(String dateAssignedString)
           
 void setDelegationType(String delegationType)
           
 void setDelegatorGroupId(String delegatorGroupId)
           
 void setDelegatorWorkflowId(String delegatorWorkflowId)
           
 void setDocHandlerURL(String docHandlerURL)
           
 void setDocLabel(String docLabel)
           
 void setDocName(String docName)
           
 void setDocTitle(String docTitle)
           
 void setGroupId(String groupId)
           
 void setLastApprovedDate(Timestamp lastApprovedDate)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setPrincipalId(String principalId)
           
 void setRequestLabel(String requestLabel)
           
 void setResponsibilityId(Long responsibilityId)
           
 void setRoleName(String roleName)
           
 void setRouteHeader(DocumentRouteHeaderValue routeHeader)
          Deprecated. as of Rice 1.0.1 (KULRICE-1652), Use setRouteHeaderId(Long) instead.
 void setRouteHeaderId(Long routeHeaderId)
           
 void setRowStyleClass(String rowStyleClass)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

actionItemId

private Long actionItemId

principalId

private String principalId

dateAssigned

private Timestamp dateAssigned

actionRequestCd

private String actionRequestCd

actionRequestId

private Long actionRequestId

routeHeaderId

private Long routeHeaderId

groupId

private String groupId

docTitle

private String docTitle

docLabel

private String docLabel

docHandlerURL

private String docHandlerURL

lockVerNbr

private Integer lockVerNbr

docName

private String docName

responsibilityId

private Long responsibilityId

roleName

private String roleName

delegatorWorkflowId

private String delegatorWorkflowId

delegatorGroupId

private String delegatorGroupId

delegationType

private String delegationType

requestLabel

private String requestLabel

routeHeader

private transient DocumentRouteHeaderValue routeHeader

lastApprovedDate

private Timestamp lastApprovedDate

actionItemIndex

private Integer actionItemIndex

customActions

private Map customActions

dateAssignedString

private String dateAssignedString

actionToTake

private String actionToTake

rowStyleClass

private String rowStyleClass
Constructor Detail

ActionItem

public ActionItem()
Method Detail

beforeInsert

public void beforeInsert()

getActionItemId

public Long getActionItemId()

getPrincipalId

public String getPrincipalId()

getDateAssigned

public Timestamp getDateAssigned()

getActionRequestCd

public String getActionRequestCd()

getActionRequestId

public Long getActionRequestId()

getRouteHeaderId

public Long getRouteHeaderId()

getGroupId

public String getGroupId()

getDocTitle

public String getDocTitle()

getDocLabel

public String getDocLabel()

getDocHandlerURL

public String getDocHandlerURL()

getLockVerNbr

public Integer getLockVerNbr()

getDocName

public String getDocName()

getResponsibilityId

public Long getResponsibilityId()

getRoleName

public String getRoleName()

getDelegatorWorkflowId

public String getDelegatorWorkflowId()

getDelegatorGroupId

public String getDelegatorGroupId()

getDelegationType

public String getDelegationType()

getRequestLabel

public String getRequestLabel()

getRouteHeader

@Deprecated
public DocumentRouteHeaderValue getRouteHeader()
Deprecated. as of Rice 1.0.1 (KULRICE-1652), Use getRouteHeaderId() instead.


getLastApprovedDate

public Timestamp getLastApprovedDate()

getActionItemIndex

public Integer getActionItemIndex()

getCustomActions

public Map getCustomActions()

getDateAssignedString

public String getDateAssignedString()

getActionToTake

public String getActionToTake()

getRowStyleClass

public String getRowStyleClass()
Specified by:
getRowStyleClass in interface RowStyleable

getGroup

private Group getGroup(String groupId)

getGroup

public Group getGroup()

getPerson

private Person getPerson(String workflowId)

getPerson

public Person getPerson()

getDelegatorPerson

public Person getDelegatorPerson()

getRecipientTypeCode

public String getRecipientTypeCode()

getActionRequestLabel

public String getActionRequestLabel()

isWorkgroupItem

public boolean isWorkgroupItem()

getPrincipal

public KimPrincipal getPrincipal()

copy

public Object copy(boolean preserveKeys)
Specified by:
copy in interface WorkflowPersistable

setRowStyleClass

public void setRowStyleClass(String rowStyleClass)
Specified by:
setRowStyleClass in interface RowStyleable

setResponsibilityId

public void setResponsibilityId(Long responsibilityId)

setDocName

public void setDocName(String docName)

setRouteHeader

@Deprecated
public void setRouteHeader(DocumentRouteHeaderValue routeHeader)
Deprecated. as of Rice 1.0.1 (KULRICE-1652), Use setRouteHeaderId(Long) instead.


setActionRequestCd

public void setActionRequestCd(String actionRequestCd)

setDateAssigned

public void setDateAssigned(Timestamp dateAssigned)

setPrincipalId

public void setPrincipalId(String principalId)

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)

setRouteHeaderId

public void setRouteHeaderId(Long routeHeaderId)

setActionItemId

public void setActionItemId(Long actionItemId)

setActionRequestId

public void setActionRequestId(Long actionRequestId)

setDocHandlerURL

public void setDocHandlerURL(String docHandlerURL)

setGroupId

public void setGroupId(String groupId)

setDocLabel

public void setDocLabel(String docLabel)

setDocTitle

public void setDocTitle(String docTitle)

setRoleName

public void setRoleName(String roleName)

setDelegatorWorkflowId

public void setDelegatorWorkflowId(String delegatorWorkflowId)

setDelegatorGroupId

public void setDelegatorGroupId(String delegatorGroupId)

setDateAssignedString

public void setDateAssignedString(String dateAssignedString)

setActionToTake

public void setActionToTake(String actionToTake)

setActionItemIndex

public void setActionItemIndex(Integer actionItemIndex)

setCustomActions

public void setCustomActions(Map customActions)

setDelegationType

public void setDelegationType(String delegationType)

setLastApprovedDate

public void setLastApprovedDate(Timestamp lastApprovedDate)

setRequestLabel

public void setRequestLabel(String requestLabel)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.