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(String)
 void grantPermissionToCurrentAssignee(String permission)
           
 void grantPermissionToGroup(int permission, String groupName)
          Deprecated. Use grantPermissionToGroup(String, String)
 void grantPermissionToGroup(String permission, String groupName)
           
 void grantPermissionToGroupCustomFieldValue(int permission, String customFieldId)
          Deprecated. Use grantPermissionToGroupCustomFieldValue(String, String)
 void grantPermissionToGroupCustomFieldValue(String permission, String customFieldId)
           
 void grantPermissionToProjectLead(int permission)
          Deprecated. Use grantPermissionToProjectLead(String)
 void grantPermissionToProjectLead(String permission)
           
 void grantPermissionToProjectRole(int permission, String projectRoleId)
          Deprecated. Use grantPermissionToProjectRole(String, String)
 void grantPermissionToProjectRole(String permission, String projectRoleId)
           
 void grantPermissionToReporter(int permission)
          Deprecated. Use grantPermissionToReporter(String)
 void grantPermissionToReporter(String permission)
           
 void grantPermissionToSingleUser(int permission, String username)
          Deprecated. Use grantPermissionToSingleUser(String, String)
 void grantPermissionToSingleUser(String permission, String username)
           
 void grantPermissionToUserCustomFieldValue(int permission, String customFieldId)
          Deprecated. Use grantPermissionToUserCustomFieldValue(String, String)
 void grantPermissionToUserCustomFieldValue(String permission, String customFieldId)
           
 void removePermission(int permissionType, String permissionParam)
          Deprecated. Use removePermission(String, String)
 void removePermission(String permissionType, String permissionParam)
          Remove the given permission setting.
 

Method Detail

grantPermissionToGroup

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


grantPermissionToGroup

void grantPermissionToGroup(String permission,
                            String groupName)

grantPermissionToSingleUser

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


grantPermissionToSingleUser

void grantPermissionToSingleUser(String permission,
                                 String username)

grantPermissionToReporter

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


grantPermissionToReporter

void grantPermissionToReporter(String permission)

grantPermissionToProjectLead

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


grantPermissionToProjectLead

void grantPermissionToProjectLead(String permission)

grantPermissionToCurrentAssignee

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


grantPermissionToCurrentAssignee

void grantPermissionToCurrentAssignee(String permission)

grantPermissionToUserCustomFieldValue

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


grantPermissionToUserCustomFieldValue

void grantPermissionToUserCustomFieldValue(String permission,
                                           String customFieldId)

grantPermissionToGroupCustomFieldValue

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


grantPermissionToGroupCustomFieldValue

void grantPermissionToGroupCustomFieldValue(String permission,
                                            String customFieldId)

grantPermissionToProjectRole

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


grantPermissionToProjectRole

void grantPermissionToProjectRole(String permission,
                                  String projectRoleId)

removePermission

@Deprecated
void removePermission(int permissionType,
                                 String permissionParam)
Deprecated. Use removePermission(String, 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)
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


Copyright © 2002-2015 Atlassian. All Rights Reserved.