com.atlassian.jira.functest.framework.admin
Interface PermissionSchemes.PermissionScheme

All Known Implementing Classes:
PermissionSchemesImpl
Enclosing interface:
PermissionSchemes

public static interface PermissionSchemes.PermissionScheme

Represents a permission scheme that actions can be carried out on


Method Summary
 void grantPermissionToCurrentAssignee(int permission)
          Deprecated. Use grantPermissionToCurrentAssignee(ProjectPermissionKey).
 void grantPermissionToCurrentAssignee(ProjectPermissionKey permission)
           
 void grantPermissionToCurrentAssignee(String permission)
           
 void grantPermissionToGroup(int permission, String groupName)
          Deprecated. Use grantPermissionToGroup(ProjectPermissionKey, String).
 void grantPermissionToGroup(ProjectPermissionKey permission, String groupName)
           
 void grantPermissionToGroup(String permission, String groupName)
           
 void grantPermissionToGroupCustomFieldValue(int permission, String customFieldId)
          Deprecated. Use grantPermissionToGroupCustomFieldValue(ProjectPermissionKey, String).
 void grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
           
 void grantPermissionToGroupCustomFieldValue(String permission, String customFieldId)
           
 void grantPermissionToProjectLead(int permission)
          Deprecated. Use grantPermissionToProjectLead(ProjectPermissionKey).
 void grantPermissionToProjectLead(ProjectPermissionKey permission)
           
 void grantPermissionToProjectLead(String permission)
           
 void grantPermissionToProjectRole(int permission, String projectRoleId)
          Deprecated. Use grantPermissionToProjectRole(ProjectPermissionKey, String).
 void grantPermissionToProjectRole(ProjectPermissionKey permission, String projectRoleId)
           
 void grantPermissionToProjectRole(String permission, String projectRoleId)
           
 void grantPermissionToReporter(int permission)
          Deprecated. Use grantPermissionToReporter(ProjectPermissionKey).
 void grantPermissionToReporter(ProjectPermissionKey permission)
           
 void grantPermissionToReporter(String permission)
           
 void grantPermissionToSingleUser(int permission, String username)
          Deprecated. Use grantPermissionToSingleUser(ProjectPermissionKey, String).
 void grantPermissionToSingleUser(ProjectPermissionKey permission, String username)
           
 void grantPermissionToSingleUser(String permission, String username)
           
 void grantPermissionToUserCustomFieldValue(int permission, String customFieldId)
          Deprecated. Use grantPermissionToUserCustomFieldValue(ProjectPermissionKey, String).
 void grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission, String customFieldId)
           
 void grantPermissionToUserCustomFieldValue(String permission, String customFieldId)
           
 void removePermission(GlobalPermissionKey permissionType, String permissionParam)
           
 void removePermission(int permissionType, String permissionParam)
          Deprecated. Use removePermission(ProjectPermissionKey, String) or removePermission(GlobalPermissionKey, String).
 void removePermission(ProjectPermissionKey permissionType, String permissionParam)
           
 void removePermission(String permissionType, String permissionParam)
           
 

Method Detail

grantPermissionToGroup

@Deprecated
void grantPermissionToGroup(int permission,
                                       String groupName)
Deprecated. Use grantPermissionToGroup(ProjectPermissionKey, String).


grantPermissionToGroup

void grantPermissionToGroup(String permission,
                            String groupName)

grantPermissionToGroup

void grantPermissionToGroup(ProjectPermissionKey permission,
                            String groupName)

grantPermissionToSingleUser

@Deprecated
void grantPermissionToSingleUser(int permission,
                                            String username)
Deprecated. Use grantPermissionToSingleUser(ProjectPermissionKey, String).


grantPermissionToSingleUser

void grantPermissionToSingleUser(String permission,
                                 String username)

grantPermissionToSingleUser

void grantPermissionToSingleUser(ProjectPermissionKey permission,
                                 String username)

grantPermissionToReporter

@Deprecated
void grantPermissionToReporter(int permission)
Deprecated. Use grantPermissionToReporter(ProjectPermissionKey).


grantPermissionToReporter

void grantPermissionToReporter(String permission)

grantPermissionToReporter

void grantPermissionToReporter(ProjectPermissionKey permission)

grantPermissionToProjectLead

@Deprecated
void grantPermissionToProjectLead(int permission)
Deprecated. Use grantPermissionToProjectLead(ProjectPermissionKey).


grantPermissionToProjectLead

void grantPermissionToProjectLead(String permission)

grantPermissionToProjectLead

void grantPermissionToProjectLead(ProjectPermissionKey permission)

grantPermissionToCurrentAssignee

@Deprecated
void grantPermissionToCurrentAssignee(int permission)
Deprecated. Use grantPermissionToCurrentAssignee(ProjectPermissionKey).


grantPermissionToCurrentAssignee

void grantPermissionToCurrentAssignee(String permission)

grantPermissionToCurrentAssignee

void grantPermissionToCurrentAssignee(ProjectPermissionKey permission)

grantPermissionToUserCustomFieldValue

@Deprecated
void grantPermissionToUserCustomFieldValue(int permission,
                                                      String customFieldId)
Deprecated. Use grantPermissionToUserCustomFieldValue(ProjectPermissionKey, String).


grantPermissionToUserCustomFieldValue

void grantPermissionToUserCustomFieldValue(String permission,
                                           String customFieldId)

grantPermissionToUserCustomFieldValue

void grantPermissionToUserCustomFieldValue(ProjectPermissionKey permission,
                                           String customFieldId)

grantPermissionToGroupCustomFieldValue

@Deprecated
void grantPermissionToGroupCustomFieldValue(int permission,
                                                       String customFieldId)
Deprecated. Use grantPermissionToGroupCustomFieldValue(ProjectPermissionKey, String).


grantPermissionToGroupCustomFieldValue

void grantPermissionToGroupCustomFieldValue(String permission,
                                            String customFieldId)

grantPermissionToGroupCustomFieldValue

void grantPermissionToGroupCustomFieldValue(ProjectPermissionKey permission,
                                            String customFieldId)

grantPermissionToProjectRole

@Deprecated
void grantPermissionToProjectRole(int permission,
                                             String projectRoleId)
Deprecated. Use grantPermissionToProjectRole(ProjectPermissionKey, String).


grantPermissionToProjectRole

void grantPermissionToProjectRole(String permission,
                                  String projectRoleId)

grantPermissionToProjectRole

void grantPermissionToProjectRole(ProjectPermissionKey permission,
                                  String projectRoleId)

removePermission

@Deprecated
void removePermission(int permissionType,
                                 String permissionParam)
Deprecated. Use removePermission(ProjectPermissionKey, String) or removePermission(GlobalPermissionKey, String).

Remove the given permission setting.

Parameters:
permissionType - the permission type. See PermissionSchemes.Type for constants.
permissionParam - the permission parameter. eg group-name for group based permissions, ID for project roles.

removePermission

void removePermission(String permissionType,
                      String permissionParam)

removePermission

void removePermission(ProjectPermissionKey permissionType,
                      String permissionParam)

removePermission

void removePermission(GlobalPermissionKey permissionType,
                      String permissionParam)


Copyright © 2002-2015 Atlassian. All Rights Reserved.