public class PermissionContextImpl extends Object implements PermissionContext
PermissionContext implementation.| Constructor and Description |
|---|
PermissionContextImpl(Issue issue,
Project project,
Status status) |
| Modifier and Type | Method and Description |
|---|---|
Issue |
getIssue() |
org.ofbiz.core.entity.GenericValue |
getProject()
Returns the Project in this context.
|
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()
Whether this PermissionContext has an existing fully-formed issue (not one that is still being created).
|
public final org.ofbiz.core.entity.GenericValue getProject()
PermissionContextgetProject in interface PermissionContextpublic final Project getProjectObject()
PermissionContextgetProjectObject in interface PermissionContextpublic Issue getIssue()
getIssue in interface PermissionContextpublic boolean isHasCreatedIssue()
PermissionContextisHasCreatedIssue in interface PermissionContextpublic Status getStatus()
getStatus in interface PermissionContextpublic com.opensymphony.workflow.loader.StepDescriptor getRelevantStepDescriptor()
PermissionContextgetRelevantStepDescriptor in interface PermissionContextpublic boolean hasIssuePermissions()
PermissionContextTrue if this PermissionContext has an existing fully-formed issue (not one that is still being created).
hasIssuePermissions in interface PermissionContextCopyright © 2002-2022 Atlassian. All Rights Reserved.