Package step.plugins.licensing.user
Class RoleCategoryMapper
- java.lang.Object
-
- step.plugins.licensing.user.RoleCategoryMapper
-
public class RoleCategoryMapper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description RoleCategoryMapper(step.core.access.RoleProvider roleProvider, java.util.List<StepUserCategorySpecification> specifications)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Category
getCategoryForRole(java.lang.String roleName)
java.util.List<ch.exense.licensing.model.Resource>
getRelevantResources()
java.util.Set<java.lang.String>
getRolesForCategory(Category category)
boolean
hasMappings()
-
-
-
Constructor Detail
-
RoleCategoryMapper
public RoleCategoryMapper(step.core.access.RoleProvider roleProvider, java.util.List<StepUserCategorySpecification> specifications)
-
-
Method Detail
-
getRelevantResources
public java.util.List<ch.exense.licensing.model.Resource> getRelevantResources()
-
hasMappings
public boolean hasMappings()
-
getCategoryForRole
public Category getCategoryForRole(java.lang.String roleName)
-
getRolesForCategory
public java.util.Set<java.lang.String> getRolesForCategory(Category category)
-
-