org.kuali.rice.kns.kim.role
Class PrincipalDerivedRoleTypeServiceImpl

java.lang.Object
  extended by org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
      extended by org.kuali.rice.kns.kim.role.RoleTypeServiceBase
          extended by org.kuali.rice.kns.kim.role.DerivedRoleTypeServiceBase
              extended by org.kuali.rice.kns.kim.role.PrincipalDerivedRoleTypeServiceImpl
All Implemented Interfaces:
DelegationTypeService, RoleTypeService, KimTypeService

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

@Deprecated
public class PrincipalDerivedRoleTypeServiceImpl
extends DerivedRoleTypeServiceBase

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)

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
PrincipalDerivedRoleTypeServiceImpl()
          Deprecated.  
 
Method Summary
protected  IdentityService getIdentityService()
          Deprecated.  
protected  List<String> getRequiredAttributes()
          Deprecated.  
 List<RoleMembership> getRoleMembersFromDerivedRole(String namespaceCode, String roleName, Map<String,String> qualification)
          Deprecated. Since this is potentially the entire set of users, just check the qualification for the user we are interested in and return it.
 boolean hasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String,String> qualification)
          Deprecated. This simple initial implementation just calls #getRoleMembersFromApplicationRole(String, String, Map) and checks the results.
protected  boolean isCheckRequiredAttributes()
          Deprecated.  
 boolean performMatch(Map<String,String> inputAttributes, Map<String,String> storedAttributes)
          Deprecated. This method matches input attribute set entries and standard attribute set entries using literal string match.
 
Methods inherited from class org.kuali.rice.kns.kim.role.DerivedRoleTypeServiceBase
isDerivedRoleType
 
Methods inherited from class org.kuali.rice.kns.kim.role.RoleTypeServiceBase
convertQualificationForMemberRoles, doesDelegationQualifierMatchQualification, doesRoleQualifierMatchQualification, dynamicRoleMembership, getMatchingRoleMemberships, getQualifiersForExactMatch, shouldValidateQualifiersForMemberType, sortRoleMembers
 
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, 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

PrincipalDerivedRoleTypeServiceImpl

public PrincipalDerivedRoleTypeServiceImpl()
Deprecated. 
Method Detail

getRequiredAttributes

protected List<String> getRequiredAttributes()
Deprecated. 
Overrides:
getRequiredAttributes in class DataDictionaryTypeServiceBase

isCheckRequiredAttributes

protected boolean isCheckRequiredAttributes()
Deprecated. 
Overrides:
isCheckRequiredAttributes in class DataDictionaryTypeServiceBase

performMatch

public boolean performMatch(Map<String,String> inputAttributes,
                            Map<String,String> storedAttributes)
Deprecated. 
Description copied from class: DataDictionaryTypeServiceBase
This method matches input attribute set entries and standard attribute set entries using literal string match.

Overrides:
performMatch in class DataDictionaryTypeServiceBase

getRoleMembersFromDerivedRole

public List<RoleMembership> getRoleMembersFromDerivedRole(String namespaceCode,
                                                          String roleName,
                                                          Map<String,String> qualification)
Deprecated. 
Since this is potentially the entire set of users, just check the qualification for the user we are interested in and return it.

Specified by:
getRoleMembersFromDerivedRole in interface RoleTypeService
Overrides:
getRoleMembersFromDerivedRole in class DerivedRoleTypeServiceBase

hasDerivedRole

public boolean hasDerivedRole(String principalId,
                              List<String> groupIds,
                              String namespaceCode,
                              String roleName,
                              Map<String,String> qualification)
Deprecated. 
Description copied from class: RoleTypeServiceBase
This simple initial implementation just calls #getRoleMembersFromApplicationRole(String, String, Map) and checks the results.

Specified by:
hasDerivedRole in interface RoleTypeService
Overrides:
hasDerivedRole in class RoleTypeServiceBase
Parameters:
principalId - the principalId. cannot be null or blank.
groupIds - the groupIds the principal is a member of. cannot be null.
namespaceCode - the namespace code the role is in. cannot be blank or null.
roleName - the name of the role. cannot be blank or null.
qualification - the qualification. cannot be null.
Returns:
if the principal has a derived role.

getIdentityService

protected IdentityService getIdentityService()
Deprecated. 


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