|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KualiWorkflowDocument
Method Summary | |
---|---|
void |
acknowledge(String annotation)
|
void |
addAttributeDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO attributeDefinition)
Adds an attribute definition which defines creation parameters for a WorkflowAttribute implementation. |
void |
addSearchableDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO searchableDefinition)
Adds a searchable attribute definition which defines creation parameters for a SearchableAttribute implementation. |
void |
adHocRouteDocumentToGroup(String actionRequested,
String routeTypeName,
String annotation,
String groupId,
String responsibilityDesc,
boolean forceAction)
|
void |
adHocRouteDocumentToGroup(String actionRequested,
String routeTypeName,
String annotation,
String groupId,
String responsibilityDesc,
boolean forceAction,
String actionRequestLabel)
|
void |
adHocRouteDocumentToPrincipal(String actionRequested,
String routeTypeName,
String annotation,
String principalId,
String responsibilityDesc,
boolean forceAction)
|
void |
adHocRouteDocumentToPrincipal(String actionRequested,
String routeTypeName,
String annotation,
String principalId,
String responsibilityDesc,
boolean forceAction,
String actionRequestLabel)
|
void |
approve(String annotation)
|
void |
blanketApprove(String annotation)
|
void |
blanketApprove(String annotation,
Integer routeLevel)
|
void |
cancel(String annotation)
|
void |
clearAttributeContent()
Clears all attribute document content from the document. |
void |
clearAttributeDefinitions()
|
void |
clearSearchableDefinitions()
|
void |
complete(String annotation)
|
void |
delete()
|
void |
disapprove(String annotation)
|
void |
fyi()
|
Set<org.kuali.rice.kim.bo.Person> |
getAllPriorApprovers()
This method returns a set of all approvers of this document. |
String |
getAppDocId()
|
String |
getApplicationContent()
|
String |
getAttributeContent()
Returns the attribute-generated document content. |
org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO[] |
getAttributeDefinitions()
|
Timestamp |
getCreateDate()
|
String |
getCurrentRouteNodeNames()
Returns the current node names of the document delimited by the constant: DocumentRouteHeaderValue.CURRENT_ROUTE_NODE_NAME_DELIMITER |
Integer |
getDocRouteLevel()
|
String |
getDocumentType()
|
String |
getInitiatorNetworkId()
Deprecated. use getInitiatorPrincipalId instead, invocation of this method forces a lookup of the principal name which may be inefficient |
String |
getInitiatorPrincipalId()
|
String[] |
getNodeNames()
Returns the names of the nodes that the document is currently at. |
String |
getRoutedByPrincipalId()
|
String |
getRoutedByUserNetworkId()
Deprecated. use getRoutedByPrincipalId instead, invocation of this method forces a lookup of the principal name which may be inefficient |
org.kuali.rice.kew.dto.RouteHeaderDTO |
getRouteHeader()
|
Long |
getRouteHeaderId()
|
org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO[] |
getSearchableDefinitions()
|
String |
getStatusDisplayValue()
|
String |
getTitle()
|
boolean |
isAcknowledgeRequested()
Returns true if the user currently has this document in their Action List with an Acknowledge Request. |
boolean |
isAdHocRequested()
This method determines whether workflowDocument.getUserId() currently has an ad hoc request is his/her action list |
boolean |
isApprovalRequested()
Returns true if the user currently has this document in their Action List with an Approval Request. |
boolean |
isBlanketApproveCapable()
Returns true if the user is authorized to Blanket Approve this document. |
boolean |
isCompletionRequested()
Returns true if the user currently has this document in their Action List with an Completion Request. |
boolean |
isFYIRequested()
Returns true if the user currently has this document in their Action List with an FYI. |
boolean |
isStandardSaveAllowed()
Checks to see if this document is allowed to have a standard 'save' performed |
void |
logDocumentAction(String annotation)
|
void |
refreshContent()
|
void |
removeAttributeDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO attributeDefinition)
|
void |
removeSearchableDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO searchableDefinition)
|
void |
returnToPreviousNode(String annotation,
org.kuali.rice.kew.dto.ReturnPointDTO returnPoint)
Performs the 'returnToPrevious' action on the document this WorkflowDocument represents. |
void |
returnToPreviousNode(String annotation,
String nodeName)
Performs the 'returnToPrevious' action on the document this WorkflowDocument represents. |
void |
returnToPreviousRouteLevel(String annotation,
Integer destRouteLevel)
|
void |
routeDocument(String annotation)
|
void |
saveDocument(String annotation)
|
void |
saveRoutingData()
|
void |
setAppDocId(String appDocId)
|
void |
setApplicationContent(String applicationContent)
Sets the application specific document content. |
void |
setClearFutureRequests()
|
void |
setDoNotReceiveFutureRequests()
|
void |
setReceiveFutureRequests()
|
void |
setTitle(String title)
|
boolean |
stateIsApproved()
Indicates if the document is in the approved state or not. |
boolean |
stateIsCanceled()
Indicates if the document is in the canceled state or not. |
boolean |
stateIsDisapproved()
Indicates if the document is in the disapproved state or not. |
boolean |
stateIsEnroute()
Indicates if the document is in the enroute state or not. |
boolean |
stateIsException()
Indicates if the document is in the exception state or not. |
boolean |
stateIsFinal()
Indicates if the document is in the final state or not. |
boolean |
stateIsInitiated()
Indicates if the document is in the initated state or not. |
boolean |
stateIsProcessed()
Indicates if the document is in the processed state or not. |
boolean |
stateIsSaved()
Indicates if the document is in the saved state or not. |
void |
superUserActionRequestApprove(Long actionRequestId,
String annotation)
|
void |
superUserApprove(String annotation)
|
void |
superUserCancel(String annotation)
|
void |
superUserDisapprove(String annotation)
|
boolean |
userIsInitiator(org.kuali.rice.kim.bo.Person user)
Returns true if the principalName of the given KualiUser matches the initiatorNetworkId of this document |
boolean |
userIsRoutedByUser(org.kuali.rice.kim.bo.Person user)
Returns true if the principalName of the given KualiUser matches the routedByUserNetworkId of this document |
Method Detail |
---|
String getApplicationContent()
void setApplicationContent(String applicationContent)
void clearAttributeContent()
String getAttributeContent()
void addAttributeDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO attributeDefinition)
void removeAttributeDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO attributeDefinition)
void clearAttributeDefinitions()
org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO[] getAttributeDefinitions()
void addSearchableDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO searchableDefinition)
void removeSearchableDefinition(org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO searchableDefinition)
void clearSearchableDefinitions()
org.kuali.rice.kew.dto.WorkflowAttributeDefinitionDTO[] getSearchableDefinitions()
org.kuali.rice.kew.dto.RouteHeaderDTO getRouteHeader()
Long getRouteHeaderId() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void setAppDocId(String appDocId)
String getAppDocId()
String getInitiatorNetworkId()
String getRoutedByUserNetworkId()
String getInitiatorPrincipalId()
String getRoutedByPrincipalId()
String getTitle()
void saveDocument(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void routeDocument(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void disapprove(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void approve(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void superUserApprove(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void superUserActionRequestApprove(Long actionRequestId, String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void superUserCancel(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void superUserDisapprove(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void cancel(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void blanketApprove(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void blanketApprove(String annotation, Integer routeLevel) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void saveRoutingData() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void acknowledge(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void fyi() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void delete() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void refreshContent() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void adHocRouteDocumentToPrincipal(String actionRequested, String routeTypeName, String annotation, String principalId, String responsibilityDesc, boolean forceAction) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void adHocRouteDocumentToGroup(String actionRequested, String routeTypeName, String annotation, String groupId, String responsibilityDesc, boolean forceAction) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void adHocRouteDocumentToPrincipal(String actionRequested, String routeTypeName, String annotation, String principalId, String responsibilityDesc, boolean forceAction, String actionRequestLabel) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void adHocRouteDocumentToGroup(String actionRequested, String routeTypeName, String annotation, String groupId, String responsibilityDesc, boolean forceAction, String actionRequestLabel) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void setTitle(String title) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
String getDocumentType()
boolean isAdHocRequested()
boolean isAcknowledgeRequested()
boolean isApprovalRequested()
boolean isCompletionRequested()
boolean isFYIRequested()
boolean isBlanketApproveCapable()
boolean isStandardSaveAllowed()
Integer getDocRouteLevel()
void complete(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
annotation
-
org.kuali.rice.kew.exception.InvalidActionTakenException
org.kuali.rice.kew.exception.ResourceUnavailableException
org.kuali.rice.kew.exception.WorkflowException
void returnToPreviousNode(String annotation, String nodeName) throws org.kuali.rice.kew.exception.WorkflowException
annotation
- the message to log for the actionnodeName
- the node to return to
org.kuali.rice.kew.exception.WorkflowException
- in case an error occurs returning to previous nodeWorkflowDocumentActions#returnDocumentToPreviousNode(UserIdDTO, RouteHeaderDTO, ReturnPointDTO, String)
void returnToPreviousNode(String annotation, org.kuali.rice.kew.dto.ReturnPointDTO returnPoint) throws org.kuali.rice.kew.exception.WorkflowException
annotation
- the message to log for the actionReturnPointDTO
- the node to return to
org.kuali.rice.kew.exception.WorkflowException
- in case an error occurs returning to previous nodeWorkflowDocumentActions#returnDocumentToPreviousNode(UserIdDTO, RouteHeaderDTO, ReturnPointDTO, String)
void returnToPreviousRouteLevel(String annotation, Integer destRouteLevel) throws org.kuali.rice.kew.exception.WorkflowException
annotation
- destRouteLevel
-
org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.InvalidActionTakenException
org.kuali.rice.kew.exception.ResourceUnavailableException
void logDocumentAction(String annotation) throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
boolean stateIsInitiated()
boolean stateIsSaved()
boolean stateIsEnroute()
boolean stateIsFinal()
boolean stateIsException()
boolean stateIsCanceled()
boolean stateIsDisapproved()
boolean stateIsApproved()
boolean stateIsProcessed()
String getStatusDisplayValue()
Timestamp getCreateDate()
boolean userIsInitiator(org.kuali.rice.kim.bo.Person user)
user
-
boolean userIsRoutedByUser(org.kuali.rice.kim.bo.Person user)
user
-
String[] getNodeNames() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
String getCurrentRouteNodeNames()
DocumentRouteHeaderValue.CURRENT_ROUTE_NODE_NAME_DELIMITER
Set<org.kuali.rice.kim.bo.Person> getAllPriorApprovers() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void setReceiveFutureRequests() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void setDoNotReceiveFutureRequests() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
void setClearFutureRequests() throws org.kuali.rice.kew.exception.WorkflowException
org.kuali.rice.kew.exception.WorkflowException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |