Uses of Class
de.terrestris.shoguncore.model.security.Permission
-
Packages that use Permission Package Description de.terrestris.shoguncore.model.security de.terrestris.shoguncore.security.access.entity de.terrestris.shoguncore.service -
-
Uses of Permission in de.terrestris.shoguncore.model.security
Methods in de.terrestris.shoguncore.model.security that return Permission Modifier and Type Method Description static PermissionPermission. fromString(String inputValue)static PermissionPermission. valueOf(String name)Returns the enum constant of this type with the specified name.static Permission[]Permission. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.terrestris.shoguncore.model.security that return types with arguments of type Permission Modifier and Type Method Description Set<Permission>PermissionCollection. getPermissions()Method parameters in de.terrestris.shoguncore.model.security with type arguments of type Permission Modifier and Type Method Description voidPermissionCollection. setPermissions(Set<Permission> permissions)Constructor parameters in de.terrestris.shoguncore.model.security with type arguments of type Permission Constructor Description PermissionCollection(Set<Permission> permissions) -
Uses of Permission in de.terrestris.shoguncore.security.access.entity
Methods in de.terrestris.shoguncore.security.access.entity with parameters of type Permission Modifier and Type Method Description booleanAlwaysAllowReadPermissionEvaluator. hasPermission(User user, E entity, Permission permission)Grants READ permission on the user object of the currently logged in user.booleanPermissionCollectionPermissionEvaluator. hasPermission(User user, E permissionCollection, Permission permission)Always grants every permission on permission collections.booleanPersistentObjectPermissionEvaluator. hasPermission(User user, E entity, Permission permission)booleanUserGroupPermissionEvaluator. hasPermission(User user, E userGroup, Permission permission)Grants READ permission on groups where the user is a member.booleanUserPermissionEvaluator. hasPermission(User user, E entity, Permission permission)Grants READ permission on the user object of the currently logged in user. -
Uses of Permission in de.terrestris.shoguncore.service
Methods in de.terrestris.shoguncore.service with parameters of type Permission Modifier and Type Method Description voidPermissionAwareCrudService. addAndSaveGroupPermissions(E entity, UserGroup userGroup, Permission... permissions)This method adds (user) permissions to the passed entity and persists (!) the permission collection! If no permissions have been set before, they will be created.voidPermissionAwareCrudService. addAndSaveUserPermissions(E entity, User user, Permission... permissions)This method adds (user) permissions to the passed entity and persists (!) the permission collection! If no permissions have been set before, they will be created.voidPermissionAwareCrudService. removeAndSaveGroupPermissions(E entity, UserGroup userGroup, Permission... permissions)This method removes (group) permissions from the passed entity and persists (!) the permission collection!voidPermissionAwareCrudService. removeAndSaveUserPermissions(E entity, User user, Permission... permissions)This method removes (user) permissions from the passed entity and persists (!) the permission collection!
-