com.atlassian.jira.functest.framework.admin
Class PermissionSchemesImpl

java.lang.Object
  extended by com.atlassian.jira.functest.framework.AbstractFuncTestUtil
      extended by com.atlassian.jira.functest.framework.admin.PermissionSchemesImpl
All Implemented Interfaces:
PermissionSchemes, PermissionSchemes.PermissionScheme, FuncTestLogger

public class PermissionSchemesImpl
extends AbstractFuncTestUtil
implements PermissionSchemes, PermissionSchemes.PermissionScheme

Implements the PermissionSchemes and PermissionSchemes.PermissionScheme interfaces.

Since:
v4.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.admin.PermissionSchemes
PermissionSchemes.PermissionScheme
 
Field Summary
 
Fields inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
environmentData, FS, locators, logger, logIndentLevel, tester
 
Constructor Summary
PermissionSchemesImpl(net.sourceforge.jwebunit.WebTester tester, com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
           
 
Method Summary
 PermissionSchemes.PermissionScheme defaultScheme()
          Navigates to the Default Permission Scheme.
protected  Navigation getNavigation()
           
 void grantPermissionToGroup(int permission, String groupName)
           
 void removePermission(int permission, String groupName)
           
 PermissionSchemes.PermissionScheme scheme(String schemeName)
          Navigates to the scheme with the specified name.
 
Methods inherited from class com.atlassian.jira.functest.framework.AbstractFuncTestUtil
childLogIndentLevel, getAssertions, getEnvironmentData, getFuncTestHelperFactory, getLogger, log, log, navigation, submitAtPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionSchemesImpl

public PermissionSchemesImpl(net.sourceforge.jwebunit.WebTester tester,
                             com.atlassian.jira.webtests.util.JIRAEnvironmentData environmentData)
Method Detail

defaultScheme

public PermissionSchemes.PermissionScheme defaultScheme()
Description copied from interface: PermissionSchemes
Navigates to the Default Permission Scheme.

Specified by:
defaultScheme in interface PermissionSchemes
Returns:
the Default Permission Scheme to operate on.

scheme

public PermissionSchemes.PermissionScheme scheme(String schemeName)
Description copied from interface: PermissionSchemes
Navigates to the scheme with the specified name.

Specified by:
scheme in interface PermissionSchemes
Parameters:
schemeName - the permission scheme name.
Returns:
the Permission Scheme with the given name.

grantPermissionToGroup

public void grantPermissionToGroup(int permission,
                                   String groupName)
Specified by:
grantPermissionToGroup in interface PermissionSchemes.PermissionScheme

removePermission

public void removePermission(int permission,
                             String groupName)
Specified by:
removePermission in interface PermissionSchemes.PermissionScheme

getNavigation

protected Navigation getNavigation()


Copyright © 2002-2012 Atlassian. All Rights Reserved.