Package org.kuali.rice.krad.kim
Class DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl
java.lang.Object
org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
org.kuali.rice.krad.kim.DocumentTypePermissionTypeServiceImpl
org.kuali.rice.krad.kim.DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl
- All Implemented Interfaces:
org.kuali.rice.kim.framework.permission.PermissionTypeService,org.kuali.rice.kim.framework.type.KimTypeService
public class DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl
extends DocumentTypePermissionTypeServiceImpl
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
DataDictionaryTypeServiceBase.KimTypeAttributeException, DataDictionaryTypeServiceBase.KimTypeAttributeValidationException -
Field Summary
Fields inherited from class org.kuali.rice.krad.kim.DocumentTypePermissionTypeServiceImpl
documentTypeServiceFields inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
COMMA_SEPARATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected List<org.kuali.rice.kim.api.permission.Permission>performPermissionMatches(Map<String, String> requestedDetails, List<org.kuali.rice.kim.api.permission.Permission> permissionsList) consider the document type hierarchy - check for a permission that just specifies the document type first at each level - then if you don't find that, check for the doc type and the node, then the doc type and the fieldprotected booleanMethods inherited from class org.kuali.rice.krad.kim.DocumentTypePermissionTypeServiceImpl
getDocumentTypeService, getRequiredAttributesMethods inherited from class org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
doesPropertyNameMatch, getMatchingPermissionsMethods inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
areAttributesEqual, extractErrorsFromGlobalVariablesErrorMap, getAttributeDefinitions, getAttributeFormatter, getAttributeMaxValue, getAttributeMinValue, getAttributeValidatingExpression, getAttributeValue, getBusinessObjectService, getClosestParentDocumentTypeName, getDataDictionaryAttributeDefinition, getDataDictionaryService, getDictionaryValidationService, getNonDataDictionaryAttributeDefinition, getTypeInfoService, getUniqueAttributes, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, performMatch, translateInputAttributes, validateAttributeFormat, validateAttributeRequired, validateAttributes, validateAttributesAgainstExisting, validateDataDictionaryAttribute, validateDataDictionaryAttribute, validateNonDataDictionaryAttribute, validatePrimitiveFromDescriptor, validateReferencesExistAndActive, validateRequiredAttributesAgainstReceived, validateUniqueAttributes, validateUnmodifiableAttributesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
-
Constructor Details
-
DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl
public DocumentTypeAndNodeAndFieldsPermissionTypeServiceImpl()
-
-
Method Details
-
isCheckRequiredAttributes
protected boolean isCheckRequiredAttributes()- Overrides:
isCheckRequiredAttributesin classDocumentTypePermissionTypeServiceImpl
-
performPermissionMatches
protected List<org.kuali.rice.kim.api.permission.Permission> performPermissionMatches(Map<String, String> requestedDetails, List<org.kuali.rice.kim.api.permission.Permission> permissionsList) consider the document type hierarchy - check for a permission that just specifies the document type first at each level - then if you don't find that, check for the doc type and the node, then the doc type and the field. - if the field value passed in starts with the value on the permission detail it is a match. so... permision detail sourceAccountingLines will match passed in value of sourceAccountingLines.amount and sourceAccountingLines permission detail sourceAccountingLines.objectCode will match sourceAccountingLines.objectCode but not sourceAccountingLines- Overrides:
performPermissionMatchesin classDocumentTypePermissionTypeServiceImpl
-
routeNodeMatches
-