public interface UserNamespaceAuthorizationDao extends BaseJpaDao
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getUserIdsWithWriteOrWriteDescriptiveContentPermissionsByNamespace(NamespaceEntity namespaceEntity)
Gets a list of user ids for all users that have WRITE or WRITE_DESCRIPTIVE_CONTENT namespace permissions for the specified namespace.
|
UserNamespaceAuthorizationEntity |
getUserNamespaceAuthorizationByKey(UserNamespaceAuthorizationKey userNamespaceAuthorizationKey)
Gets a user namespace authorization by key.
|
List<UserNamespaceAuthorizationEntity> |
getUserNamespaceAuthorizationsByNamespace(String namespace)
Gets a list of user namespace authorizations for the specified namespace.
|
List<UserNamespaceAuthorizationEntity> |
getUserNamespaceAuthorizationsByUserId(String userId)
Gets a list of user namespace authorizations for the specified user.
|
List<UserNamespaceAuthorizationEntity> |
getUserNamespaceAuthorizationsByUserIdStartsWith(String userIdStartsWith)
Gets a list of user namespace authorization entities where the user ID starts with the given string
|
delete, detach, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, query, queryByNamedParams, save, saveAndRefreshList<String> getUserIdsWithWriteOrWriteDescriptiveContentPermissionsByNamespace(NamespaceEntity namespaceEntity)
namespaceEntity - the namespace entityUserNamespaceAuthorizationEntity getUserNamespaceAuthorizationByKey(UserNamespaceAuthorizationKey userNamespaceAuthorizationKey)
userNamespaceAuthorizationKey - the user namespace authorization key (case-insensitive)List<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByUserId(String userId)
userId - the user id (case-insensitive)List<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByUserIdStartsWith(String userIdStartsWith)
userIdStartsWith - String to searchList<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByNamespace(String namespace)
namespace - the namespace (case-insensitive)Copyright © 2019. All rights reserved.