Package org.kuali.rice.kew.api.doctype
Enum Class DocumentTypePolicy
- All Implemented Interfaces:
Serializable,Comparable<DocumentTypePolicy>,Constable,org.kuali.rice.core.api.mo.common.Coded
public enum DocumentTypePolicy
extends Enum<DocumentTypePolicy>
implements org.kuali.rice.core.api.mo.common.Coded
TODO...
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies whether to disallow super user approval on the final route nodeThis document type policy allows us to configure if the "Perform Post Processor Logic" for the super user action on action requests is displayed.determines how to handle the situation where the user has initiated an action but there is not a corresponding pending request.determines whether a document will go processed without any approval requests.FIXME: needs docsSpecifies target for document search URL buildingThe Document Status Policy determines whether the KEW Route Status or the Application Document Status (or both) are to be used for a specific document type.determines if the user that initiated a document must 'route' the document when it is in the initiated state.determines if the user that initiated a document must 'route' the document when it is in the initiated state.determines whether the document can be brought into a simulated route from the route log.Governs whether FYIs should be sent on *completed* (not pending) action requests when returning to a previous node (for use with Recall)Governs whether FYIs should be sent on *pending* (not completed) action requests when returning to a previous nodeSpecifies additional recipients of Recall notifications.Specifies list of prior actions taken for which a subsequent Recall action will be valid.Specifies whether to send acknowledgements on a super user disapprove actionSpecifies whether immediate emails should be suppressed after a superuser action is takenThis policy determines whether to use the internal KEW Super User document handler URL when opening a document from super user search. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentTypePolicygetCode()static DocumentTypePolicyReturns the enum constant of this class with the specified name.static DocumentTypePolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISAPPROVE
FIXME: needs docs -
USE_KEW_SUPERUSER_DOCHANDLER
This policy determines whether to use the internal KEW Super User document handler URL when opening a document from super user search. If set to false the client must implement a custom super user screen to be used when the doc handler URL has a post variable of the name defined byand a value ofinvalid reference
KewApiConstants#COMMAND_PARAMETER. The default is 'true'.invalid reference
KewApiConstants#SUPERUSER_COMMAND -
ALLOW_UNREQUESTED_ACTION
determines how to handle the situation where the user has initiated an action but there is not a corresponding pending request. This policy has a default of true. If set to false an exception should be thrown from ApproveAction, CompleteAction, AcknowledgeAction and ClearFYIAction classes when there does not exist a corresponding pending request for the user who is submitting the action. When set to false, this will result in one of the users getting an error message if 2 users attempt to submit the same action at the same time (this can happen in workgroup situtations). -
DEFAULT_APPROVE
determines whether a document will go processed without any approval requests. If a document has this policy set to false and doesn't generate and approval requests the document will be put in exception routing, which is the exception workgroup associated with the last route node or the workgroup defined in the 'defaultExceptionGroupName'. This policy if not defined in this or a parent document type defaults to true -
INITIATOR_MUST_ROUTE
determines if the user that initiated a document must 'route' the document when it is in the initiated state. Defaults to true. -
INITIATOR_MUST_SAVE
determines if the user that initiated a document must 'route' the document when it is in the initiated state. Defaults to true. -
INITIATOR_MUST_CANCEL
-
INITIATOR_MUST_BLANKET_APPROVE
-
LOOK_FUTURE
determines whether the document can be brought into a simulated route from the route log. A simulation of where the document would end up if it where routed to completion now. Defaults to false. determines if route log will show the look into the future link -
SEND_NOTIFICATION_ON_SU_APPROVE
-
SUPPORTS_QUICK_INITIATE
-
NOTIFY_ON_SAVE
-
DOCUMENT_STATUS_POLICY
The Document Status Policy determines whether the KEW Route Status or the Application Document Status (or both) are to be used for a specific document type. -
ALLOW_SU_POSTPROCESSOR_OVERRIDE
This document type policy allows us to configure if the "Perform Post Processor Logic" for the super user action on action requests is displayed. KULRICE-3584 -
FAIL_ON_INACTIVE_GROUP
-
ENROUTE_ERROR_SUPPRESSION
-
REGENERATE_ACTION_REQUESTS_ON_CHANGE
-
NOTIFY_PENDING_ON_RETURN
Governs whether FYIs should be sent on *pending* (not completed) action requests when returning to a previous node- Since:
- 2.1
-
NOTIFY_COMPLETED_ON_RETURN
Governs whether FYIs should be sent on *completed* (not pending) action requests when returning to a previous node (for use with Recall)- Since:
- 2.1
-
RECALL_NOTIFICATION
Specifies additional recipients of Recall notifications. This configuration is supplied as an additional recipients element in the document policy element, which conforms to the Rule:ResponsibilityIdentifiers group schema.- Since:
- 2.1
-
RECALL_VALID_ACTIONSTAKEN
Specifies list of prior actions taken for which a subsequent Recall action will be valid.- Since:
- 2.1
-
SEND_NOTIFICATION_ON_SU_DISAPPROVE
Specifies whether to send acknowledgements on a super user disapprove action- Since:
- 2.1
-
ALLOW_SU_FINAL_APPROVAL
Specifies whether to disallow super user approval on the final route node- Since:
- 2.1
-
SUPPRESS_IMMEDIATE_EMAILS_ON_SU_ACTION
Specifies whether immediate emails should be suppressed after a superuser action is taken- Since:
- 2.1.3
-
DOC_SEARCH_TARGET
Specifies target for document search URL building- Since:
- 2.5.0
-
SUPPRESS_ACKNOWLEDGEMENTS_ON_DISAPPROVE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
- Specified by:
getCodein interfaceorg.kuali.rice.core.api.mo.common.Coded
-
fromCode
-