public class ProcurementCardDefaultRule extends org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
Modifier and Type | Field and Description |
---|---|
protected static org.kuali.rice.coreservice.framework.parameter.ParameterService |
parameterService |
protected static String |
WARNING_CARDHOLDER_LAST_ACTIVE_MEMBER |
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 |
---|
ProcurementCardDefaultRule() |
Modifier and Type | Method and Description |
---|---|
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
protected boolean |
isAccountDefaultTurnedOn() |
protected boolean |
isCardHolderDefaultTurnedOn() |
protected boolean |
processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Returns true procurement card defaults maintenance document is routed successfully
|
protected boolean |
processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
Always returns true; provides user feedback on procurement card defaults maintenance document
|
protected void |
putFieldErrorWithLabel(String propertyName,
String errorConstant)
Adds a property-specific error to the global errors list, with the DD short label as the single argument.
|
protected boolean |
validateAccountingDefault(ProcurementCardDefault newProcurementCardDefault)
Validates the accounting default information
|
protected boolean |
validateCardHolderDefault(ProcurementCardDefault newProcurementCardDefault)
Validates the card holder information
|
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, setupConvenienceObjects, 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 final String WARNING_CARDHOLDER_LAST_ACTIVE_MEMBER
protected static org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService
public ProcurementCardDefaultRule()
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomRouteDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
document
- submitted procurement card defaults maintenance documentMaintenanceDocumentRuleBase.processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument)
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document)
processCustomSaveDocumentBusinessRules
in class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
org.kuali.rice.kns.rules.DocumentRuleBase#processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.Document)
protected boolean isCardHolderDefaultTurnedOn()
protected boolean isAccountDefaultTurnedOn()
protected boolean validateCardHolderDefault(ProcurementCardDefault newProcurementCardDefault)
protected boolean validateAccountingDefault(ProcurementCardDefault newProcurementCardDefault)
protected void putFieldErrorWithLabel(String propertyName, String errorConstant)
propertyName
- - Property name of the element that is associated with the error. Used to mark the field as errored in
the UI.errorConstant
- - Error Constant that can be mapped to a resource for the actual text message.protected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.