public class ProjectCodeRule extends org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
ProjectCode
Maintenance Document.Modifier and Type | Field and Description |
---|---|
protected static org.apache.log4j.Logger |
LOG |
protected ProjectCode |
newProjectCode |
protected ProjectCode |
oldProjectCode |
Constructor and Description |
---|
ProjectCodeRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkExistenceAndActive()
This method currently doesn't do anything
|
protected boolean |
processCustomApproveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This performs rules checks on document approve
checkExistenceAndActive()
This rule fails on business rule failures |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This performs rules checks on document route
checkExistenceAndActive()
This rule fails on business rule failures |
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
This performs rules checks on document save
checkExistenceAndActive()
This rule does not fail on business rule failures |
void |
setupConvenienceObjects()
This method sets the convenience objects like newProjectCode and oldProjectCode, so you have short and easy handles to the new and
old objects contained in the maintenance document.
|
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getConfigService, getDataObjectAuthorizationService, getDataObjectService, getDateTimeService, getDdService, getDictionaryValidationService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getNewDataObject, getOldDataObject, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLine, processApproveDocument, processCustomAddCollectionLineBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setConfigService, setDataObjectAuthorizationService, setDdService, setDictionaryValidationService, setNewDataObject, setPersonService, setupBaseConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateBulkUpdateMaintenanceDocument, validateDocumentStructure, validateMaintenanceDocument
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddCollectionLineBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
protected static org.apache.log4j.Logger LOG
protected ProjectCode oldProjectCode
protected ProjectCode newProjectCode
public ProjectCodeRule()
protected boolean processCustomApproveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
processCustomApproveDocumentBusinessRules
in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
public void setupConvenienceObjects()
setupConvenienceObjects
in interface org.kuali.rice.krad.rules.MaintenanceDocumentRule
setupConvenienceObjects
in class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
document
- - the maintenanceDocument being evaluatedprotected boolean checkExistenceAndActive()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.