|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorizationSupport
Groups a collection of authorization checks used by JIRA's view layer.
JiraWebActionSupport
Method Summary | |
---|---|
boolean |
hasIssuePermission(int permissionsId,
Issue issue)
Returns true if the logged in user has the given permission type on the given Issue. |
boolean |
hasPermission(int permissionsId)
Returns true if the logged in user has the given permission type. |
boolean |
hasProjectPermission(int permissionsId,
Project project)
Returns true if the logged in user has the given permission type on the given Project. |
boolean |
isHasIssuePermission(int permissionsId,
org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0. |
boolean |
isHasIssuePermission(String permName,
org.ofbiz.core.entity.GenericValue issue)
Deprecated. Use hasIssuePermission(int, com.atlassian.jira.issue.Issue) instead. Since v6.0. |
boolean |
isHasPermission(int permissionsId)
Deprecated. Use hasPermission(int) instead. Since v6.0. |
boolean |
isHasPermission(String permName)
Deprecated. Use hasPermission(int) instead. Since v6.0. |
boolean |
isHasPermission(String permName,
org.ofbiz.core.entity.GenericValue entity)
Deprecated. since 4.3. Please use either isHasIssuePermission(String, org.ofbiz.core.entity.GenericValue) , isHasIssuePermission(int, org.ofbiz.core.entity.GenericValue) or isHasProjectPermission(String, org.ofbiz.core.entity.GenericValue) ,
isHasProjectPermission(int, org.ofbiz.core.entity.GenericValue) . |
boolean |
isHasProjectPermission(int permissionsId,
org.ofbiz.core.entity.GenericValue project)
Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0. |
boolean |
isHasProjectPermission(String permName,
org.ofbiz.core.entity.GenericValue project)
Deprecated. Use hasProjectPermission(int, com.atlassian.jira.project.Project) instead. Since v6.0. |
Method Detail |
---|
boolean isHasPermission(String permName)
hasPermission(int)
instead. Since v6.0.
permName
- the permission type
boolean isHasPermission(int permissionsId)
hasPermission(int)
instead. Since v6.0.
permissionsId
- the permission type
boolean hasPermission(int permissionsId)
permissionsId
- the permission type
boolean isHasIssuePermission(String permName, org.ofbiz.core.entity.GenericValue issue)
hasIssuePermission(int, com.atlassian.jira.issue.Issue)
instead. Since v6.0.
permName
- the permission typeissue
- the Issue
boolean isHasIssuePermission(int permissionsId, org.ofbiz.core.entity.GenericValue issue)
hasIssuePermission(int, com.atlassian.jira.issue.Issue)
instead. Since v6.0.
permissionsId
- the permission typeissue
- the Issue
boolean hasIssuePermission(int permissionsId, Issue issue)
permissionsId
- the permission typeissue
- the Issue
boolean isHasProjectPermission(String permName, org.ofbiz.core.entity.GenericValue project)
hasProjectPermission(int, com.atlassian.jira.project.Project)
instead. Since v6.0.
permName
- the permission typeproject
- the Project
boolean isHasProjectPermission(int permissionsId, org.ofbiz.core.entity.GenericValue project)
hasProjectPermission(int, com.atlassian.jira.project.Project)
instead. Since v6.0.
permissionsId
- the permission typeproject
- the Project
boolean hasProjectPermission(int permissionsId, Project project)
permissionsId
- the permission typeproject
- the Project
@Deprecated boolean isHasPermission(String permName, org.ofbiz.core.entity.GenericValue entity)
isHasIssuePermission(String, org.ofbiz.core.entity.GenericValue)
, isHasIssuePermission(int, org.ofbiz.core.entity.GenericValue)
or isHasProjectPermission(String, org.ofbiz.core.entity.GenericValue)
,
isHasProjectPermission(int, org.ofbiz.core.entity.GenericValue)
.
permName
- permission typeentity
- entity to check the permission for, e.g. project, issue
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |