public class GlobalDocumentRuleBase extends KfsMaintenanceDocumentRuleBase
| Modifier and Type | Class and Description |
|---|---|
protected class |
GlobalDocumentRuleBase.CheckOnlyOneChartResult
This class is used internally to represent the result of the CheckOnlyOneChart method.
|
financialSystemUserService, personServiceboDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, priorErrorPath, roleService, workflowDocumentService| Constructor and Description |
|---|
GlobalDocumentRuleBase()
Constructs a GlobalDocumentRuleBase.java.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getFinancialSystemUserService, getKfsUserServicecheckEmptyBOField, 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, 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, setBusinessObjectMetaDataService, setConfigService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, 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, validateSensitiveDataValuepublic GlobalDocumentRuleBase()
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 - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.