Package org.kuali.rice.kew.document
Class DocumentTypeMaintainableBusRule
java.lang.Object
org.kuali.rice.krad.rules.DocumentRuleBase
org.kuali.rice.kns.rules.DocumentRuleBase
org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
org.kuali.rice.kew.document.DocumentTypeMaintainableBusRule
- All Implemented Interfaces:
org.kuali.rice.kns.rule.AddCollectionLineRule,org.kuali.rice.kns.rules.MaintenanceDocumentRule,org.kuali.rice.krad.rules.rule.AddAdHocRoutePersonRule,org.kuali.rice.krad.rules.rule.AddAdHocRouteWorkgroupRule,org.kuali.rice.krad.rules.rule.AddCollectionLineRule,org.kuali.rice.krad.rules.rule.AddNoteRule,org.kuali.rice.krad.rules.rule.ApproveDocumentRule,org.kuali.rice.krad.rules.rule.BusinessRule,org.kuali.rice.krad.rules.rule.CompleteDocumentRule,org.kuali.rice.krad.rules.rule.RouteDocumentRule,org.kuali.rice.krad.rules.rule.SaveDocumentRule,org.kuali.rice.krad.rules.rule.SendAdHocRequestsRule
public class DocumentTypeMaintainableBusRule
extends org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
-
Field Summary
Fields inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckDoctypeLabel(org.kuali.rice.kns.document.MaintenanceDocument document) Checks that the doctype label is specified.booleancheckDoctypeName(org.kuali.rice.kns.document.MaintenanceDocument document) Checks if the doctype name already exist.protected booleanprocessCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) protected booleanprocessCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) Methods inherited from class org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
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, validateMaintenanceDocumentMethods inherited from class org.kuali.rice.krad.rules.DocumentRuleBase
buildDocumentTypeActionRequestPermissionDetails, buildDocumentTypePermissionDetails, getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, hasAdHocRouteCompletion, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteCompletionToInitiator, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddCollectionLine, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddCollectionLineBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
-
Constructor Details
-
DocumentTypeMaintainableBusRule
public DocumentTypeMaintainableBusRule()
-
-
Method Details
-
processCustomSaveDocumentBusinessRules
protected boolean processCustomSaveDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) - Overrides:
processCustomSaveDocumentBusinessRulesin classorg.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
-
processCustomRouteDocumentBusinessRules
protected boolean processCustomRouteDocumentBusinessRules(org.kuali.rice.kns.document.MaintenanceDocument document) - Overrides:
processCustomRouteDocumentBusinessRulesin classorg.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
-
checkDoctypeName
public boolean checkDoctypeName(org.kuali.rice.kns.document.MaintenanceDocument document) Checks if the doctype name already exist.- Parameters:
document-- Returns:
- false, if doctype name already exists otherwise true.
-
checkDoctypeLabel
public boolean checkDoctypeLabel(org.kuali.rice.kns.document.MaintenanceDocument document) Checks that the doctype label is specified.- Parameters:
document-- Returns:
- false if doctype label is blank, otherwise true.
-