edu.sampleu.bookstore.rule
Class AuthorMaintenanceDocumentRule
java.lang.Object
org.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
edu.sampleu.bookstore.rule.AuthorMaintenanceDocumentRule
- All Implemented Interfaces:
- AddAdHocRoutePersonRule, AddAdHocRouteWorkgroupRule, AddCollectionLineRule, AddNoteRule, ApproveDocumentRule, BusinessRule, RouteDocumentRule, SaveDocumentRule, SendAdHocRequestsRule, MaintenanceDocumentRule
public class AuthorMaintenanceDocumentRule
- extends MaintenanceDocumentRuleBase
Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
boDictionaryService, boService, businessObjectAuthorizationService, businessObjectMetaDataService, configService, ddService, dictionaryValidationService, DOCUMENT_ERROR_PREFIX, documentHelperService, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, maintDocDictionaryService, persistenceStructureService, personService, priorErrorPath, roleService, workflowDocumentService |
Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase |
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoDictionaryService, getBoService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getConfigService, 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, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoDictionaryService, setBoService, setBusinessObjectAuthorizationService, setBusinessObjectMetaDataService, setConfigService, setDdService, setDictionaryValidationService, setDocumentHelperService, setMaintDocDictionaryService, setNewBo, 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 |
AUTHOR_ENTRIES_PROPERTY_PATH
private static final String AUTHOR_ENTRIES_PROPERTY_PATH
- See Also:
- Constant Field Values
NO_ADDRESS_TYPE_ERROR_KEY
private static final String NO_ADDRESS_TYPE_ERROR_KEY
- See Also:
- Constant Field Values
ERROR_MESSAGE_NO_ADDTYPE_FOUND
private static final String ERROR_MESSAGE_NO_ADDTYPE_FOUND
- See Also:
- Constant Field Values
SAME_ADDRESS_TYPE_ERROR_KEY
private static final String SAME_ADDRESS_TYPE_ERROR_KEY
- See Also:
- Constant Field Values
ERROR_MESSAGE_SAME_ADDTYPR_FOUND
private static final String ERROR_MESSAGE_SAME_ADDTYPR_FOUND
- See Also:
- Constant Field Values
AuthorMaintenanceDocumentRule
public AuthorMaintenanceDocumentRule()
processGlobalRouteDocumentBusinessRules
protected boolean processGlobalRouteDocumentBusinessRules(MaintenanceDocument document)
- Description copied from class:
MaintenanceDocumentRuleBase
- This method enforces all business rules that are common to all maintenance documents which must be tested before doing a
route.
It can be overloaded in special cases where a MaintenanceDocument has very special needs that would be contrary to what is
enforced here.
- Overrides:
processGlobalRouteDocumentBusinessRules
in class MaintenanceDocumentRuleBase
- Parameters:
document
- - a populated MaintenanceDocument instance
- Returns:
- true if the document can be routed, false if not
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.