Package org.kuali.rice.kns.kim.role
Class RoleTypeServiceBase
java.lang.Object
org.kuali.rice.kns.kim.type.DataDictionaryTypeServiceBase
org.kuali.rice.kns.kim.role.RoleTypeServiceBase
- All Implemented Interfaces:
org.kuali.rice.kim.framework.common.delegate.DelegationTypeService,org.kuali.rice.kim.framework.role.RoleTypeService,org.kuali.rice.kim.framework.type.KimTypeService
- Direct Known Subclasses:
DerivedRoleTypeServiceBase
@Deprecated
public class RoleTypeServiceBase
extends DataDictionaryTypeServiceBase
implements org.kuali.rice.kim.framework.role.RoleTypeService, org.kuali.rice.kim.framework.common.delegate.DelegationTypeService
Deprecated.
A krad integrated type service base class will be provided in the future.
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertQualificationForMemberRoles(String namespaceCode, String roleName, String memberRoleNamespaceCode, String memberRoleName, Map<String, String> qualification) Deprecated.This base implementation simply returns the passed in Attributes.convertQualificationForMemberRolesAndMemberAttributes(String namespaceCode, String roleName, String memberRoleNamespaceCode, String memberRoleName, Map<String, String> qualification, Map<String, String> memberQualification) Deprecated.booleandoesDelegationQualifierMatchQualification(Map<String, String> qualification, Map<String, String> roleQualifier) Deprecated.Performs a simple check that the qualifier on the delegation matches the qualification.booleandoesRoleQualifierMatchQualification(Map<String, String> qualification, Map<String, String> roleQualifier) Deprecated.Performs a simple check that the qualifier on the role matches the qualification.booleandynamicRoleMembership(String namespaceCode, String roleName) Deprecated.Returns false as a defaultgetMatchingRoleMemberships(Map<String, String> qualification, List<RoleMembership> roleMemberList) Deprecated.Deprecated.getRoleMembersFromDerivedRole(String namespaceCode, String roleName, Map<String, String> qualification) Deprecated.Return an empty list since this method should not be called by the role service for this service type.booleanhasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String, String> qualification) Deprecated.This simple initial implementation just callsand checks the results.invalid reference
#getRoleMembersFromApplicationRole(String, String, Map<String, String>)booleanDeprecated.Default to not being a derived role type.voidroleMemberRemoved(RoleMember member) Deprecated.booleanshouldValidateQualifiersForMemberType(MemberType memberType) Deprecated.sortRoleMembers(List<RoleMembership> roleMembers) Deprecated.Base implementation: no sorting.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, 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
-
RoleTypeServiceBase
public RoleTypeServiceBase()Deprecated.
-
-
Method Details
-
doesRoleQualifierMatchQualification
public boolean doesRoleQualifierMatchQualification(Map<String, String> qualification, Map<String, String> roleQualifier) Deprecated.Performs a simple check that the qualifier on the role matches the qualification. Extra qualification attributes are ignored.- Specified by:
doesRoleQualifierMatchQualificationin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
getMatchingRoleMemberships
public List<RoleMembership> getMatchingRoleMemberships(Map<String, String> qualification, List<RoleMembership> roleMemberList) Deprecated.- Specified by:
getMatchingRoleMembershipsin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
getRoleMembersFromDerivedRole
public List<RoleMembership> getRoleMembersFromDerivedRole(String namespaceCode, String roleName, Map<String, String> qualification) Deprecated.Return an empty list since this method should not be called by the role service for this service type. Subclasses which are application role types should override this method.- Specified by:
getRoleMembersFromDerivedRolein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
hasDerivedRole
public boolean hasDerivedRole(String principalId, List<String> groupIds, String namespaceCode, String roleName, Map<String, String> qualification) Deprecated.This simple initial implementation just callsand checks the results.invalid reference
#getRoleMembersFromApplicationRole(String, String, Map<String, String>)- Specified by:
hasDerivedRolein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
isDerivedRoleType
public boolean isDerivedRoleType()Deprecated.Default to not being a derived role type. Always returns false.- Specified by:
isDerivedRoleTypein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- See Also:
-
convertQualificationForMemberRoles
public Map<String,String> convertQualificationForMemberRoles(String namespaceCode, String roleName, String memberRoleNamespaceCode, String memberRoleName, Map<String, String> qualification) Deprecated.This base implementation simply returns the passed in Attributes.- Specified by:
convertQualificationForMemberRolesin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- See Also:
-
convertQualificationForMemberRolesAndMemberAttributes
public Map<String,String> convertQualificationForMemberRolesAndMemberAttributes(String namespaceCode, String roleName, String memberRoleNamespaceCode, String memberRoleName, Map<String, String> qualification, Map<String, throws RiceIllegalArgumentExceptionString> memberQualification) Deprecated.- Specified by:
convertQualificationForMemberRolesAndMemberAttributesin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- Throws:
RiceIllegalArgumentException
-
doesDelegationQualifierMatchQualification
public boolean doesDelegationQualifierMatchQualification(Map<String, String> qualification, Map<String, String> roleQualifier) Deprecated.Performs a simple check that the qualifier on the delegation matches the qualification. Extra qualification attributes are ignored.- Specified by:
doesDelegationQualifierMatchQualificationin interfaceorg.kuali.rice.kim.framework.common.delegate.DelegationTypeService
-
dynamicRoleMembership
Deprecated.Returns false as a default- Specified by:
dynamicRoleMembershipin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- See Also:
-
getQualifiersForExactMatch
Deprecated.- Specified by:
getQualifiersForExactMatchin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
sortRoleMembers
public List<RoleMembership> sortRoleMembers(List<RoleMembership> roleMembers) throws RiceIllegalArgumentException Deprecated.Base implementation: no sorting. Just returns the input list.- Specified by:
sortRoleMembersin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService- Throws:
RiceIllegalArgumentException
-
shouldValidateQualifiersForMemberType
Deprecated.- Specified by:
shouldValidateQualifiersForMemberTypein interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-
roleMemberRemoved
Deprecated.- Specified by:
roleMemberRemovedin interfaceorg.kuali.rice.kim.framework.role.RoleTypeService
-