edu.sampleu.bookstore.rule
Class AuthorMaintenanceDocumentRule
java.lang.Object
org.kuali.rice.krad.rules.DocumentRuleBase
org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase
edu.sampleu.bookstore.rule.AuthorMaintenanceDocumentRule
- All Implemented Interfaces:
- AddAdHocRoutePersonRule, AddAdHocRouteWorkgroupRule, AddNoteRule, ApproveDocumentRule, BusinessRule, RouteDocumentRule, SaveDocumentRule, SendAdHocRequestsRule, MaintenanceDocumentRule
public class AuthorMaintenanceDocumentRule
- extends MaintenanceDocumentRuleBase
Methods inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase |
checkEmptyBOField, checkEmptyDocumentField, checkEmptyValue, checkForPartiallyFilledOutReferenceForeignKeys, clearErrorPath, consolidateFieldNames, dataDictionaryValidate, errorAlreadyExists, getBoService, getConfigService, getDataObjectAuthorizationService, getDataObjectMetaDataService, getDateTimeService, getDdService, getDictionaryValidationService, getDocumentDictionaryService, getDocumentHelperService, getFieldLabel, getFieldLabel, getHumanReadablePrimaryKeyFieldNames, getNewDataObject, getOldDataObject, getPersistenceStructureService, getPersonService, getRoleService, getWorkflowDocumentService, isCorrectMaintenanceClass, isDocumentInactivatingBusinessObject, isDocumentValidForSave, primaryKeyCheck, processApproveDocument, processCustomAddCollectionLineBusinessRules, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processGlobalApproveDocumentBusinessRules, processGlobalSaveDocumentBusinessRules, processInactivationBlockChecking, processInactivationBlockChecking, processRouteDocument, processSaveDocument, putDocumentError, putDocumentError, putFieldError, putFieldError, putFieldError, putFieldErrorWithShortLabel, putGlobalError, putGlobalError, putGlobalError, putGlobalsError, putGlobalsError, putInactivationBlockingErrorOnPage, resumeErrorPath, setBoService, setConfigService, setDataObjectAuthorizationService, setDataObjectMetaDataService, setDdService, setDictionaryValidationService, setDocumentDictionaryService, setDocumentHelperService, setNewDataObject, setPersistenceStructureService, setPersonService, setupBaseConvenienceObjects, setupConvenienceObjects, setWorkflowDocumentService, showErrorMap, validateDocumentStructure, validateGlobalBusinessObjectPersistable, validateMaintenanceDocument |
Methods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase |
getDataDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, 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.