Package org.kuali.rice.kew.api.action
Class ActionItem.Builder
java.lang.Object
org.kuali.rice.kew.api.action.ActionItem.Builder
- All Implemented Interfaces:
Serializable,ModelBuilder,ActionItemContract
- Enclosing class:
ActionItem
public static final class ActionItem.Builder
extends Object
implements Serializable, ModelBuilder, ActionItemContract
A builder which can be used to construct
ActionItem instances. Enforces the constraints of the ActionItemContract.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()static ActionItem.Buildercreate(String documentId, String actionRequestCd, String actionRequestId, org.joda.time.DateTime dateTimeAssigned, String docLabel, String docHanderlURL, String docName, String responsibilityId, String principalId) static ActionItem.Buildercreate(ActionItemContract contract) Deprecated.Deprecated.Deprecated.org.joda.time.DateTimegetId()voidsetActionItemIndex(Integer actionItemIndex) Deprecated.actionItemIndex is never usedvoidsetActionRequestCd(String actionRequestCd) voidsetActionRequestId(String actionRequestId) voidsetActionToTake(String actionToTake) Deprecated.actionToTake is never usedvoidsetDateAssignedString(String dateAssignedString) Deprecated.dateAssignedString is never usedvoidsetDateTimeAssigned(org.joda.time.DateTime dateTimeAssigned) voidsetDelegationType(DelegationType delegationType) voidsetDelegatorGroupId(String delegatorGroupId) voidsetDelegatorPrincipalId(String delegatorPrincipalId) voidsetDocHandlerURL(String docHandlerURL) voidsetDocLabel(String docLabel) voidsetDocName(String docName) voidsetDocTitle(String docTitle) voidsetDocumentId(String documentId) voidsetGroupId(String groupId) voidvoidsetPrincipalId(String principalId) voidsetResponsibilityId(String responsibilityId) voidsetRoleName(String roleName)
-
Method Details
-
create
-
create
-
build
- Specified by:
buildin interfaceModelBuilder
-
getId
- Specified by:
getIdin interfaceActionItemContract
-
getDateTimeAssigned
public org.joda.time.DateTime getDateTimeAssigned()- Specified by:
getDateTimeAssignedin interfaceActionItemContract
-
getActionRequestCd
- Specified by:
getActionRequestCdin interfaceActionItemContract
-
getActionRequestId
- Specified by:
getActionRequestIdin interfaceActionItemContract
-
getDocumentId
- Specified by:
getDocumentIdin interfaceActionItemContract
-
getDocTitle
- Specified by:
getDocTitlein interfaceActionItemContract
-
getDocLabel
- Specified by:
getDocLabelin interfaceActionItemContract
-
getDocHandlerURL
- Specified by:
getDocHandlerURLin interfaceActionItemContract
-
getDocName
- Specified by:
getDocNamein interfaceActionItemContract
-
getResponsibilityId
- Specified by:
getResponsibilityIdin interfaceActionItemContract
-
getRoleName
- Specified by:
getRoleNamein interfaceActionItemContract
-
getDateAssignedString
Deprecated.Description copied from interface:ActionItemContractThis 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:
getDateAssignedStringin interfaceActionItemContract- Returns:
- always returns null
-
getActionToTake
Deprecated.Description copied from interface:ActionItemContractThis 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:
getActionToTakein interfaceActionItemContract- Returns:
- always returns null
-
getActionItemIndex
Deprecated.Description copied from interface:ActionItemContractThis 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:
getActionItemIndexin interfaceActionItemContract- Returns:
- always returns null
-
getDelegationType
- Specified by:
getDelegationTypein interfaceActionItemContract
-
getGroupId
- Specified by:
getGroupIdin interfaceActionItemContract
-
getPrincipalId
- Specified by:
getPrincipalIdin interfaceActionItemContract
-
getDelegatorGroupId
- Specified by:
getDelegatorGroupIdin interfaceActionItemContract
-
getDelegatorPrincipalId
- Specified by:
getDelegatorPrincipalIdin interfaceActionItemContract
-
setId
-
setDateTimeAssigned
public void setDateTimeAssigned(org.joda.time.DateTime dateTimeAssigned) -
setActionRequestCd
-
setActionRequestId
-
setDocumentId
-
setDocTitle
-
setDocLabel
-
setDocHandlerURL
-
setDocName
-
setResponsibilityId
-
setRoleName
-
setDateAssignedString
Deprecated.dateAssignedString is never usedThis 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.actionToTake is never usedThis 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
-
setActionItemIndex
Deprecated.actionItemIndex is never usedThis 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
-
setPrincipalId
-
setDelegatorGroupId
-
setDelegatorPrincipalId
-