@Repository public class UserNamespaceAuthorizationDaoImpl extends AbstractHerdDao implements UserNamespaceAuthorizationDao
AbstractHerdDao.AggregateFunctionBUSINESS_OBJECT_DATA_PARTITIONS, BUSINESS_OBJECT_DATA_SUBPARTITIONS, configurationHelper, DEFAULT_SINGLE_DAY_DATE_MASK, MAX_PARTITION_FILTERS_PER_REQUESTentityManager| Constructor and Description |
|---|
UserNamespaceAuthorizationDaoImpl() |
| 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
|
getQueryRestriction, getQueryRestriction, getQueryRestriction, getQueryRestriction, getQueryRestrictionOnBusinessObjectDataVersionAndStatus, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnPartitionValues, getQueryRestrictionOnStorage, savedelete, detach, executeSingleResultQuery, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, getPredicateForInClause, query, queryByNamedParams, saveAndRefreshclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, detach, findAll, findById, findByNamedProperties, findUniqueByNamedProperties, getCurrentTimestamp, getEntityManager, query, queryByNamedParams, save, saveAndRefreshpublic List<String> getUserIdsWithWriteOrWriteDescriptiveContentPermissionsByNamespace(NamespaceEntity namespaceEntity)
UserNamespaceAuthorizationDaogetUserIdsWithWriteOrWriteDescriptiveContentPermissionsByNamespace in interface UserNamespaceAuthorizationDaonamespaceEntity - the namespace entitypublic UserNamespaceAuthorizationEntity getUserNamespaceAuthorizationByKey(UserNamespaceAuthorizationKey userNamespaceAuthorizationKey)
UserNamespaceAuthorizationDaogetUserNamespaceAuthorizationByKey in interface UserNamespaceAuthorizationDaouserNamespaceAuthorizationKey - the user namespace authorization key (case-insensitive)public List<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByUserId(String userId)
UserNamespaceAuthorizationDaogetUserNamespaceAuthorizationsByUserId in interface UserNamespaceAuthorizationDaouserId - the user id (case-insensitive)public List<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByUserIdStartsWith(String userIdStartsWith)
UserNamespaceAuthorizationDaogetUserNamespaceAuthorizationsByUserIdStartsWith in interface UserNamespaceAuthorizationDaouserIdStartsWith - String to searchpublic List<UserNamespaceAuthorizationEntity> getUserNamespaceAuthorizationsByNamespace(String namespace)
UserNamespaceAuthorizationDaogetUserNamespaceAuthorizationsByNamespace in interface UserNamespaceAuthorizationDaonamespace - the namespace (case-insensitive)Copyright © 2021. All rights reserved.