public interface PermissionContextFactory
PermissionContext
for the given parameters.Modifier and Type | Method and Description |
---|---|
PermissionContext |
getPermissionContext(org.ofbiz.core.entity.GenericValue projectOrIssue)
Deprecated.
Use
getPermissionContext(Issue) or getPermissionContext(Project) instead. Since v5.0. |
PermissionContext |
getPermissionContext(Issue issue)
Get the permission context for the given issue.
|
PermissionContext |
getPermissionContext(Issue issue,
com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
Get the permission context for the given issue at the end of the given workflow action.
|
PermissionContext |
getPermissionContext(Issue issue,
Status status)
Get the permission context for the given issue if it was in the given status.
|
PermissionContext |
getPermissionContext(OperationContext operationContext,
Issue issue)
Deprecated.
Use
getPermissionContext(Issue, ActionDescriptor) instead. Since v5.0. |
PermissionContext |
getPermissionContext(Project project)
Get the permission context for the given project.
|
PermissionContext getPermissionContext(org.ofbiz.core.entity.GenericValue projectOrIssue)
getPermissionContext(Issue)
or getPermissionContext(Project)
instead. Since v5.0.PermissionContext getPermissionContext(Issue issue)
issue
- The issue for which the permission context is to be generated.PermissionContext getPermissionContext(Issue issue, com.opensymphony.workflow.loader.ActionDescriptor actionDescriptor)
issue
- The issue for which the permission context is to be generated.actionDescriptor
- The workflow action that is occurring.PermissionContext getPermissionContext(Issue issue, Status status)
issue
- The issue for which the permission context is to be generated.status
- The status that we pretend the issue is in for checking permissions.PermissionContext getPermissionContext(Project project)
project
- The project for which the permission context is to be generated.PermissionContext getPermissionContext(OperationContext operationContext, Issue issue)
getPermissionContext(Issue, ActionDescriptor)
instead. Since v5.0.Copyright © 2002-2024 Atlassian. All Rights Reserved.