org.kuali.rice.kew.actionitem
Class ActionItem

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

@Entity
public class ActionItem
extends Object
implements ActionItemContract, RowStyleable, Serializable

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

Constructor Summary
ActionItem()
           
 
Method Summary
 void beforeInsert()
           
 Integer getActionItemIndex()
           
 String getActionRequestCd()
           
 String getActionRequestId()
           
 String getActionRequestLabel()
           
 String getActionToTake()
           
 Map getCustomActions()
           
 Timestamp getDateAssigned()
           
 String getDateAssignedString()
           
 org.joda.time.DateTime getDateTimeAssigned()
           
 DelegationType getDelegationType()
           
 String getDelegatorGroupId()
           
 Person getDelegatorPerson()
           
 String getDelegatorPrincipalId()
           
 String getDocHandlerURL()
           
 String getDocLabel()
           
 String getDocName()
           
 String getDocTitle()
           
 String getDocumentId()
           
 Group getGroup()
           
 String getGroupId()
           
 String getId()
           
 Timestamp getLastApprovedDate()
           
 Integer getLockVerNbr()
           
 Person getPerson()
           
 Principal getPrincipal()
           
 String getPrincipalId()
           
 String getRecipientTypeCode()
           
 String getRequestLabel()
           
 String getResponsibilityId()
           
 String getRoleName()
           
 String getRowStyleClass()
           
 boolean isWorkgroupItem()
           
 void setActionItemIndex(Integer actionItemIndex)
           
 void setActionRequestCd(String actionRequestCd)
           
 void setActionRequestId(String actionRequestId)
           
 void setActionToTake(String actionToTake)
           
 void setCustomActions(Map customActions)
           
 void setDateAssigned(Timestamp dateAssigned)
           
 void setDateAssignedString(String dateAssignedString)
           
 void setDelegationType(DelegationType delegationType)
           
 void setDelegatorGroupId(String delegatorGroupId)
           
 void setDelegatorPrincipalId(String delegatorPrincipalId)
           
 void setDocHandlerURL(String docHandlerURL)
           
 void setDocLabel(String docLabel)
           
 void setDocName(String docName)
           
 void setDocTitle(String docTitle)
           
 void setDocumentId(String documentId)
           
 void setGroupId(String groupId)
           
 void setId(String id)
           
 void setLastApprovedDate(Timestamp lastApprovedDate)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setPrincipalId(String principalId)
           
 void setRequestLabel(String requestLabel)
           
 void setResponsibilityId(String responsibilityId)
           
 void setRoleName(String roleName)
           
 void setRowStyleClass(String rowStyleClass)
           
static ActionItem to(ActionItem bo)
           
static List<ActionItem> to(Collection<ActionItem> bos)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionItem

public ActionItem()
Method Detail

beforeInsert

public void beforeInsert()

getId

public String getId()
Specified by:
getId in interface ActionItemContract

getPrincipalId

public String getPrincipalId()
Specified by:
getPrincipalId in interface ActionItemContract

getDateAssigned

public Timestamp getDateAssigned()

getDateTimeAssigned

public org.joda.time.DateTime getDateTimeAssigned()
Specified by:
getDateTimeAssigned in interface ActionItemContract

getActionRequestCd

public String getActionRequestCd()
Specified by:
getActionRequestCd in interface ActionItemContract

getActionRequestId

public String getActionRequestId()
Specified by:
getActionRequestId in interface ActionItemContract

getDocumentId

public String getDocumentId()
Specified by:
getDocumentId in interface ActionItemContract

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface ActionItemContract

getDocTitle

public String getDocTitle()
Specified by:
getDocTitle in interface ActionItemContract

getDocLabel

public String getDocLabel()
Specified by:
getDocLabel in interface ActionItemContract

getDocHandlerURL

public String getDocHandlerURL()
Specified by:
getDocHandlerURL in interface ActionItemContract

getLockVerNbr

public Integer getLockVerNbr()

getDocName

public String getDocName()
Specified by:
getDocName in interface ActionItemContract

getResponsibilityId

public String getResponsibilityId()
Specified by:
getResponsibilityId in interface ActionItemContract

getRoleName

public String getRoleName()
Specified by:
getRoleName in interface ActionItemContract

getDelegatorPrincipalId

public String getDelegatorPrincipalId()
Specified by:
getDelegatorPrincipalId in interface ActionItemContract

getDelegatorGroupId

public String getDelegatorGroupId()
Specified by:
getDelegatorGroupId in interface ActionItemContract

getDelegationType

public DelegationType getDelegationType()
Specified by:
getDelegationType in interface ActionItemContract

getRequestLabel

public String getRequestLabel()

getLastApprovedDate

public Timestamp getLastApprovedDate()

getActionItemIndex

public Integer getActionItemIndex()
Specified by:
getActionItemIndex in interface ActionItemContract

getCustomActions

public Map getCustomActions()

getDateAssignedString

public String getDateAssignedString()
Specified by:
getDateAssignedString in interface ActionItemContract

getActionToTake

public String getActionToTake()
Specified by:
getActionToTake in interface ActionItemContract

getRowStyleClass

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

getGroup

public Group getGroup()

getPerson

public Person getPerson()

getDelegatorPerson

public Person getDelegatorPerson()

getRecipientTypeCode

public String getRecipientTypeCode()

getActionRequestLabel

public String getActionRequestLabel()

isWorkgroupItem

public boolean isWorkgroupItem()

getPrincipal

public Principal getPrincipal()

setRowStyleClass

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

setResponsibilityId

public void setResponsibilityId(String responsibilityId)

setDocName

public void setDocName(String docName)

setActionRequestCd

public void setActionRequestCd(String actionRequestCd)

setDateAssigned

public void setDateAssigned(Timestamp dateAssigned)

setPrincipalId

public void setPrincipalId(String principalId)

setLockVerNbr

public void setLockVerNbr(Integer lockVerNbr)

setDocumentId

public void setDocumentId(String documentId)

setId

public void setId(String id)

setActionRequestId

public void setActionRequestId(String 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)

setDelegatorPrincipalId

public void setDelegatorPrincipalId(String delegatorPrincipalId)

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(DelegationType delegationType)

setLastApprovedDate

public void setLastApprovedDate(Timestamp lastApprovedDate)

setRequestLabel

public void setRequestLabel(String requestLabel)

toString

public String toString()
Overrides:
toString in class Object

to

public static ActionItem to(ActionItem bo)

to

public static List<ActionItem> to(Collection<ActionItem> bos)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.