org.kuali.rice.krad.kim
Class ViewFieldPermissionTypeServiceImpl

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.ViewPermissionTypeServiceImpl
              extended by org.kuali.rice.krad.kim.ViewFieldPermissionTypeServiceImpl
All Implemented Interfaces:
PermissionTypeService, KimTypeService

public class ViewFieldPermissionTypeServiceImpl
extends ViewPermissionTypeServiceImpl

Type service for the 'View Field' KIM type which matches on the id for a UIF view, field id or property name

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
ViewFieldPermissionTypeServiceImpl()
           
 
Method Summary
protected  List<String> getRequiredAttributes()
           
protected  List<Permission> performPermissionMatches(Map<String,String> requestedDetails, List<Permission> permissionsList)
          Filters the given permission list to return those that match on field id or property name, then calls super to filter based on view id
 
Methods inherited from class org.kuali.rice.krad.kim.ViewPermissionTypeServiceImpl
getExactMatchPriority, setExactMatchPriority
 
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, 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

ViewFieldPermissionTypeServiceImpl

public ViewFieldPermissionTypeServiceImpl()
Method Detail

getRequiredAttributes

protected List<String> getRequiredAttributes()
Overrides:
getRequiredAttributes in class ViewPermissionTypeServiceImpl

performPermissionMatches

protected List<Permission> performPermissionMatches(Map<String,String> requestedDetails,
                                                    List<Permission> permissionsList)
Filters the given permission list to return those that match on field id or property name, then calls super to filter based on view id

Overrides:
performPermissionMatches in class ViewPermissionTypeServiceImpl
Parameters:
requestedDetails - - map of details requested with permission (used for matching)
permissionsList - - list of permissions to process for matches
Returns:
List list of permissions that match the requested details


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