|
||||||||||
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.module.ar.document.validation.impl.OrganizationAccountingDefaultRule
public class OrganizationAccountingDefaultRule
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
protected OrganizationAccountingDefault |
newOrganizationAccountingDefault
|
protected ObjectTypeService |
objectTypeService
|
protected OrganizationAccountingDefault |
oldOrganizationAccountingDefault
|
Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
---|
boDictionaryService, boService, businessObjectAuthorizationService, configService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService |
Constructor Summary | |
---|---|
OrganizationAccountingDefaultRule()
|
Method Summary | |
---|---|
protected boolean |
checkOrgOptionsExists()
This method checks to see if the Org specified in this document has an Org Options record for it |
protected boolean |
doesPaymentAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment account number is provided and is valid. |
protected boolean |
doesPaymentChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment chart of accounts code is provided and is valid |
protected boolean |
doesPaymentFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment financial object code is provided and is valid |
protected boolean |
doesWriteoffAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment account number is provided and is valid. |
protected boolean |
doesWriteoffChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment chart of accounts code is provided and is valid |
protected boolean |
doesWriteoffFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
This method returns true if payment financial object code is provided and is valid |
ObjectTypeService |
getObjectTypeService()
|
protected boolean |
isDefaultInvoiceFinancialObjectValidIncome(OrganizationAccountingDefault organizationAccountingDefault)
This method checks to see if the invoice object code is of type Income IN IC CH |
protected boolean |
isLateChargeObjectValidIncome(OrganizationAccountingDefault organizationAccountingDefault)
This method checks that the Late Charge Object Code is of type Income Using the ParameterService to find this valid value? IN IC CH |
protected boolean |
isWriteOffObjectValidExpense(OrganizationAccountingDefault organizationAccountingDefault)
This method checks that the Writeoff Object Code is of type Expense EX EE ES |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
|
void |
setObjectTypeService(ObjectTypeService objectTypeService)
|
void |
setupConvenienceObjects()
|
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, 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, 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 |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
protected ObjectTypeService objectTypeService
protected OrganizationAccountingDefault newOrganizationAccountingDefault
protected OrganizationAccountingDefault oldOrganizationAccountingDefault
Constructor Detail |
---|
public OrganizationAccountingDefaultRule()
Method Detail |
---|
public void setupConvenienceObjects()
setupConvenienceObjects
in interface org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRule
setupConvenienceObjects
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
protected boolean doesWriteoffAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
protected boolean doesWriteoffChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
protected boolean doesWriteoffFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
protected boolean checkOrgOptionsExists()
protected boolean isWriteOffObjectValidExpense(OrganizationAccountingDefault organizationAccountingDefault)
protected boolean isLateChargeObjectValidIncome(OrganizationAccountingDefault organizationAccountingDefault)
protected boolean isDefaultInvoiceFinancialObjectValidIncome(OrganizationAccountingDefault organizationAccountingDefault)
protected boolean doesPaymentAccountNumberExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
protected boolean doesPaymentChartOfAccountsCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
protected boolean doesPaymentFinancialObjectCodeExist(OrganizationAccountingDefault organizationAccountingDefault)
doc
-
public ObjectTypeService getObjectTypeService()
public void setObjectTypeService(ObjectTypeService objectTypeService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |