com.atlassian.jira.permission
Class DefaultPermissionContextFactory
java.lang.Object
com.atlassian.jira.permission.DefaultPermissionContextFactory
- All Implemented Interfaces:
- PermissionContextFactory
public class DefaultPermissionContextFactory
- extends Object
- implements PermissionContextFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPermissionContextFactory
public DefaultPermissionContextFactory(WorkflowManager workflowManager)
getPermissionContext
public PermissionContext getPermissionContext(Issue issue)
- Specified by:
getPermissionContext
in interface PermissionContextFactory
getPermissionContext
public PermissionContext getPermissionContext(Project project)
- Specified by:
getPermissionContext
in interface PermissionContextFactory
getPermissionContext
public PermissionContext getPermissionContext(Issue issue,
Status issueStatus)
getPermissionContext
public PermissionContext getPermissionContext(org.ofbiz.core.entity.GenericValue projectOrIssue)
- Specified by:
getPermissionContext
in interface PermissionContextFactory
getPermissionContext
public PermissionContext getPermissionContext(Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
- Specified by:
getPermissionContext
in interface PermissionContextFactory
getPermissionContext
public PermissionContext getPermissionContext(OperationContext operationContext,
Issue issue)
- Checks if we're in a workflow operation, and if so constructs a PermissionContext with the destination status.
Otherwise returns a normal PC wrapping the issue.
- Specified by:
getPermissionContext
in interface PermissionContextFactory
Copyright © 2002-2012 Atlassian. All Rights Reserved.