org.kuali.rice.kns.kim.permission
Class PermissionTypeServiceBase

java.lang.Object
  extended by org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
      extended by org.kuali.rice.kns.kim.permission.PermissionTypeServiceBase
All Implemented Interfaces:
PermissionTypeService, KimTypeService
Direct Known Subclasses:
ActionRequestTypePermissionTypeServiceImpl, BackdoorRestrictionPermissionTypeServiceImpl, ButtonPermissionTypeServiceImpl, ComponentFieldPermissionTypeServiceImpl, ComponentSectionPermissionTypeServiceImpl, DocumentTypeAndExistingRecordsOnlyPermissionTypeServiceImpl, DocumentTypePermissionTypeServiceImpl, NamespacePermissionTypeServiceImpl, ViewPermissionTypeServiceImpl

Deprecated. A krad integrated type service base class will be provided in the future.

@Deprecated
public class PermissionTypeServiceBase
extends DataDictionaryTypeServiceBase
implements PermissionTypeService


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
PermissionTypeServiceBase()
          Deprecated.  
 
Method Summary
protected  boolean doesPropertyNameMatch(String requestedDetailsPropertyName, String permissionDetailsPropertyName)
          Deprecated. Internal method for checking if property name matches
 List<Permission> getMatchingPermissions(Map<String,String> requestedDetails, List<Permission> permissionsList)
          Deprecated. Gets whether a permission assignment with the given details is applicable for the given request details.
protected  List<Permission> performPermissionMatches(Map<String,String> requestedDetails, List<Permission> permissionsList)
          Deprecated. Internal method for matching permissions.
 
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

PermissionTypeServiceBase

public PermissionTypeServiceBase()
Deprecated. 
Method Detail

getMatchingPermissions

public final List<Permission> getMatchingPermissions(Map<String,String> requestedDetails,
                                                     List<Permission> permissionsList)
Deprecated. 
Description copied from interface: PermissionTypeService
Gets whether a permission assignment with the given details is applicable for the given request details. For example, the details for a permission (say edit) could be as follows: component = Account field = incomeStreamAccountNumber The Account component is known to belong to the KFS-COA namespace. If this service is requested... component = Account, field = All

Specified by:
getMatchingPermissions in interface PermissionTypeService
Parameters:
requestedDetails - the requested details. cannot be null.
permissionsList - the list of permission to check for matches. cannot be null.
Returns:
an immutable list of matched permissions. will not return null.

performPermissionMatches

protected List<Permission> performPermissionMatches(Map<String,String> requestedDetails,
                                                    List<Permission> permissionsList)
Deprecated. 
Internal method for matching permissions. Override this method to customize the matching behavior. This base implementation uses the DataDictionaryTypeServiceBase.performMatch(Map, Map) method to perform an exact match on the permission details and return all that are equal.


doesPropertyNameMatch

protected boolean doesPropertyNameMatch(String requestedDetailsPropertyName,
                                        String permissionDetailsPropertyName)
Deprecated. 
Internal method for checking if property name matches

Parameters:
requestedDetailsPropertyName - name of requested details property
permissionDetailsPropertyName - name of permission details property
Returns:
boolean


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