org.kuali.rice.kew.actionitem
Class ActionItem

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

@Entity
public class ActionItem
extends Object
implements ActionItemContract, 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()
          Deprecated. 
 String getActionRequestCd()
           
 String getActionRequestId()
           
 String getActionRequestLabel()
           
 String getActionToTake()
          Deprecated. 
 Timestamp getDateAssigned()
           
 String getDateAssignedString()
          Deprecated. 
 String getDateAssignedStringValue()
           
 org.joda.time.DateTime getDateTimeAssigned()
           
 DelegationType getDelegationType()
           
 String getDelegatorGroupId()
           
 String getDelegatorPrincipalId()
           
 String getDocHandlerURL()
           
 String getDocLabel()
           
 String getDocName()
           
 String getDocTitle()
           
 String getDocumentId()
           
 Group getGroup()
           
 String getGroupId()
           
 String getId()
           
 Principal getPrincipal()
           
 String getPrincipalId()
           
 String getRecipientTypeCode()
           
 String getRequestLabel()
           
 String getResponsibilityId()
           
 String getRoleName()
           
 boolean isWorkgroupItem()
           
 void setActionRequestCd(String actionRequestCd)
           
 void setActionRequestId(String actionRequestId)
           
 void setDateAssigned(Timestamp dateAssigned)
           
 void setDateAssignedStringValue(String dateAssignedStringValue)
           
 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 setPrincipalId(String principalId)
           
 void setRequestLabel(String requestLabel)
           
 void setResponsibilityId(String responsibilityId)
           
 void setRoleName(String roleName)
           
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()

getActionToTake

@Deprecated
public String getActionToTake()
Deprecated. 

Description copied from interface: ActionItemContract
This method should never be called, has been deprecated, and will always return null. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.

Specified by:
getActionToTake in interface ActionItemContract
Returns:
always returns null

getDateAssignedString

@Deprecated
public String getDateAssignedString()
Deprecated. 

Description copied from interface: ActionItemContract
This method should never be called, has been deprecated, and will always return null. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.

Specified by:
getDateAssignedString in interface ActionItemContract
Returns:
always returns null

getDateAssignedStringValue

public String getDateAssignedStringValue()

setDateAssignedStringValue

public void setDateAssignedStringValue(String dateAssignedStringValue)

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

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

getGroup

public Group getGroup()

getRecipientTypeCode

public String getRecipientTypeCode()

getActionRequestLabel

public String getActionRequestLabel()

isWorkgroupItem

public boolean isWorkgroupItem()

getPrincipal

public Principal getPrincipal()

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)

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)

setDelegationType

public void setDelegationType(DelegationType delegationType)

setRequestLabel

public void setRequestLabel(String requestLabel)

getActionItemIndex

@Deprecated
public Integer getActionItemIndex()
Deprecated. 

Description copied from interface: ActionItemContract
This method should never be called, has been deprecated, and will always return null. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.

Specified by:
getActionItemIndex in interface ActionItemContract
Returns:
always returns null

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.