| Package | Description |
|---|---|
| de.alpharogroup.user.service | |
| de.alpharogroup.user.service.api |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionDomainService.createAndSavePermissions(String name,
String description)
Factory method to create and save a new
Permission object. |
Permission |
PermissionDomainService.createAndSavePermissions(String name,
String description,
String shortcut)
Factory method to create and save a new
Permission object. |
Permission |
PermissionDomainService.findByName(String name)
Find the
Permission object by the given name. |
Permission |
PermissionDomainService.findByShortcut(String shortcut)
Find the
Permission object by the given shortcut. |
| Modifier and Type | Method and Description |
|---|---|
List<Permission> |
PermissionDomainService.find(String description,
String permissionName,
String shortcut)
Find all
Permission objects by the given parameters. |
List<Permission> |
RoleDomainService.findAllPermissions(Role role)
Find all
Permission objects from the given Role object. |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationPermissionDomainService.addPermission(User provider,
User subscriber,
Permission permission)
Adds the given permission for the given subscriber provided from the provider.
|
List<RelationPermission> |
RelationPermissionDomainService.find(User provider,
User subscriber,
Permission permission)
Find a list of RelationPermissions from the given provider and to the subscriber and the
given permission if the provider granted this permission to the subscriber.
|
RelationPermission |
RelationPermissionDomainService.findRelationPermissions(User provider,
User subscriber,
Permission permission)
Finds the RelationPermissions object from the given permissions the given provider and the
subscriber.
|
void |
RelationPermissionDomainService.removePermission(User provider,
User subscriber,
Permission permission)
Removes the given permission for the given subscriber provided from the provider.
|
| Modifier and Type | Method and Description |
|---|---|
Role |
RoleDomainService.createAndSaveRole(String rolename,
String description,
Set<Permission> permissions)
Creates a new
Role object with the given arguments and save it. |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionService.createAndSavePermissions(String name,
String description)
Factory method to create and save a new
Permission object. |
Permission |
PermissionService.createAndSavePermissions(String name,
String description,
String shortcut)
Factory method to create and save a new
Permission object. |
Permission |
PermissionService.findByName(String name)
Find the
Permission object by the given name. |
Permission |
PermissionService.findByShortcut(String shortcut)
Find the
Permission object by the given shortcut. |
| Modifier and Type | Method and Description |
|---|---|
List<Permission> |
PermissionService.find(String description,
String permissionName,
String shortcut)
Find all
Permission objects by the given parameters. |
List<Permission> |
RoleService.findAllPermissions(Role role)
Find all
Permission objects from the given Role object. |
| Modifier and Type | Method and Description |
|---|---|
void |
RelationPermissionService.addPermission(User provider,
User subscriber,
Permission permission)
Adds the given permission for the given subscriber provided from the provider.
|
List<RelationPermission> |
RelationPermissionService.find(User provider,
User subscriber,
Permission permission)
Find a list of RelationPermissions from the given provider and to the subscriber and the
given permission if the provider granted this permission to the subscriber.
|
RelationPermission |
RelationPermissionService.findRelationPermissions(User provider,
User subscriber,
Permission permission)
Finds the RelationPermissions object from the given permissions the given provider and the
subscriber.
|
void |
RelationPermissionService.removePermission(User provider,
User subscriber,
Permission permission)
Removes the given permission for the given subscriber provided from the provider.
|
| Modifier and Type | Method and Description |
|---|---|
Role |
RoleService.createAndSaveRole(String rolename,
String description,
Set<Permission> permissions)
Creates a new
Role object with the given arguments and save it. |
Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.