com.atlassian.jira.security
Class ThreadLocalCachingPermissionManager
java.lang.Object
com.atlassian.jira.security.AbstractPermissionManager
com.atlassian.jira.security.DefaultPermissionManager
com.atlassian.jira.security.WorkflowBasedPermissionManager
com.atlassian.jira.security.ThreadLocalCachingPermissionManager
- All Implemented Interfaces:
- JiraManager, PermissionManager
public class ThreadLocalCachingPermissionManager
- extends WorkflowBasedPermissionManager
Method Summary |
Collection |
getProjects(int permissionId,
User user)
Retrieve a list of projects this user has the permission for |
Collection |
getProjects(int permissionId,
User user,
org.ofbiz.core.entity.GenericValue category)
Retrieve a list of projects associated with the specified category, that this user has the permissions for |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalCachingPermissionManager
public ThreadLocalCachingPermissionManager(WorkflowPermissionFactory workflowPermissionFactory,
PermissionContextFactory permissionContextFactory)
getProjects
public Collection getProjects(int permissionId,
User user)
- Description copied from class:
AbstractPermissionManager
- Retrieve a list of projects this user has the permission for
- Specified by:
getProjects
in interface PermissionManager
- Overrides:
getProjects
in class AbstractPermissionManager
- Parameters:
permissionId
- must NOT be a global permissionuser
- user
getProjects
public Collection getProjects(int permissionId,
User user,
org.ofbiz.core.entity.GenericValue category)
throws org.ofbiz.core.entity.GenericEntityException
- Description copied from interface:
PermissionManager
- Retrieve a list of projects associated with the specified category, that this user has the permissions for
- Specified by:
getProjects
in interface PermissionManager
- Overrides:
getProjects
in class AbstractPermissionManager
- Throws:
org.ofbiz.core.entity.GenericEntityException
Copyright © 2002-2007 Atlassian. All Rights Reserved.