public interface PermissionContext
To create PermissionContext objects, use the PermissionContextFactory
PermissionContextFactory
Modifier and Type | Method and Description |
---|---|
Issue |
getIssue() |
org.ofbiz.core.entity.GenericValue |
getProject()
Deprecated.
Use
getProjectObject() instead. Since v5.0. |
Project |
getProjectObject()
Returns the Project in this context.
|
com.opensymphony.workflow.loader.StepDescriptor |
getRelevantStepDescriptor()
Returns the relevant workflow step for the Issue in this context
|
Status |
getStatus() |
boolean |
hasIssuePermissions()
Whether we have enough information to look up issue-specific (workflow) permissions.
|
boolean |
isHasCreatedIssue()
Deprecated.
Use
hasIssuePermissions() instead. Since v5.0. |
org.ofbiz.core.entity.GenericValue getProject()
getProjectObject()
instead. Since v5.0.Project getProjectObject()
Issue getIssue()
boolean isHasCreatedIssue()
hasIssuePermissions()
instead. Since v5.0.Status getStatus()
com.opensymphony.workflow.loader.StepDescriptor getRelevantStepDescriptor()
boolean hasIssuePermissions()
True if this PermissionContext has an existing fully-formed issue (not one that is still being created).
Copyright © 2002-2017 Atlassian. All Rights Reserved.