public class AccountingPeriodRule extends org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected static String |
BUDGET_RECORDING_LEVEL_MIXED |
protected static String |
ENDOWMENT_FUND_CD |
protected static String |
GENERAL_FUND_CD |
protected static org.apache.log4j.Logger |
LOG |
protected AccountingPeriod |
newAccountingPeriod |
protected AccountingPeriod |
oldAccountingPeriod |
protected static String |
PLANT_FUND_CD |
protected static String |
RESTRICTED_CD_RESTRICTED |
protected static String |
RESTRICTED_CD_TEMPORARILY_RESTRICTED |
protected static String |
RESTRICTED_CD_UNRESTRICTED |
protected static String |
RESTRICTED_FUND_CD |
protected static String |
SUB_FUND_GROUP_MEDICAL_PRACTICE_FUNDS |
boDictionaryService, 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 |
---|
AccountingPeriodRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This method checks to see if the fiscal year for any of
Options is the same as the AccountingPeriod 's fiscal
year |
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
This method checks the following rules: calls processCustomRouteDocumentBusinessRules but does not fail if any of them fail
(this only happens on routing)
|
void |
setupConvenienceObjects()
This method sets the convenience objects like newAccount and oldAccount, 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, getBoService, getConfigService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomAddCollectionLineBusinessRules, 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, validateMaintenanceDocument
buildDocumentTypeActionRequestPermissionDetails, 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, validateSensitiveDataValue
protected static org.apache.log4j.Logger LOG
protected static final String GENERAL_FUND_CD
protected static final String RESTRICTED_FUND_CD
protected static final String ENDOWMENT_FUND_CD
protected static final String PLANT_FUND_CD
protected static final String RESTRICTED_CD_RESTRICTED
protected static final String RESTRICTED_CD_UNRESTRICTED
protected static final String RESTRICTED_CD_TEMPORARILY_RESTRICTED
protected static final String SUB_FUND_GROUP_MEDICAL_PRACTICE_FUNDS
protected static final String BUDGET_RECORDING_LEVEL_MIXED
protected AccountingPeriod oldAccountingPeriod
protected AccountingPeriod newAccountingPeriod
public AccountingPeriodRule()
public void setupConvenienceObjects()
setupConvenienceObjects
in interface org.kuali.rice.kns.rules.MaintenanceDocumentRule
setupConvenienceObjects
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
document
- - the maintenanceDocument being evaluatedprotected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Options
is the same as the AccountingPeriod
's fiscal
yearprocessCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.