com.atlassian.jira.security.util
Class GroupToPermissionSchemeMapper

java.lang.Object
  extended by com.atlassian.jira.security.util.AbstractGroupMapper
      extended by com.atlassian.jira.security.util.AbstractGroupToSchemeMapper
          extended by com.atlassian.jira.security.util.GroupToPermissionSchemeMapper
All Implemented Interfaces:
GroupMapper

public class GroupToPermissionSchemeMapper
extends AbstractGroupToSchemeMapper


Constructor Summary
GroupToPermissionSchemeMapper(PermissionSchemeManager permissionSchemeManager, SchemePermissions schemePermissions)
           
 
Method Summary
protected  Map init()
          Nasty hacks to get around the dependencies problem
protected  Map realInit()
          Go through all the Permission Schemes and create a Map, where the key is the group name and values are Sets of Schemes
 
Methods inherited from class com.atlassian.jira.security.util.AbstractGroupToSchemeMapper
getSchemeManager
 
Methods inherited from class com.atlassian.jira.security.util.AbstractGroupMapper
addEntry, getGroupMapping, getMappedValues, setGroupMapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupToPermissionSchemeMapper

public GroupToPermissionSchemeMapper(PermissionSchemeManager permissionSchemeManager,
                                     SchemePermissions schemePermissions)
                              throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException
Method Detail

init

protected Map init()
            throws org.ofbiz.core.entity.GenericEntityException
Nasty hacks to get around the dependencies problem

Specified by:
init in class AbstractGroupMapper
Throws:
org.ofbiz.core.entity.GenericEntityException

realInit

protected Map realInit()
                throws org.ofbiz.core.entity.GenericEntityException
Go through all the Permission Schemes and create a Map, where the key is the group name and values are Sets of Schemes

Throws:
org.ofbiz.core.entity.GenericEntityException


Copyright © 2002-2013 Atlassian. All Rights Reserved.