org.kuali.rice.krad.kim
Class NamespacePermissionTypeServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
      extended by org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
          extended by org.kuali.rice.krad.kim.NamespacePermissionTypeServiceImpl
All Implemented Interfaces:
PermissionTypeService, KimTypeService
Direct Known Subclasses:
NamespaceWildcardAllowedAndOrStringExactMatchPermissionTypeServiceImpl

public class NamespacePermissionTypeServiceImpl
extends PermissionTypeServiceBase

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.kns.kim.type.DataDictionaryTypeServiceBase
COMMA_SEPARATOR
 
Constructor Summary
NamespacePermissionTypeServiceImpl()
           
 
Method Summary
 Boolean getExactMatchPriority()
           
protected  List<Permission> performPermissionMatches(Map<String,String> requestedDetails, List<Permission> permissionsList)
          Check for entries that match the namespace.
 void setExactMatchPriority(Boolean exactMatchPriority)
           
 
Methods inherited from class org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
doesPropertyNameMatch, getMatchingPermissions
 
Methods inherited from class org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
areAttributesEqual, extractErrorsFromGlobalVariablesErrorMap, getAttributeDefinitions, getAttributeFormatter, getAttributeMaxValue, getAttributeMinValue, getAttributeValidatingExpression, getAttributeValue, getBusinessObjectService, getClosestParentDocumentTypeName, getDataDictionaryAttributeDefinition, getDataDictionaryService, getDictionaryValidationService, getDocumentTypeService, getNonDataDictionaryAttributeDefinition, getRequiredAttributes, getTypeInfoService, getUniqueAttributes, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, isCheckRequiredAttributes, performMatch, translateInputAttributes, validateAttributeFormat, validateAttributeRequired, validateAttributes, validateAttributesAgainstExisting, validateDataDictionaryAttribute, validateDataDictionaryAttribute, validateNonDataDictionaryAttribute, validatePrimitiveFromDescriptor, validateReferencesExistAndActive, validateRequiredAttributesAgainstReceived, validateUniqueAttributes, validateUnmodifiableAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kim.framework.type.KimTypeService
getAttributeDefinitions, getWorkflowDocumentTypeName, getWorkflowRoutingAttributes, validateAttributes, validateAttributesAgainstExisting, validateUniqueAttributes, validateUnmodifiableAttributes
 

Constructor Detail

NamespacePermissionTypeServiceImpl

public NamespacePermissionTypeServiceImpl()
Method Detail

performPermissionMatches

protected List<Permission> performPermissionMatches(Map<String,String> requestedDetails,
                                                    List<Permission> permissionsList)
Check for entries that match the namespace. By default, this method will return all exact matches if any exist, and it will only return partial matches if there are no exact matches. i.e. KR-NS will have priority over KR-* If ExactMatchPriority is false, then this method will return all exact AND partial matching permissions. By default, ExactMatchPriority will be set to true.

Overrides:
performPermissionMatches in class PermissionTypeServiceBase

getExactMatchPriority

public Boolean getExactMatchPriority()

setExactMatchPriority

public void setExactMatchPriority(Boolean exactMatchPriority)


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