Interface Authorizables
-
- All Known Implementing Classes:
AuthorizablesImpl
@ProviderType public interface Authorizables
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Authorizables.Context
static interface
Authorizables.Filter
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Class<? extends AuthorizableWrapper>>
SELECTORS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Set<? extends AuthorizableWrapper>
findAuthorizables(@NotNull Authorizables.Context context, @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable String nameQueryPattern, @Nullable Authorizables.Filter filter)
@Nullable AuthorizableWrapper
getAuthorizable(@NotNull Authorizables.Context context, @NotNull String id)
<T extends AuthorizableWrapper>
@NotNull Collection<T>loadAuthorizables(@NotNull Authorizables.Context context, @NotNull Class<T> selector, @NotNull Set<String> idSet)
static @Nullable Class<? extends AuthorizableWrapper>
selector(@Nullable String key)
-
-
-
Field Detail
-
SELECTORS
static final Map<String,Class<? extends AuthorizableWrapper>> SELECTORS
-
-
Method Detail
-
selector
@Nullable static @Nullable Class<? extends AuthorizableWrapper> selector(@Nullable @Nullable String key)
-
getAuthorizable
@Nullable @Nullable AuthorizableWrapper getAuthorizable(@NotNull @NotNull Authorizables.Context context, @NotNull @NotNull String id) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
findAuthorizables
@NotNull @NotNull Set<? extends AuthorizableWrapper> findAuthorizables(@NotNull @NotNull Authorizables.Context context, @Nullable @Nullable Class<? extends AuthorizableWrapper> selector, @Nullable @Nullable String nameQueryPattern, @Nullable @Nullable Authorizables.Filter filter) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
loadAuthorizables
@NotNull <T extends AuthorizableWrapper> @NotNull Collection<T> loadAuthorizables(@NotNull @NotNull Authorizables.Context context, @NotNull @NotNull Class<T> selector, @NotNull @NotNull Set<String> idSet) throws javax.jcr.RepositoryException
- Throws:
javax.jcr.RepositoryException
-
-