public final class RequestedActions extends AbstractDataTransferObject
Modifier and Type | Method and Description |
---|---|
boolean |
contains(ActionRequestType actionRequestType)
Returns true if this set of requested actions contains the given action request type.
|
static RequestedActions |
create(boolean completeRequested,
boolean approveRequested,
boolean acknowledgeRequested,
boolean fyiRequested) |
Set<ActionRequestType> |
getRequestedActions()
Returns a Set of
ActionRequestType s which indicate the actions which have been requested. |
boolean |
isAcknowledgeRequested() |
boolean |
isApproveRequested() |
boolean |
isCompleteRequested() |
boolean |
isFyiRequested() |
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
public static RequestedActions create(boolean completeRequested, boolean approveRequested, boolean acknowledgeRequested, boolean fyiRequested)
public boolean isCompleteRequested()
public boolean isApproveRequested()
public boolean isAcknowledgeRequested()
public boolean isFyiRequested()
public Set<ActionRequestType> getRequestedActions()
ActionRequestType
s which indicate the actions which have been requested. This will
essentially contain request types for any of the request-related methods on this class which return "true". If
no actions are requested, the empty set will be returned (this method will never return null).public boolean contains(ActionRequestType actionRequestType)
actionRequestType
- the ActionRequestType
to check for, can't be nullIllegalArgumentException
- if actionRequestType is nullCopyright © 2005–2016 The Kuali Foundation. All rights reserved.