org.kuali.rice.kim.service.impl
Class RoleUpdateServiceImpl

java.lang.Object
  extended by org.kuali.rice.kim.service.impl.RoleServiceBase
      extended by org.kuali.rice.kim.service.impl.RoleUpdateServiceImpl
All Implemented Interfaces:
org.kuali.rice.kim.service.RoleUpdateService

public class RoleUpdateServiceImpl
extends RoleServiceBase
implements org.kuali.rice.kim.service.RoleUpdateService

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kim.service.impl.RoleServiceBase
RoleServiceBase.RoleDaoAction
 
Field Summary
 
Fields inherited from class org.kuali.rice.kim.service.impl.RoleServiceBase
DELEGATION_IMPL_CACHE_GROUP, DELEGATION_IMPL_CACHE_PREFIX, DELEGATION_IMPL_LIST_CACHE_PREFIX, DELEGATION_MEMBER_IMPL_BY_DLGN_AND_ID_CACHE_PREFIX, DELEGATION_MEMBER_IMPL_CACHE_GROUP, DELEGATION_MEMBER_IMPL_CACHE_PREFIX, DELEGATION_MEMBER_IMPL_LIST_BY_MBR_DLGN_CACHE_PREFIX, DELEGATION_MEMBER_IMPL_LIST_CACHE_PREFIX, ROLE_IMPL_BY_NAME_CACHE_PREFIX, ROLE_IMPL_CACHE_GROUP, ROLE_IMPL_CACHE_PREFIX, ROLE_MEMBER_IMPL_CACHE_GROUP, ROLE_MEMBER_IMPL_CACHE_PREFIX, ROLE_MEMBER_IMPL_LIST_CACHE_PREFIX
 
Constructor Summary
RoleUpdateServiceImpl()
           
 
Method Summary
protected  void addDelegationMemberAttributeData(KimDelegationMemberImpl delegationMember, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier, String kimTypeId)
           
protected  void addMemberAttributeData(RoleMemberImpl roleMember, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier, String kimTypeId)
           
 void assignGroupToRole(String groupId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void assignPermissionToRole(String permissionId, String roleId)
           
 void assignPrincipalToRole(String principalId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void assignRoleToRole(String roleId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 String getNextAvailableRoleId()
           
 List<RoleMemberImpl> getRoleMembersByDefaultStrategy(RoleImpl role, String memberId, String memberTypeCode, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void removeGroupFromRole(String groupId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void removePrincipalFromRole(String principalId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void removeRoleFromRole(String roleId, String namespaceCode, String roleName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
           
 void saveDelegationMemberForRole(String delegationMemberId, String roleMemberId, String memberId, String memberTypeCode, String delegationTypeCode, String roleId, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifications, Date activeFromDate, Date activeToDate)
          This overridden method ...
 void saveRole(String roleId, String roleName, String roleDescription, boolean active, String kimTypeId, String namespaceCode)
           
 org.kuali.rice.kim.bo.role.dto.RoleMemberCompleteInfo saveRoleMemberForRole(String roleMemberId, String memberId, String memberTypeCode, String roleId, org.kuali.rice.kim.bo.types.dto.AttributeSet qualifications, Date activeFromDate, Date activeToDate)
           
 void saveRoleRspActions(String roleResponsibilityActionId, String roleId, String roleResponsibilityId, String roleMemberId, String actionTypeCode, String actionPolicyCode, Integer priorityNumber, Boolean forceAction)
           
 
Methods inherited from class org.kuali.rice.kim.service.impl.RoleServiceBase
addKimDelegationImplToCache, addKimDelegationMemberImplListByMemberAndDelegationIdToCache, addKimDelegationMemberImplToCache, addRoleImplToCache, addRoleMemberImplToCache, checkForCircularRoleMembership, doAnyMemberRecordsMatch, doAnyMemberRecordsMatchByExactQualifier, doesMemberMatch, findDelegateMembersCompleteInfo, findRoleMemberCompleteInfo, findRoleMembersCompleteInfo, flushInternalDelegationCache, flushInternalDelegationMemberCache, flushInternalRoleCache, flushInternalRoleMemberCache, getApplicationRoleTypeCache, getBusinessObjectService, getCacheAdministrator, getDelegationCacheKey, getDelegationFromCache, getDelegationImpl, getDelegationListCacheKey, getDelegationMemberByDelegationAndIdCacheKey, getDelegationMemberByDelegationAndIdFromCache, getDelegationMemberCacheKey, getDelegationMemberFromCache, getDelegationMemberListByMemberAndDelegationIdCacheKey, getDelegationMemberListByMemberAndDelegationIdFromCache, getDelegationMemberListCacheKey, getDelegationOfType, getDelegationTypeServiceCache, getIdentityManagementNotificationService, getIdentityManagementService, getKimAttributeId, getKimDelegationImpl, getKimDelegationImplMap, getKimDelegationMemberImpl, getKimDelegationMemberImplByDelegationAndId, getKimDelegationMemberImplList, getKimDelegationMemberImplListByMemberAndDelegationId, getLookupService, getMember, getMemberName, getMemberNamespaceCode, getMemberParentRoleIds, getNestedRoleTypeMemberIds, getNewAttributeDataId, getNewDelegationId, getNewDelegationMemberId, getPrimaryDelegation, getRefreshPeriodInSeconds, getResponsibilityInternalService, getRoleByNameCacheKey, getRoleCacheKey, getRoleDao, getRoleFromCache, getRoleFromCache, getRoleImpl, getRoleImplByName, getRoleMemberCacheKey, getRoleMemberFromCache, getRoleMemberImpl, getRoleMemberImplList, getRoleMemberListCacheKey, getRoleMemberResponsibilityActionInfo, getRoleMembersByExactQualifierMatch, getRoleTypeRoleMemberIds, getRoleTypeService, getRoleTypeService, getRoleTypeServiceCache, getSequenceAccessorService, getStoredDelegationGroupsForGroupIdsAndDelegationIds, getStoredDelegationImplMapFromRoleIds, getStoredDelegationImplsForRoleIds, getStoredDelegationMembersForDelegationIds, getStoredDelegationPrincipalsForPrincipalIdAndDelegationIds, getStoredRoleGroupsForGroupIdsAndRoleIds, getStoredRoleMembersForRoleIds, getStoredRoleMembersForRoleIdsWithFilters, getStoredRoleMembershipsForRoleIdsAsMembers, getStoredRolePrincipalsForPrincipalIdAndRoleIds, isDelegationPrimary, isDelegationSecondary, matchingMemberRecord, populateQualifiersForExactMatch, setRoleDao, shouldCacheMembersOfRole
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleUpdateServiceImpl

public RoleUpdateServiceImpl()
Method Detail

assignGroupToRole

public void assignGroupToRole(String groupId,
                              String namespaceCode,
                              String roleName,
                              org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
assignGroupToRole in interface org.kuali.rice.kim.service.RoleUpdateService

assignPrincipalToRole

public void assignPrincipalToRole(String principalId,
                                  String namespaceCode,
                                  String roleName,
                                  org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
assignPrincipalToRole in interface org.kuali.rice.kim.service.RoleUpdateService

assignRoleToRole

public void assignRoleToRole(String roleId,
                             String namespaceCode,
                             String roleName,
                             org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
assignRoleToRole in interface org.kuali.rice.kim.service.RoleUpdateService

getRoleMembersByDefaultStrategy

public List<RoleMemberImpl> getRoleMembersByDefaultStrategy(RoleImpl role,
                                                            String memberId,
                                                            String memberTypeCode,
                                                            org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)

removeGroupFromRole

public void removeGroupFromRole(String groupId,
                                String namespaceCode,
                                String roleName,
                                org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
removeGroupFromRole in interface org.kuali.rice.kim.service.RoleUpdateService

removePrincipalFromRole

public void removePrincipalFromRole(String principalId,
                                    String namespaceCode,
                                    String roleName,
                                    org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
removePrincipalFromRole in interface org.kuali.rice.kim.service.RoleUpdateService

removeRoleFromRole

public void removeRoleFromRole(String roleId,
                               String namespaceCode,
                               String roleName,
                               org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier)
Specified by:
removeRoleFromRole in interface org.kuali.rice.kim.service.RoleUpdateService

saveDelegationMemberForRole

public void saveDelegationMemberForRole(String delegationMemberId,
                                        String roleMemberId,
                                        String memberId,
                                        String memberTypeCode,
                                        String delegationTypeCode,
                                        String roleId,
                                        org.kuali.rice.kim.bo.types.dto.AttributeSet qualifications,
                                        Date activeFromDate,
                                        Date activeToDate)
                                 throws UnsupportedOperationException
This overridden method ...

Specified by:
saveDelegationMemberForRole in interface org.kuali.rice.kim.service.RoleUpdateService
Throws:
UnsupportedOperationException
See Also:
org.kuali.rice.kim.service.RoleUpdateService#assignRoleAsDelegationMemberToRole(java.lang.String, java.lang.String, java.lang.String, org.kuali.rice.kim.bo.types.dto.AttributeSet)

saveRoleMemberForRole

public org.kuali.rice.kim.bo.role.dto.RoleMemberCompleteInfo saveRoleMemberForRole(String roleMemberId,
                                                                                   String memberId,
                                                                                   String memberTypeCode,
                                                                                   String roleId,
                                                                                   org.kuali.rice.kim.bo.types.dto.AttributeSet qualifications,
                                                                                   Date activeFromDate,
                                                                                   Date activeToDate)
                                                                            throws UnsupportedOperationException
Specified by:
saveRoleMemberForRole in interface org.kuali.rice.kim.service.RoleUpdateService
Throws:
UnsupportedOperationException

saveRoleRspActions

public void saveRoleRspActions(String roleResponsibilityActionId,
                               String roleId,
                               String roleResponsibilityId,
                               String roleMemberId,
                               String actionTypeCode,
                               String actionPolicyCode,
                               Integer priorityNumber,
                               Boolean forceAction)
Specified by:
saveRoleRspActions in interface org.kuali.rice.kim.service.RoleUpdateService

addMemberAttributeData

protected void addMemberAttributeData(RoleMemberImpl roleMember,
                                      org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier,
                                      String kimTypeId)

addDelegationMemberAttributeData

protected void addDelegationMemberAttributeData(KimDelegationMemberImpl delegationMember,
                                                org.kuali.rice.kim.bo.types.dto.AttributeSet qualifier,
                                                String kimTypeId)

saveRole

public void saveRole(String roleId,
                     String roleName,
                     String roleDescription,
                     boolean active,
                     String kimTypeId,
                     String namespaceCode)
              throws UnsupportedOperationException
Specified by:
saveRole in interface org.kuali.rice.kim.service.RoleUpdateService
Throws:
UnsupportedOperationException

getNextAvailableRoleId

public String getNextAvailableRoleId()
                              throws UnsupportedOperationException
Specified by:
getNextAvailableRoleId in interface org.kuali.rice.kim.service.RoleUpdateService
Throws:
UnsupportedOperationException

assignPermissionToRole

public void assignPermissionToRole(String permissionId,
                                   String roleId)
                            throws UnsupportedOperationException
Specified by:
assignPermissionToRole in interface org.kuali.rice.kim.service.RoleUpdateService
Throws:
UnsupportedOperationException


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.