public class CreditCardVendorRule extends org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected CreditCardVendor |
newCreditCardVendor |
boDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, dataObjectMetaDataService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService
Constructor and Description |
---|
CreditCardVendorRule() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkCreditCardVendorNumber()
Returns true if credit card vendor number is valid (i.e.
|
protected SubAccount |
checkExistenceSubAccount(String string)
Returns a SubAccount object if SubAccount object exists for "Income" or "Expense"
|
protected SubObjectCode |
checkExistenceSubObj(String string)
Returns a SubObjCd object if SubObjCd object exists for "Income" or "Expense"
|
protected boolean |
checkExistingActiveAccount(String chartOfAccountsCode,
String accountNumber,
String fieldName,
String errorMessage)
Returns true if account is active (i.e.
|
protected boolean |
checkRequiredSubAccount(String string)
Returns true if income/expense financial chart of accounts code and account number exist.
|
protected boolean |
checkRequiredSubObjectCode(String string)
Returns a true sub-object code exists for "Income" or "Expense"
|
protected boolean |
processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Returns value from processCustomRouteDocumentBusinessRules(document)
|
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Returns true credit card vendor maintenance document is routed successfully
|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Return true if rules for processing a save for the credit card maintenance document are are valid.
|
void |
setupConvenienceObjects()
Sets up a CreditCardVendor convenience objects to make sure all possible sub-objects are populated
|
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, 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 CreditCardVendor newCreditCardVendor
public CreditCardVendorRule()
public void setupConvenienceObjects()
setupConvenienceObjects
in interface org.kuali.rice.kns.rules.MaintenanceDocumentRule
setupConvenienceObjects
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
MaintenanceDocumentRuleBase.setupConvenienceObjects()
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
document
- maintenance documentMaintenanceDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomApproveDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
document
- maintenance documentMaintenanceDocumentRuleBase.processCustomApproveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
document
- submitted credit card maintenance documentMaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean checkCreditCardVendorNumber()
protected boolean checkExistingActiveAccount(String chartOfAccountsCode, String accountNumber, String fieldName, String errorMessage)
accountNumber
- account numberfieldName
- field name to place error forerrorMessage
- error message to displayprotected boolean checkRequiredSubAccount(String string)
string
- determines whether or not to check income or expense sub account information (valid values include "Income" or "Expense")protected SubAccount checkExistenceSubAccount(String string)
string
- determines whether or not to retrieve a income or expense sub account (valid values include "Income" or "Expense")protected boolean checkRequiredSubObjectCode(String string)
string
- determines whether or not to check for an income or expense sub-object code (valid values include "Income" or "Expense")protected SubObjectCode checkExistenceSubObj(String string)
string
- determines whether or not to retrieve a income or expense sub object (valid values include "Income" or "Expense")Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.