org.kuali.rice.kew.document
Class RoutingRuleMaintainableBusRule

java.lang.Object
  extended by org.kuali.rice.krad.rules.DocumentRuleBase
      extended by org.kuali.rice.kns.rules.DocumentRuleBase
          extended by org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
              extended by org.kuali.rice.kew.document.RoutingRuleMaintainableBusRule
All Implemented Interfaces:
AddCollectionLineRule, MaintenanceDocumentRule, AddAdHocRoutePersonRule, AddAdHocRouteWorkgroupRule, AddNoteRule, ApproveDocumentRule, BusinessRule, CompleteDocumentRule, RouteDocumentRule, SaveDocumentRule, SendAdHocRequestsRule
Direct Known Subclasses:
RoutingRuleDelegationMaintainableBusRule

public class RoutingRuleMaintainableBusRule
extends MaintenanceDocumentRuleBase

This is a description of what this class does - Garey don't forget to fill this in.

Author:
Kuali Rice Team (rice.collab@kuali.org)

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
RoutingRuleMaintainableBusRule()
           
 
Method Summary
protected  DocumentTypeService getDocumentTypeService()
           
protected  String getGroupSectionName()
           
protected  RuleBaseValues getOldRuleBaseValues(MaintenanceDocument document)
           
protected  String getPersonSectionName()
           
protected  RuleBaseValues getRuleBaseValues(MaintenanceDocument document)
           
protected  boolean groupExists(String namespaceCode, String groupName)
           
protected  boolean personExists(String principalName)
           
protected  void populateErrorMap(Map<String,String> errorMap)
           
protected  boolean populateErrorMap(RuleBaseValues ruleBaseValues)
           
 boolean processCustomAddCollectionLineBusinessRules(MaintenanceDocument document, String collectionName, PersistableBusinessObject line)
          This overridden method ...
protected  boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
          This overridden method ...
protected  boolean ruleExists(RuleBaseValues rule)
           
protected  boolean setRuleAttributeErrors(RuleBaseValues rule)
           
 
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, processCustomApproveDocumentBusinessRules, processCustomRouteDocumentBusinessRules, 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
 
Methods 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, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, useKimPermission, validateSensitiveDataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingRuleMaintainableBusRule

public RoutingRuleMaintainableBusRule()
Method Detail

processCustomSaveDocumentBusinessRules

protected boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
This overridden method ...

Overrides:
processCustomSaveDocumentBusinessRules in class MaintenanceDocumentRuleBase
Returns:
boolean
See Also:
MaintenanceDocumentRuleBase.processCustomSaveDocumentBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument)

getRuleBaseValues

protected RuleBaseValues getRuleBaseValues(MaintenanceDocument document)

getOldRuleBaseValues

protected RuleBaseValues getOldRuleBaseValues(MaintenanceDocument document)

populateErrorMap

protected void populateErrorMap(Map<String,String> errorMap)

processCustomAddCollectionLineBusinessRules

public boolean processCustomAddCollectionLineBusinessRules(MaintenanceDocument document,
                                                           String collectionName,
                                                           PersistableBusinessObject line)
This overridden method ...

Overrides:
processCustomAddCollectionLineBusinessRules in class MaintenanceDocumentRuleBase
See Also:
MaintenanceDocumentRuleBase.processCustomAddCollectionLineBusinessRules(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)

getPersonSectionName

protected String getPersonSectionName()

getGroupSectionName

protected String getGroupSectionName()

personExists

protected boolean personExists(String principalName)

groupExists

protected boolean groupExists(String namespaceCode,
                              String groupName)

populateErrorMap

protected boolean populateErrorMap(RuleBaseValues ruleBaseValues)

ruleExists

protected boolean ruleExists(RuleBaseValues rule)

getDocumentTypeService

protected DocumentTypeService getDocumentTypeService()

setRuleAttributeErrors

protected boolean setRuleAttributeErrors(RuleBaseValues rule)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.