com.atlassian.jira.rpc.soap.service
Class ServiceHelper

java.lang.Object
  extended by com.atlassian.jira.rpc.soap.service.ServiceHelper

public class ServiceHelper
extends Object

A simple helper class that SchemeService and ProejctService can use to populate a RemotePermissionScheme.


Constructor Summary
ServiceHelper(com.atlassian.jira.security.PermissionManager permissionManager, com.atlassian.jira.permission.PermissionSchemeManager permissionSchemeManager, com.atlassian.jira.permission.SchemePermissions schemePermissions)
           
 
Method Summary
 RemotePermission[] getAllPermissions(User admin)
           
protected  void populatePermissionEntityMappings(List entityMappings, RemotePermissionScheme remotePermissionScheme, RemotePermission permission)
           
protected  RemotePermissionScheme populateSchemePermissions(User admin, org.ofbiz.core.entity.GenericValue permissionScheme)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceHelper

public ServiceHelper(com.atlassian.jira.security.PermissionManager permissionManager,
                     com.atlassian.jira.permission.PermissionSchemeManager permissionSchemeManager,
                     com.atlassian.jira.permission.SchemePermissions schemePermissions)
Method Detail

populateSchemePermissions

protected RemotePermissionScheme populateSchemePermissions(User admin,
                                                           org.ofbiz.core.entity.GenericValue permissionScheme)
                                                    throws RemoteException,
                                                           org.ofbiz.core.entity.GenericEntityException,
                                                           EntityNotFoundException
Throws:
RemoteException
org.ofbiz.core.entity.GenericEntityException
EntityNotFoundException

populatePermissionEntityMappings

protected void populatePermissionEntityMappings(List entityMappings,
                                                RemotePermissionScheme remotePermissionScheme,
                                                RemotePermission permission)
                                         throws EntityNotFoundException
Throws:
EntityNotFoundException

getAllPermissions

public RemotePermission[] getAllPermissions(User admin)
                                     throws RemotePermissionException,
                                            RemoteException
Throws:
RemotePermissionException
RemoteException


Copyright © 2004-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.