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