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

java.lang.Object
  extended by org.kuali.rice.kim.service.impl.ResponsibilityServiceBase
      extended by org.kuali.rice.kim.service.impl.ResponsibilityServiceImpl
All Implemented Interfaces:
org.kuali.rice.kim.service.ResponsibilityService

public class ResponsibilityServiceImpl
extends ResponsibilityServiceBase
implements org.kuali.rice.kim.service.ResponsibilityService

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)

Field Summary
 
Fields inherited from class org.kuali.rice.kim.service.impl.ResponsibilityServiceBase
DEFAULT_PRIORITY_NUMBER, DEFAULT_RESPONSIBILITY_TYPE_SERVICE, RESPONSIBILITY_IMPL_CACHE_GROUP, RESPONSIBILITY_IMPL_CACHE_PREFIX
 
Constructor Summary
ResponsibilityServiceImpl()
           
 
Method Summary
protected  boolean areActionsAtAssignmentLevel(KimResponsibilityImpl responsibility)
           
 boolean areActionsAtAssignmentLevel(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility)
           
 boolean areActionsAtAssignmentLevelById(java.lang.String responsibilityId)
           
protected  java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getActionsForResponsibilityRoles(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility, java.util.List<java.lang.String> roleIds, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)
           
protected  KimResponsibilityTypeService getDefaultResponsibilityTypeService()
           
protected  java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> getMatchingResponsibilities(java.util.List<KimResponsibilityImpl> responsibilities, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
          Compare each of the passed in responsibilities with the given responsibilityDetails.
 java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> getResponsibilitiesByName(java.lang.String namespaceCode, java.lang.String responsibilityName)
           
 org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo getResponsibility(java.lang.String responsibilityId)
           
 java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getResponsibilityActions(java.lang.String namespaceCode, java.lang.String responsibilityName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
           
 java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getResponsibilityActionsByTemplateName(java.lang.String namespaceCode, java.lang.String responsibilityTemplateName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
           
 KimResponsibilityDao getResponsibilityDao()
           
 KimResponsibilityImpl getResponsibilityImpl(java.lang.String responsibilityId)
           
protected  java.util.List<KimResponsibilityImpl> getResponsibilityImplsByName(java.lang.String namespaceCode, java.lang.String responsibilityName)
           
protected  java.util.List<KimResponsibilityImpl> getResponsibilityImplsByTemplateName(java.lang.String namespaceCode, java.lang.String responsibilityTemplateName)
           
 org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo getResponsibilityTemplate(java.lang.String responsibilityTemplateId)
           
 org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo getResponsibilityTemplateByName(java.lang.String namespaceCode, java.lang.String responsibilityTemplateName)
           
 KimResponsibilityTemplateImpl getResponsibilityTemplateImpl(java.lang.String responsibilityTemplateId)
           
 KimResponsibilityTemplateImpl getResponsibilityTemplateImplsByName(java.lang.String namespaceCode, java.lang.String responsibilityTemplateName)
           
protected  java.util.Map<java.lang.String,KimResponsibilityTypeService> getResponsibilityTypeServicesByTemplateId(java.util.Collection<KimResponsibilityImpl> responsibilities)
           
protected  java.util.List<java.lang.String> getRoleIdsForResponsibilities(java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> responsibilities, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)
           
 java.util.List<java.lang.String> getRoleIdsForResponsibility(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)
           
 RoleResponsibilityImpl getRoleResponsibilityImpl(java.lang.String roleResponsibilityId)
           
protected  org.kuali.rice.kim.service.RoleService getRoleService()
           
protected  java.util.Map<java.lang.String,java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo>> groupResponsibilitiesByTemplate(java.util.Collection<KimResponsibilityImpl> responsibilities)
           
 boolean hasResponsibility(java.lang.String principalId, java.lang.String namespaceCode, java.lang.String responsibilityName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
           
 boolean hasResponsibilityByTemplateName(java.lang.String principalId, java.lang.String namespaceCode, java.lang.String responsibilityTemplateName, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
          This overridden method ...
protected  void logResponsibilityCheck(java.lang.String namespaceCode, java.lang.String responsibilityName, org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails, org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)
           
 java.util.List<? extends org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> lookupResponsibilityInfo(java.util.Map<java.lang.String,java.lang.String> searchCriteria, boolean unbounded)
           
 void setResponsibilityDao(KimResponsibilityDao responsibilityDao)
           
 void setRoleService(org.kuali.rice.kim.service.RoleService roleService)
           
 
Methods inherited from class org.kuali.rice.kim.service.impl.ResponsibilityServiceBase
flushResponsibilityImplCache, getBusinessObjectService, getCacheAdministrator, getNewAttributeDataId, getResponsibilityImplByTemplateNameCacheKey, getSequenceAccessorService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponsibilityServiceImpl

public ResponsibilityServiceImpl()
Method Detail

getResponsibility

public org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo getResponsibility(java.lang.String responsibilityId)
Specified by:
getResponsibility in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.getResponsibility(java.lang.String)

getResponsibilitiesByName

public java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> getResponsibilitiesByName(java.lang.String namespaceCode,
                                                                                                      java.lang.String responsibilityName)
Specified by:
getResponsibilitiesByName in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.getResponsibilitiesByName(String,java.lang.String)

getResponsibilityImpl

public KimResponsibilityImpl getResponsibilityImpl(java.lang.String responsibilityId)

getResponsibilityTemplate

public org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo getResponsibilityTemplate(java.lang.String responsibilityTemplateId)
Specified by:
getResponsibilityTemplate in interface org.kuali.rice.kim.service.ResponsibilityService

getResponsibilityTemplateByName

public org.kuali.rice.kim.bo.role.dto.KimResponsibilityTemplateInfo getResponsibilityTemplateByName(java.lang.String namespaceCode,
                                                                                                    java.lang.String responsibilityTemplateName)
Specified by:
getResponsibilityTemplateByName in interface org.kuali.rice.kim.service.ResponsibilityService

getResponsibilityTemplateImpl

public KimResponsibilityTemplateImpl getResponsibilityTemplateImpl(java.lang.String responsibilityTemplateId)

getResponsibilityTemplateImplsByName

public KimResponsibilityTemplateImpl getResponsibilityTemplateImplsByName(java.lang.String namespaceCode,
                                                                          java.lang.String responsibilityTemplateName)

getRoleResponsibilityImpl

public RoleResponsibilityImpl getRoleResponsibilityImpl(java.lang.String roleResponsibilityId)

getResponsibilityImplsByName

protected java.util.List<KimResponsibilityImpl> getResponsibilityImplsByName(java.lang.String namespaceCode,
                                                                             java.lang.String responsibilityName)

getResponsibilityImplsByTemplateName

protected java.util.List<KimResponsibilityImpl> getResponsibilityImplsByTemplateName(java.lang.String namespaceCode,
                                                                                     java.lang.String responsibilityTemplateName)

hasResponsibility

public boolean hasResponsibility(java.lang.String principalId,
                                 java.lang.String namespaceCode,
                                 java.lang.String responsibilityName,
                                 org.kuali.rice.kim.bo.types.dto.AttributeSet qualification,
                                 org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
Specified by:
hasResponsibility in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.hasResponsibility(java.lang.String, String, java.lang.String, AttributeSet, AttributeSet)

hasResponsibilityByTemplateName

public boolean hasResponsibilityByTemplateName(java.lang.String principalId,
                                               java.lang.String namespaceCode,
                                               java.lang.String responsibilityTemplateName,
                                               org.kuali.rice.kim.bo.types.dto.AttributeSet qualification,
                                               org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
This overridden method ...

Specified by:
hasResponsibilityByTemplateName in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.hasResponsibilityByTemplateName(java.lang.String, java.lang.String, java.lang.String, org.kuali.rice.kim.bo.types.dto.AttributeSet, org.kuali.rice.kim.bo.types.dto.AttributeSet)

getResponsibilityActions

public java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getResponsibilityActions(java.lang.String namespaceCode,
                                                                                                        java.lang.String responsibilityName,
                                                                                                        org.kuali.rice.kim.bo.types.dto.AttributeSet qualification,
                                                                                                        org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
Specified by:
getResponsibilityActions in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.getResponsibilityActions(String, java.lang.String, AttributeSet, AttributeSet)

logResponsibilityCheck

protected void logResponsibilityCheck(java.lang.String namespaceCode,
                                      java.lang.String responsibilityName,
                                      org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails,
                                      org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)

getResponsibilityActionsByTemplateName

public java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getResponsibilityActionsByTemplateName(java.lang.String namespaceCode,
                                                                                                                      java.lang.String responsibilityTemplateName,
                                                                                                                      org.kuali.rice.kim.bo.types.dto.AttributeSet qualification,
                                                                                                                      org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
Specified by:
getResponsibilityActionsByTemplateName in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.getResponsibilityActions(String, java.lang.String, AttributeSet, AttributeSet)

getActionsForResponsibilityRoles

protected java.util.List<org.kuali.rice.kim.bo.role.dto.ResponsibilityActionInfo> getActionsForResponsibilityRoles(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility,
                                                                                                                   java.util.List<java.lang.String> roleIds,
                                                                                                                   org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)

getResponsibilityTypeServicesByTemplateId

protected java.util.Map<java.lang.String,KimResponsibilityTypeService> getResponsibilityTypeServicesByTemplateId(java.util.Collection<KimResponsibilityImpl> responsibilities)

groupResponsibilitiesByTemplate

protected java.util.Map<java.lang.String,java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo>> groupResponsibilitiesByTemplate(java.util.Collection<KimResponsibilityImpl> responsibilities)

getMatchingResponsibilities

protected java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> getMatchingResponsibilities(java.util.List<KimResponsibilityImpl> responsibilities,
                                                                                                           org.kuali.rice.kim.bo.types.dto.AttributeSet responsibilityDetails)
Compare each of the passed in responsibilities with the given responsibilityDetails. Those that match are added to the result list.


getRoleIdsForResponsibilities

protected java.util.List<java.lang.String> getRoleIdsForResponsibilities(java.util.List<org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> responsibilities,
                                                                         org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)

getRoleIdsForResponsibility

public java.util.List<java.lang.String> getRoleIdsForResponsibility(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility,
                                                                    org.kuali.rice.kim.bo.types.dto.AttributeSet qualification)
Specified by:
getRoleIdsForResponsibility in interface org.kuali.rice.kim.service.ResponsibilityService

areActionsAtAssignmentLevel

protected boolean areActionsAtAssignmentLevel(KimResponsibilityImpl responsibility)

areActionsAtAssignmentLevel

public boolean areActionsAtAssignmentLevel(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo responsibility)
Specified by:
areActionsAtAssignmentLevel in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.areActionsAtAssignmentLevel(org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo)

areActionsAtAssignmentLevelById

public boolean areActionsAtAssignmentLevelById(java.lang.String responsibilityId)
Specified by:
areActionsAtAssignmentLevelById in interface org.kuali.rice.kim.service.ResponsibilityService
See Also:
ResponsibilityService.areActionsAtAssignmentLevelById(String)

lookupResponsibilityInfo

public java.util.List<? extends org.kuali.rice.kim.bo.role.dto.KimResponsibilityInfo> lookupResponsibilityInfo(java.util.Map<java.lang.String,java.lang.String> searchCriteria,
                                                                                                               boolean unbounded)
Specified by:
lookupResponsibilityInfo in interface org.kuali.rice.kim.service.ResponsibilityService

getRoleService

protected org.kuali.rice.kim.service.RoleService getRoleService()

setRoleService

public void setRoleService(org.kuali.rice.kim.service.RoleService roleService)

getResponsibilityDao

public KimResponsibilityDao getResponsibilityDao()

setResponsibilityDao

public void setResponsibilityDao(KimResponsibilityDao responsibilityDao)

getDefaultResponsibilityTypeService

protected KimResponsibilityTypeService getDefaultResponsibilityTypeService()


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