public class AwardRule extends CGMaintenanceDocumentRuleBase
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
LOG |
protected Award |
newAwardCopy |
AGENCY_TYPE_CODE_FEDERAL, PROJECT_DIRECTOR_DECEASED, PROJECT_DIRECTOR_INVALID_STATUSESboDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService| Constructor and Description |
|---|
AwardRule() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkAccounts()
checks to see if at least 1 award account exists
|
protected boolean |
checkAwardAccount(AwardAccount awardAccount) |
protected boolean |
checkAwardOrganization(AwardOrganization awardOrganization) |
protected boolean |
checkAwardProjectDirector(AwardProjectDirector awardProjectDirector) |
protected boolean |
checkAwardSubcontractor(AwardSubcontractor awardSubcontractor) |
protected boolean |
checkFederalPassThrough()
checks if the required federal pass through fields are filled in if the federal pass through indicator is yes
|
protected boolean |
checkProposal()
checks to see if:
a proposal has already been awarded
a proposal is inactive
|
boolean |
processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document,
String collectionName,
org.kuali.rice.krad.bo.PersistableBusinessObject bo) |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) |
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) |
void |
setupConvenienceObjects() |
checkAgencyNotEqualToFederalPassThroughAgency, checkEndAfterBegin, checkFederalPassThrough, checkPrimary, checkProjectDirectorsAreDirectors, checkProjectDirectorsExist, checkProjectDirectorsStatusescheckEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoService, getConfigService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomApproveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setBusinessObjectMetaDataService, setConfigService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocumentbuildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValueprotected static org.apache.log4j.Logger LOG
protected Award newAwardCopy
public AwardRule()
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBaseprotected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBaseprotected boolean checkAccounts()
AwardAccount, false otherwiseprotected boolean checkProposal()
protected boolean checkFederalPassThrough()
public void setupConvenienceObjects()
setupConvenienceObjects in interface org.kuali.rice.kns.rules.MaintenanceDocumentRulesetupConvenienceObjects in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBaseMaintenanceDocumentRuleBase.setupConvenienceObjects()public boolean processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document, String collectionName, org.kuali.rice.krad.bo.PersistableBusinessObject bo)
processCustomAddCollectionLineBusinessRules in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBaseMaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument,
java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)protected boolean checkAwardOrganization(AwardOrganization awardOrganization)
protected boolean checkAwardSubcontractor(AwardSubcontractor awardSubcontractor)
protected boolean checkAwardAccount(AwardAccount awardAccount)
protected boolean checkAwardProjectDirector(AwardProjectDirector awardProjectDirector)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.