public interface WorkbasketQuery extends BaseQuery<WorkbasketSummary>
| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
accessIdsHavePersmission(WorkbasketAuthorization permission,
String... accessIds)
Setting up the permission which should be granted on the result workbaskets and the users which should be
checked.
|
WorkbasketQuery |
callerHasPermission(WorkbasketAuthorization permission)
Setting up the permissions for the accessIds of the CurrentUserContext.
|
WorkbasketQuery |
createdAfter(java.time.Instant createdAfter)
Add your createdAfter-Date to your query.
|
WorkbasketQuery |
createdBefore(java.time.Instant createdBefore)
Add your createdBefore-Date to your query.
|
WorkbasketQuery |
descriptionLike(String description)
Add your description to your query.
|
WorkbasketQuery |
domainIn(String... domain)
Add your domains to your query.
|
WorkbasketQuery |
keyIn(String... key)
Add your keys to your query.
|
WorkbasketQuery |
modifiedAfter(java.time.Instant modifiedAfter)
Add your modifiedAfter-Date to your query.
|
WorkbasketQuery |
modifiedBefore(java.time.Instant modifiedBefore)
Add your modifiedBefore-Date to your query.
|
WorkbasketQuery |
nameIn(String... name)
Add your names to your query.
|
WorkbasketQuery |
ownerIn(String... owners)
Add the owners to your query.
|
WorkbasketQuery |
typeIn(WorkbasketType... type)
Add your types to your query.
|
WorkbasketQuery keyIn(String... key)
key - the keys as StringsWorkbasketQuery nameIn(String... name)
name - the names as StringsWorkbasketQuery domainIn(String... domain)
domain - the domains as StringsWorkbasketQuery typeIn(WorkbasketType... type)
type - the typesWorkbasketQuery createdAfter(java.time.Instant createdAfter)
createdAfter - as InstantWorkbasketQuery createdBefore(java.time.Instant createdBefore)
createdBefore - as InstantWorkbasketQuery modifiedAfter(java.time.Instant modifiedAfter)
modifiedAfter - as InstantWorkbasketQuery modifiedBefore(java.time.Instant modifiedBefore)
modifiedBefore - as InstantWorkbasketQuery descriptionLike(String description)
description - your descriptionWorkbasketQuery ownerIn(String... owners)
owners - the owners as StringWorkbasketQuery accessIdsHavePersmission(WorkbasketAuthorization permission, String... accessIds) throws InvalidArgumentException
permission - which should be used for results.accessIds - Users which sould be checked for given permissions on workbaskets.InvalidArgumentException - when permission OR the accessIds are NULL.WorkbasketQuery callerHasPermission(WorkbasketAuthorization permission) throws InvalidArgumentException
permission - which should be used for results.InvalidArgumentException - when permission OR accessIds of the userContext are NULL.Copyright © 2018. All rights reserved.