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()
PermissionContext
getProject
in interface PermissionContext
public final Project getProjectObject()
PermissionContext
getProjectObject
in interface PermissionContext
public Issue getIssue()
getIssue
in interface PermissionContext
public boolean isHasCreatedIssue()
PermissionContext
isHasCreatedIssue
in interface PermissionContext
public Status getStatus()
getStatus
in interface PermissionContext
public com.opensymphony.workflow.loader.StepDescriptor getRelevantStepDescriptor()
PermissionContext
getRelevantStepDescriptor
in interface PermissionContext
public boolean hasIssuePermissions()
PermissionContext
True if this PermissionContext has an existing fully-formed issue (not one that is still being created).
hasIssuePermissions
in interface PermissionContext
Copyright © 2002-2016 Atlassian. All Rights Reserved.