robe-admin/src/main/java/io/robe/admin/resources/PermissionResource.java
@RobeService(group = "Permission", description = "Return all permissions as a collection.")
    @GET
    @UnitOfWork(readOnly = true, cacheMode = GET, flushMode = FlushMode.MANUAL)
    public List<Permission> getAll(@RobeAuth Credentials credentials, @SearchParam SearchModel search) {
        return permissionDao.findAllStrict(search);
    }
@RobeService(group = "Permission", description = "Return all permissions as a collection.")
    @GET
    @UnitOfWork(readOnly = true, cacheMode = GET, flushMode = FlushMode.MANUAL)
    public List<Permission> getAll(@RobeAuth Credentials credentials, @SearchParam SearchModel search) {
        return permissionDao.findAllStrict(search);
    }
@ RobeService ( group = "Permission" , description = "Return all permissions as a collection." ) @ GET @ UnitOfWork ( readOnly = true , cacheMode = GET , flushMode = FlushMode . MANUAL ) public List < Permission > getAll ( @ RobeAuth Credentials credentials , @ SearchParam SearchModel search ) { return permissionDao . findAllStrict ( search ) ; }
Return all {@link Permission}s as a collection.

@param credentials Injected by @{@link RobeAuth} annotation for authentication.
@return all @{@link Permission}s as a collection.
Return all { @link Permission } s as a collection .