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

java.lang.Object
  extended by org.kuali.rice.kim.service.impl.PermissionServiceBase
Direct Known Subclasses:
PermissionServiceImpl, PermissionUpdateServiceImpl

public class PermissionServiceBase
extends Object

This is a description of what this class does - jjhanso don't forget to fill this in.

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

Field Summary
protected static String DEFAULT_PERMISSION_TYPE_SERVICE
           
protected static String PERMISSION_IMPL_CACHE_GROUP
           
protected static String PERMISSION_IMPL_CACHE_PREFIX
           
protected static String PERMISSION_IMPL_ID_CACHE_PREFIX
           
protected static String PERMISSION_IMPL_NAME_CACHE_PREFIX
           
 
Constructor Summary
PermissionServiceBase()
           
 
Method Summary
protected  void addRolesForPermissionsToCache(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> key, List<String> roleIds)
           
 void flushPermissionImplCache()
           
protected  org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
           
protected  org.kuali.rice.ksb.cache.RiceCacheAdministrator getCacheAdministrator()
           
protected  String getNewAttributeDataId()
           
protected  String getPermissionImplByIdCacheKey(String permissionId)
           
protected  String getPermissionImplByNameCacheKey(String namespaceCode, String permissionName)
           
protected  String getPermissionImplByTemplateNameCacheKey(String namespaceCode, String permissionTemplateName)
           
protected  Map<String,KimPermissionTypeService> getPermissionTypeServiceByNameCache()
           
protected  List<String> getRolesForPermissionsFromCache(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> key)
           
protected  org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERMISSION_IMPL_CACHE_PREFIX

protected static final String PERMISSION_IMPL_CACHE_PREFIX
See Also:
Constant Field Values

PERMISSION_IMPL_NAME_CACHE_PREFIX

protected static final String PERMISSION_IMPL_NAME_CACHE_PREFIX
See Also:
Constant Field Values

PERMISSION_IMPL_ID_CACHE_PREFIX

protected static final String PERMISSION_IMPL_ID_CACHE_PREFIX
See Also:
Constant Field Values

PERMISSION_IMPL_CACHE_GROUP

protected static final String PERMISSION_IMPL_CACHE_GROUP
See Also:
Constant Field Values

DEFAULT_PERMISSION_TYPE_SERVICE

protected static final String DEFAULT_PERMISSION_TYPE_SERVICE
See Also:
Constant Field Values
Constructor Detail

PermissionServiceBase

public PermissionServiceBase()
Method Detail

getBusinessObjectService

protected org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()

flushPermissionImplCache

public void flushPermissionImplCache()

getPermissionTypeServiceByNameCache

protected Map<String,KimPermissionTypeService> getPermissionTypeServiceByNameCache()
Returns:
the permissionTypeServiceByNameCache

addRolesForPermissionsToCache

protected void addRolesForPermissionsToCache(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> key,
                                             List<String> roleIds)

getRolesForPermissionsFromCache

protected List<String> getRolesForPermissionsFromCache(List<org.kuali.rice.kim.bo.role.dto.KimPermissionInfo> key)

getPermissionImplByTemplateNameCacheKey

protected String getPermissionImplByTemplateNameCacheKey(String namespaceCode,
                                                         String permissionTemplateName)

getPermissionImplByNameCacheKey

protected String getPermissionImplByNameCacheKey(String namespaceCode,
                                                 String permissionName)

getPermissionImplByIdCacheKey

protected String getPermissionImplByIdCacheKey(String permissionId)

getNewAttributeDataId

protected String getNewAttributeDataId()

getSequenceAccessorService

protected org.kuali.rice.kns.service.SequenceAccessorService getSequenceAccessorService()

getCacheAdministrator

protected org.kuali.rice.ksb.cache.RiceCacheAdministrator getCacheAdministrator()


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