|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase
org.kuali.kfs.coa.document.validation.impl.GlobalDocumentRuleBase
public class GlobalDocumentRuleBase
This class contains common Business Rule functionality for Global Documents.
| Nested Class Summary | |
|---|---|
protected class |
GlobalDocumentRuleBase.CheckOnlyOneChartResult
This class is used internally to represent the result of the CheckOnlyOneChart method. |
| Field Summary |
|---|
| Fields inherited from class org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase |
|---|
financialSystemUserService, personService |
| Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
|---|
boDictionaryService, boService, businessObjectAuthorizationService, configService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceService, persistenceStructureService, priorErrorPath, roleService, workflowDocumentService |
| Constructor Summary | |
|---|---|
GlobalDocumentRuleBase()
Constructs a GlobalDocumentRuleBase.java. |
|
| Method Summary | |
|---|---|
protected GlobalDocumentRuleBase.CheckOnlyOneChartResult |
checkOnlyOneChart(List<AccountGlobalDetail> accountGlobalDetails)
This method checks whether the set of Account Change Detail records on this document all are under the same Chart of Accounts. |
protected boolean |
checkOnlyOneChartAddLine(AccountGlobalDetail newAccountLine,
List<AccountGlobalDetail> accountGlobalDetails)
This method tests whether a new line can be added, based on the rule that says all the accounts being used must belong to the same chart. |
protected boolean |
checkOnlyOneChartAddLineErrorWrapper(AccountGlobalDetail newAccountLine,
List<AccountGlobalDetail> accountGlobalDetails)
This method tests whether the line being added has a different Chart of Accounts Code from any of the existing lines. |
protected boolean |
checkOnlyOneChartErrorWrapper(List<AccountGlobalDetail> accountGlobalDetails)
This method checks whether the set of Account Change Detail records on this document all are under the same Chart of Accounts. |
| Methods inherited from class org.kuali.kfs.sys.document.validation.impl.KfsMaintenanceDocumentRuleBase |
|---|
getFinancialSystemUserService, getKfsUserService |
| Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
|---|
apcRuleFails, applyApcRule, checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoDictionaryService, getBoService, getBusinessObjectAuthorizationService, getConfigService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getMaintDocDictionaryService, getNewBo, getOldBo, getPersistenceService, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processAddCollectionLineBusinessRules, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalRouteDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setConfigService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceService, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateDuplicateIdentifierInDataDictionary, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument |
| Methods inherited from class org.kuali.rice.kns.rules.DocumentRuleBase |
|---|
getDataDictionaryService, getIdentityManagementService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getWorkflowInfoService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setMaxDictionaryValidationDepth, validateSensitiveDataValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GlobalDocumentRuleBase()
| Method Detail |
|---|
protected boolean checkOnlyOneChartErrorWrapper(List<AccountGlobalDetail> accountGlobalDetails)
accountGlobalDetails -
protected GlobalDocumentRuleBase.CheckOnlyOneChartResult checkOnlyOneChart(List<AccountGlobalDetail> accountGlobalDetails)
accountGlobalDetails - The popualted accountGlobalDocument to test.
protected boolean checkOnlyOneChartAddLineErrorWrapper(AccountGlobalDetail newAccountLine,
List<AccountGlobalDetail> accountGlobalDetails)
newAccountLine - accountGlobalDetails -
protected boolean checkOnlyOneChartAddLine(AccountGlobalDetail newAccountLine,
List<AccountGlobalDetail> accountGlobalDetails)
newAccountLine - accountGlobalDetails -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||