Class ActionItem.Builder

java.lang.Object
org.kuali.rice.kew.api.action.ActionItem.Builder
All Implemented Interfaces:
Serializable, org.kuali.rice.core.api.mo.ModelBuilder, ActionItemContract
Enclosing class:
ActionItem

public static final class ActionItem.Builder extends Object implements Serializable, org.kuali.rice.core.api.mo.ModelBuilder, ActionItemContract
A builder which can be used to construct ActionItem instances. Enforces the constraints of the ActionItemContract.
See Also:
  • Method Details

    • create

      public static ActionItem.Builder create(String documentId, String actionRequestCd, String actionRequestId, org.joda.time.DateTime dateTimeAssigned, String docLabel, String docHanderlURL, String docName, String responsibilityId, String principalId)
    • create

      public static ActionItem.Builder create(ActionItemContract contract)
    • build

      public ActionItem build()
      Specified by:
      build in interface org.kuali.rice.core.api.mo.ModelBuilder
    • getId

      public String getId()
      Specified by:
      getId in interface ActionItemContract
    • 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
    • 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
    • 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
    • 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
    • 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
    • getDelegationType

      public org.kuali.rice.core.api.delegation.DelegationType getDelegationType()
      Specified by:
      getDelegationType in interface ActionItemContract
    • getGroupId

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

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

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

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

      public void setId(String id)
    • setDateTimeAssigned

      public void setDateTimeAssigned(org.joda.time.DateTime dateTimeAssigned)
    • setActionRequestCd

      public void setActionRequestCd(String actionRequestCd)
    • setActionRequestId

      public void setActionRequestId(String actionRequestId)
    • setDocumentId

      public void setDocumentId(String documentId)
    • setDocTitle

      public void setDocTitle(String docTitle)
    • setDocLabel

      public void setDocLabel(String docLabel)
    • setDocHandlerURL

      public void setDocHandlerURL(String docHandlerURL)
    • setDocName

      public void setDocName(String docName)
    • setResponsibilityId

      public void setResponsibilityId(String responsibilityId)
    • setRoleName

      public void setRoleName(String roleName)
    • setDateAssignedString

      @Deprecated public void setDateAssignedString(String dateAssignedString)
      Deprecated.
      dateAssignedString is never used
      This method has been deprecated and should not be called. If it is, then it will have no effect. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.
    • setActionToTake

      @Deprecated public void setActionToTake(String actionToTake)
      Deprecated.
      actionToTake is never used
      This method has been deprecated and should not be called. If it is, then it will have no effect. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.
    • setDelegationType

      public void setDelegationType(org.kuali.rice.core.api.delegation.DelegationType delegationType)
    • setActionItemIndex

      @Deprecated public void setActionItemIndex(Integer actionItemIndex)
      Deprecated.
      actionItemIndex is never used
      This method has been deprecated and should not be called. If it is, then it will have no effect. It was mistakenly added to this interface when it was created and has been left here for compatibility purposes.
    • setGroupId

      public void setGroupId(String groupId)
    • setPrincipalId

      public void setPrincipalId(String principalId)
    • setDelegatorGroupId

      public void setDelegatorGroupId(String delegatorGroupId)
    • setDelegatorPrincipalId

      public void setDelegatorPrincipalId(String delegatorPrincipalId)