Package org.kuali.rice.kew.api.document
Class Document
java.lang.Object
org.kuali.rice.core.api.mo.AbstractDataTransferObject
org.kuali.rice.kew.api.document.Document
- All Implemented Interfaces:
Serializable,ModelObjectBasic,ModelObjectComplete,DocumentContract
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA builder which can be used to constructDocumentinstances. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the application document id.Retrieve the application document status.org.joda.time.DateTimeRetrieve the last application document status transition date.org.joda.time.DateTimeRetrieve the document approval dateorg.joda.time.DateTimeRetrieve the document creation dateorg.joda.time.DateTimeRetrieve the document finalization dateorg.joda.time.DateTimeRetrieve the document last-modified dateRetrieve the document handler urlRetrieve the document idRetrieve the id of the type of this documentRetrieve the name of the type of this documentRetrieve the initiator principal idRetrieve the router principal idRetrieve the document statusgetTitle()Retrieve the document titleRetrieve the currently defined internal workflow engine variables for the document NOTE: use of workflow engine variables is an advanced technique requiring specific crafting of the workflow document routing; these variables will not be useful for the majority of workflow use casesMethods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
-
Method Details
-
getDocumentId
Description copied from interface:DocumentContractRetrieve the document id- Specified by:
getDocumentIdin interfaceDocumentContract- Returns:
- the document id
-
getStatus
Description copied from interface:DocumentContractRetrieve the document status- Specified by:
getStatusin interfaceDocumentContract- Returns:
- the document status
-
getDateCreated
public org.joda.time.DateTime getDateCreated()Description copied from interface:DocumentContractRetrieve the document creation date- Specified by:
getDateCreatedin interfaceDocumentContract- Returns:
- the document creation date or null
-
getDateLastModified
public org.joda.time.DateTime getDateLastModified()Description copied from interface:DocumentContractRetrieve the document last-modified date- Specified by:
getDateLastModifiedin interfaceDocumentContract- Returns:
- the document last-modified date or null
-
getDateApproved
public org.joda.time.DateTime getDateApproved()Description copied from interface:DocumentContractRetrieve the document approval date- Specified by:
getDateApprovedin interfaceDocumentContract- Returns:
- the document approval date or null
-
getDateFinalized
public org.joda.time.DateTime getDateFinalized()Description copied from interface:DocumentContractRetrieve the document finalization date- Specified by:
getDateFinalizedin interfaceDocumentContract- Returns:
- the document finalization date or null
-
getTitle
Description copied from interface:DocumentContractRetrieve the document title- Specified by:
getTitlein interfaceDocumentContract- Returns:
- the document title
-
getApplicationDocumentId
Description copied from interface:DocumentContractRetrieve the application document id. The Application Document Id is used to record an application-relevant id for the workflow document.- Specified by:
getApplicationDocumentIdin interfaceDocumentContract- Returns:
- the application document id
-
getInitiatorPrincipalId
Description copied from interface:DocumentContractRetrieve the initiator principal id- Specified by:
getInitiatorPrincipalIdin interfaceDocumentContract- Returns:
- the initiator principal id
-
getRoutedByPrincipalId
Description copied from interface:DocumentContractRetrieve the router principal id- Specified by:
getRoutedByPrincipalIdin interfaceDocumentContract- Returns:
- the router principal id
-
getDocumentTypeName
Description copied from interface:DocumentContractRetrieve the name of the type of this document- Specified by:
getDocumentTypeNamein interfaceDocumentContract- Returns:
- the name of the type of this document
-
getDocumentTypeId
Description copied from interface:DocumentContractRetrieve the id of the type of this document- Specified by:
getDocumentTypeIdin interfaceDocumentContract- Returns:
- the id of the type of this document
-
getDocumentHandlerUrl
Description copied from interface:DocumentContractRetrieve the document handler url- Specified by:
getDocumentHandlerUrlin interfaceDocumentContract- Returns:
- the document handler url
-
getApplicationDocumentStatus
Description copied from interface:DocumentContractRetrieve the application document status. The Application Document Status is used to track document/applicaiton specific statuses- Specified by:
getApplicationDocumentStatusin interfaceDocumentContract- Returns:
- the application document status
-
getApplicationDocumentStatusDate
public org.joda.time.DateTime getApplicationDocumentStatusDate()Description copied from interface:DocumentContractRetrieve the last application document status transition date. The Application Document Status date is the date the application document status last transitioned.- Specified by:
getApplicationDocumentStatusDatein interfaceDocumentContract- Returns:
- the application document status date
-
getVariables
Description copied from interface:DocumentContractRetrieve the currently defined internal workflow engine variables for the document NOTE: use of workflow engine variables is an advanced technique requiring specific crafting of the workflow document routing; these variables will not be useful for the majority of workflow use cases- Specified by:
getVariablesin interfaceDocumentContract- Returns:
- the currently defined workflow engine variables for the document
-