public class EntityTypeRepositorySecurityDecorator extends AbstractRepositoryDecorator<EntityType>
TODO replace permission based entity filtering with generic row-level security once available
| Constructor and Description |
|---|
EntityTypeRepositorySecurityDecorator(Repository<EntityType> delegateRepository,
SystemEntityTypeRegistry systemEntityTypeRegistry,
PermissionService permissionService,
DataService dataService) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(EntityType entity) |
Integer |
add(Stream<EntityType> entities) |
AggregateResult |
aggregate(AggregateQuery aggregateQuery) |
long |
count() |
long |
count(Query<EntityType> q) |
void |
delete(EntityType entity) |
void |
delete(Stream<EntityType> entities) |
void |
deleteAll() |
void |
deleteAll(Stream<Object> ids) |
void |
deleteById(Object id) |
Stream<EntityType> |
findAll(Query<EntityType> q) |
Stream<EntityType> |
findAll(Stream<Object> ids) |
Stream<EntityType> |
findAll(Stream<Object> ids,
Fetch fetch) |
EntityType |
findOne(Query<EntityType> q) |
EntityType |
findOneById(Object id) |
EntityType |
findOneById(Object id,
Fetch fetch) |
void |
forEachBatched(Fetch fetch,
Consumer<List<EntityType>> consumer,
int batchSize) |
Iterator<EntityType> |
iterator() |
void |
update(EntityType entity) |
void |
update(Stream<EntityType> entities) |
close, delegate, getCapabilities, getEntityType, getName, getQueryOperators, queryclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachBatched, getExistingIDs, upsertBatchforEach, spliteratorpublic EntityTypeRepositorySecurityDecorator(Repository<EntityType> delegateRepository, SystemEntityTypeRegistry systemEntityTypeRegistry, PermissionService permissionService, DataService dataService)
public long count()
count in interface Repository<EntityType>count in class AbstractRepositoryDecorator<EntityType>public long count(Query<EntityType> q)
count in interface Repository<EntityType>count in class AbstractRepositoryDecorator<EntityType>public Stream<EntityType> findAll(Query<EntityType> q)
findAll in interface Repository<EntityType>findAll in class AbstractRepositoryDecorator<EntityType>public Iterator<EntityType> iterator()
iterator in interface Iterable<EntityType>iterator in class AbstractRepositoryDecorator<EntityType>public void forEachBatched(Fetch fetch, Consumer<List<EntityType>> consumer, int batchSize)
forEachBatched in interface Repository<EntityType>forEachBatched in class AbstractRepositoryDecorator<EntityType>public EntityType findOne(Query<EntityType> q)
findOne in interface Repository<EntityType>findOne in class AbstractRepositoryDecorator<EntityType>public EntityType findOneById(Object id)
findOneById in interface Repository<EntityType>findOneById in class AbstractRepositoryDecorator<EntityType>public EntityType findOneById(Object id, Fetch fetch)
findOneById in interface Repository<EntityType>findOneById in class AbstractRepositoryDecorator<EntityType>public Stream<EntityType> findAll(Stream<Object> ids)
findAll in interface Repository<EntityType>findAll in class AbstractRepositoryDecorator<EntityType>public Stream<EntityType> findAll(Stream<Object> ids, Fetch fetch)
findAll in interface Repository<EntityType>findAll in class AbstractRepositoryDecorator<EntityType>public AggregateResult aggregate(AggregateQuery aggregateQuery)
aggregate in interface Repository<EntityType>aggregate in class AbstractRepositoryDecorator<EntityType>public void update(EntityType entity)
update in interface Repository<EntityType>update in class AbstractRepositoryDecorator<EntityType>public void update(Stream<EntityType> entities)
update in interface Repository<EntityType>update in class AbstractRepositoryDecorator<EntityType>public void delete(EntityType entity)
delete in interface Repository<EntityType>delete in class AbstractRepositoryDecorator<EntityType>public void delete(Stream<EntityType> entities)
delete in interface Repository<EntityType>delete in class AbstractRepositoryDecorator<EntityType>public void deleteById(Object id)
deleteById in interface Repository<EntityType>deleteById in class AbstractRepositoryDecorator<EntityType>public void deleteAll(Stream<Object> ids)
deleteAll in interface Repository<EntityType>deleteAll in class AbstractRepositoryDecorator<EntityType>public void deleteAll()
deleteAll in interface Repository<EntityType>deleteAll in class AbstractRepositoryDecorator<EntityType>public void add(EntityType entity)
add in interface Repository<EntityType>add in class AbstractRepositoryDecorator<EntityType>public Integer add(Stream<EntityType> entities)
add in interface Repository<EntityType>add in class AbstractRepositoryDecorator<EntityType>Copyright © 2017. All rights reserved.