public interface PermissionService extends de.alpharogroup.service.domain.DomainService<Integer,Permission>
PermissionService.| Modifier and Type | Method and Description |
|---|---|
Permission |
createAndSavePermissions(String name,
String description)
Factory method to create and save a new
Permission object. |
Permission |
createAndSavePermissions(String name,
String description,
String shortcut)
Factory method to create and save a new
Permission object. |
List<Permission> |
find(String description,
String permissionName,
String shortcut)
Find all
Permission objects by the given parameters. |
Permission |
findByName(String name)
Find the
Permission object by the given name. |
Permission |
findByShortcut(String shortcut)
Find the
Permission object by the given shortcut. |
Permission createAndSavePermissions(String name, String description)
Permission object.name - the namedescription - the descriptionPermission object.Permission createAndSavePermissions(String name, String description, String shortcut)
Permission object.name - the namedescription - the descriptionshortcut - the shortcutPermission object.List<Permission> find(String description, String permissionName, String shortcut)
Permission objects by the given parameters.description - the descriptionpermissionName - the permission nameshortcut - the shortcutPermission objects.Permission findByName(String name)
Permission object by the given name.name - the namePermission object or null if not.Permission findByShortcut(String shortcut)
Permission object by the given shortcut.shortcut - the shortcutPermission object or null if not.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.