org.kuali.rice.kim.document.rule
Class GenericPermissionMaintenanceDocumentRule

java.lang.Object
  extended by org.kuali.rice.krad.rules.DocumentRuleBase
      extended by org.kuali.rice.kns.maintenance.rules.MaintenanceDocumentRuleBase
          extended by org.kuali.rice.kim.document.rule.GenericPermissionMaintenanceDocumentRule
All Implemented Interfaces:
AddCollectionLineRule, MaintenanceDocumentRule, AddAdHocRoutePersonRule, AddAdHocRouteWorkgroupRule, AddNoteRule, ApproveDocumentRule, BusinessRule, RouteDocumentRule, SaveDocumentRule, SendAdHocRequestsRule

public class GenericPermissionMaintenanceDocumentRule
extends MaintenanceDocumentRuleBase

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

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

Field Summary
protected static String DETAIL_VALUES_PROPERTY
           
protected static String ERROR_ATTRIBUTE_VALIDATION
           
protected static String ERROR_MESSAGE_PREFIX
           
protected static String ERROR_MISSING_TEMPLATE
           
protected static String ERROR_NAMESPACE_AND_NAME_VALIDATION
           
protected static String ERROR_UNKNOWN_ATTRIBUTE
           
protected static String NAMESPACE_CODE_PROPERTY
           
 
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
GenericPermissionMaintenanceDocumentRule()
           
 
Method Summary
protected  PermissionTypeService getPermissionTypeService(String serviceName)
           
protected  boolean processCustomRouteDocumentBusinessRules(MaintenanceDocument document)
          This method should be overridden to provide custom rules for processing document routing
protected  boolean validateDetailValuesFormat(String permissionDetailValues)
           
protected  boolean validateNamespaceCodeAndName(String namespaceCode, String name)
           
 
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, processCustomSaveDocumentBusinessRules, 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
getDataDictionaryService, getDocumentDictionaryService, getGroupService, getKualiConfigurationService, getMaxDictionaryValidationDepth, getPermissionService, isAddHocRoutePersonValid, isAddHocRouteWorkgroupValid, isAdHocRouteRecipientsValid, isDocumentAttributesValid, isDocumentOverviewValid, isNoteValid, processAddAdHocRoutePerson, processAddAdHocRouteWorkgroup, processAddNote, processCompleteDocument, processCustomAddAdHocRoutePersonBusinessRules, processCustomAddAdHocRouteWorkgroupBusinessRules, processCustomAddNoteBusinessRules, processCustomApproveDocumentBusinessRules, processCustomCompleteDocumentBusinessRules, processCustomRouteDocumentBusinessRules, processCustomSaveDocumentBusinessRules, processCustomSendAdHocRequests, processSendAdHocRequests, setDocumentDictionaryService, setMaxDictionaryValidationDepth, validateSensitiveDataValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DETAIL_VALUES_PROPERTY

protected static final String DETAIL_VALUES_PROPERTY
See Also:
Constant Field Values

NAMESPACE_CODE_PROPERTY

protected static final String NAMESPACE_CODE_PROPERTY
See Also:
Constant Field Values

ERROR_MESSAGE_PREFIX

protected static final String ERROR_MESSAGE_PREFIX
See Also:
Constant Field Values

ERROR_MISSING_TEMPLATE

protected static final String ERROR_MISSING_TEMPLATE
See Also:
Constant Field Values

ERROR_UNKNOWN_ATTRIBUTE

protected static final String ERROR_UNKNOWN_ATTRIBUTE
See Also:
Constant Field Values

ERROR_ATTRIBUTE_VALIDATION

protected static final String ERROR_ATTRIBUTE_VALIDATION
See Also:
Constant Field Values

ERROR_NAMESPACE_AND_NAME_VALIDATION

protected static final String ERROR_NAMESPACE_AND_NAME_VALIDATION
See Also:
Constant Field Values
Constructor Detail

GenericPermissionMaintenanceDocumentRule

public GenericPermissionMaintenanceDocumentRule()
Method Detail

processCustomRouteDocumentBusinessRules

protected boolean processCustomRouteDocumentBusinessRules(MaintenanceDocument document)
Description copied from class: MaintenanceDocumentRuleBase
This method should be overridden to provide custom rules for processing document routing

Overrides:
processCustomRouteDocumentBusinessRules in class MaintenanceDocumentRuleBase
Returns:
boolean

validateDetailValuesFormat

protected boolean validateDetailValuesFormat(String permissionDetailValues)

validateNamespaceCodeAndName

protected boolean validateNamespaceCodeAndName(String namespaceCode,
                                               String name)

getPermissionTypeService

protected PermissionTypeService getPermissionTypeService(String serviceName)


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