public class TimeAndMoneyDocument extends ResearchDocumentBase implements org.kuali.rice.krad.document.Copyable, org.kuali.rice.krad.document.SessionDocument, Permissionable, Comparable
| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_TYPE_CODE |
documentHeader, documentNumberextension, versionNumberAWARD_BUDGET_KEY, AWARD_KEY, COI_DISCLOSURE_KEY, COMMITTEE_KEY, COMMITTEE_SCHEDULE_KEY, IACUC_PROTOCOL_KEY, IACUC_PROTOCOL_ONLINE_REVIEW_KEY, NEGOTIATION_KEY, PROPOSAL_BUDGET_KEY, PROPOSAL_KEY, PROTOCOL_KEY, PROTOCOL_ONLINE_REVIEW_KEY, SPONSOR_HIREARCHY_KEY, SUBAWARD_KEY, TIME_AND_MONEY_KEY| Constructor and Description |
|---|
TimeAndMoneyDocument()
Constructs a AwardDocument object
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(PendingTransaction newPendingTransaction) |
List |
buildListOfDeletionAwareLists() |
int |
compareTo(Object o) |
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) |
protected ActivePendingTransactionsService |
getActivePendingTransactionsService() |
Award |
getAward()
Gets the award attribute.
|
List<AwardAmountTransaction> |
getAwardAmountTransactions()
Gets the awardAmountTransactions attribute.
|
Map<String,AwardHierarchy> |
getAwardHierarchyItems()
Gets the awardHierarchyItems attribute.
|
Map<String,AwardHierarchyNode> |
getAwardHierarchyNodes()
Gets the awardHierarchyNodes attribute.
|
protected AwardHierarchyService |
getAwardHierarchyService() |
String |
getAwardNumber()
Gets the awardNumber attribute.
|
List<AwardVersionHistory> |
getAwardVersionHistoryList()
Gets the awardVersionHistoryList attribute.
|
AwardVersionService |
getAwardVersionService() |
List<? extends DocumentCustomData> |
getDocumentCustomData() |
String |
getDocumentKey()
This method returns unique key for implementing document.
|
String |
getDocumentNumberForPermission()
This method returns the appropriate document number for implementing documents
For award it would be awardNumber and for PDD it would be proposal Number.
|
String |
getDocumentRoleTypeCode() |
boolean |
getDocumentRouteStatus() |
String |
getDocumentTypeCode() |
String |
getLeadUnitNumber() |
String |
getNamespace() |
AwardAmountTransaction |
getNewAwardAmountTransaction()
Gets the newAwardAmountTransaction attribute.
|
List<String> |
getOrder()
Gets the order attribute.
|
List<PendingTransaction> |
getPendingTransactions()
Gets the pendingTransactions attribute.
|
List<String> |
getRoleNames()
This method gets all the role names for particular document.
|
String |
getRootAwardNumber()
Gets the rootAwardNumber attribute.
|
List<TimeAndMoneyActionSummary> |
getTimeAndMoneyActionSummaryItems()
Gets the timeAndMoneyActionSummaryItems attribute.
|
Map<Object,Object> |
getTimeAndMoneyHistory()
Gets the timeAndMoneyHistory attribute.
|
protected void |
init() |
boolean |
isInitialSave()
This method tests if document has been previously persisted.
|
boolean |
isNew() |
boolean |
isProcessComplete()
This method is to check whether rice async routing is ok now.
|
void |
prepareForSave() |
void |
setAward(Award award)
Sets the award attribute value.
|
void |
setAwardAmountTransactions(List<AwardAmountTransaction> awardAmountTransactions)
Sets the awardAmountTransactions attribute value.
|
void |
setAwardHierarchyItems(Map<String,AwardHierarchy> awardHierarchyItems)
Sets the awardHierarchyItems attribute value.
|
void |
setAwardHierarchyNodes(Map<String,AwardHierarchyNode> awardHierarchyNodes)
Sets the awardHierarchyNodes attribute value.
|
void |
setAwardNumber(String awardNumber)
Sets the awardNumber attribute value.
|
void |
setAwardVersionHistoryList(List<AwardVersionHistory> awardVersionHistoryList)
Sets the awardVersionHistoryList attribute value.
|
void |
setNewAwardAmountTransaction(AwardAmountTransaction newAwardAmountTransaction)
Sets the newAwardAmountTransaction attribute value.
|
void |
setOrder(List<String> order)
Sets the order attribute value.
|
void |
setPendingTransactions(List<PendingTransaction> pendingTransactions)
Sets the pendingTransactions attribute value.
|
void |
setRootAwardNumber(String rootAwardNumber)
Sets the rootAwardNumber attribute value.
|
void |
setTimeAndMoneyActionSummaryItems(List<TimeAndMoneyActionSummary> timeAndMoneyActionSummaryItems)
Sets the timeAndMoneyActionSummaryItems attribute value.
|
void |
setTimeAndMoneyHistory(Map<Object,Object> timeAndMoneyHistory)
Sets the timeAndMoneyHistory attribute value.
|
answerSplitNodeQuestion, getAllRolePersons, getCustomAttributeDocument, getCustomAttributeDocuments, getDocumentNextValue, getDocumentNextvalueBo, getDocumentNextvalues, getService, getUpdateTimestamp, getUpdateUser, initialize, isViewOnly, populateAdditionalQualifiedRoleAttributes, processAfterRetrieve, setCustomAttributeDocuments, setDocumentNextvalues, setUpdateTimestamp, setUpdateUser, setViewOnly, toCopy, updateDocumentDescriptions, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, prepareForSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptorsafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpopulateAdditionalQualifiedRoleAttributesaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptorspublic static final String DOCUMENT_TYPE_CODE
public TimeAndMoneyDocument()
public String getDocumentTypeCode()
getDocumentTypeCode in class ResearchDocumentBasepublic boolean isInitialSave()
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseorg.kuali.core.bo.PersistableBusinessObjectBase#buildListOfDeletionAwareLists()protected void init()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class org.kuali.rice.krad.document.DocumentBaseprotected AwardHierarchyService getAwardHierarchyService()
public AwardVersionService getAwardVersionService()
protected ActivePendingTransactionsService getActivePendingTransactionsService()
public String getDocumentKey()
PermissionablegetDocumentKey in interface Permissionablepublic String getDocumentNumberForPermission()
PermissionablegetDocumentNumberForPermission in interface Permissionablepublic List<String> getRoleNames()
PermissionablegetRoleNames in interface Permissionablepublic boolean getDocumentRouteStatus()
public boolean isNew()
public String getAwardNumber()
public void setAwardNumber(String awardNumber)
awardNumber - The awardNumber to set.public Map<String,AwardHierarchyNode> getAwardHierarchyNodes()
public void setAwardHierarchyNodes(Map<String,AwardHierarchyNode> awardHierarchyNodes)
awardHierarchyNodes - The awardHierarchyNodes to set.public List<PendingTransaction> getPendingTransactions()
public void setPendingTransactions(List<PendingTransaction> pendingTransactions)
pendingTransactions - The pendingTransactions to set.public void add(PendingTransaction newPendingTransaction)
public Map<String,AwardHierarchy> getAwardHierarchyItems()
public void setAwardHierarchyItems(Map<String,AwardHierarchy> awardHierarchyItems)
awardHierarchyItems - The awardHierarchyItems to set.public List<AwardAmountTransaction> getAwardAmountTransactions()
public void setAwardAmountTransactions(List<AwardAmountTransaction> awardAmountTransactions)
awardAmountTransactions - The awardAmountTransactions to set.public Map<Object,Object> getTimeAndMoneyHistory()
public void setTimeAndMoneyHistory(Map<Object,Object> timeAndMoneyHistory)
timeAndMoneyHistory - The timeAndMoneyHistory to set.public List<TimeAndMoneyActionSummary> getTimeAndMoneyActionSummaryItems()
public void setTimeAndMoneyActionSummaryItems(List<TimeAndMoneyActionSummary> timeAndMoneyActionSummaryItems)
timeAndMoneyActionSummaryItems - The timeAndMoneyActionSummaryItems to set.public Award getAward()
public void setAward(Award award)
award - The award to set.public AwardAmountTransaction getNewAwardAmountTransaction()
public void setNewAwardAmountTransaction(AwardAmountTransaction newAwardAmountTransaction)
newAwardAmountTransaction - The newAwardAmountTransaction to set.public String getRootAwardNumber()
public void setRootAwardNumber(String rootAwardNumber)
rootAwardNumber - The rootAwardNumber to set.public void prepareForSave()
prepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class ResearchDocumentBasepublic String getNamespace()
getNamespace in interface Permissionablepublic String getLeadUnitNumber()
getLeadUnitNumber in interface Permissionablepublic String getDocumentRoleTypeCode()
getDocumentRoleTypeCode in interface Permissionablepublic List<AwardVersionHistory> getAwardVersionHistoryList()
public void setAwardVersionHistoryList(List<AwardVersionHistory> awardVersionHistoryList)
awardVersionHistoryList - The awardVersionHistoryList to set.public void setOrder(List<String> order)
order - The order to set.public boolean isProcessComplete()
isProcessComplete in class ResearchDocumentBasepublic int compareTo(Object o)
compareTo in interface Comparablepublic List<? extends DocumentCustomData> getDocumentCustomData()
getDocumentCustomData in class ResearchDocumentBaseCopyright © 2013 The Kuali Foundation. All Rights Reserved.