public interface WorkbasketQuery extends BaseQuery<WorkbasketSummary>
| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
accessIdsHavePermission(WorkbasketAuthorization permission,
String... accessIds)
Setting up the permission which should be granted on the result workbaskets and the users which should be
checked.
|
WorkbasketQuery |
ascending()
Sort the query result in ascending order.
|
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 |
descending()
Sort the query result in descending order.
|
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 |
keyLike(String... key)
Add keys to your query.
|
WorkbasketQuery |
keyOrNameLike(String... searchString)
Add search strings to your query that are searched case-insensitively in the key and name fields of workbaskets.
|
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 |
nameLike(String... name)
Add names to your query.
|
WorkbasketQuery |
orderByKey()
Sort the query result by key.
|
WorkbasketQuery |
orderByName()
Sort the query result by name.
|
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 keyLike(String... key)
key - the keys as StringsWorkbasketQuery nameIn(String... name)
name - the names as StringsWorkbasketQuery nameLike(String... name)
name - the names as StringsWorkbasketQuery keyOrNameLike(String... searchString)
searchString - the seach 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 accessIdsHavePermission(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.WorkbasketQuery orderByName() throws InvalidArgumentException, InvalidRequestException
InvalidArgumentException - when orderByName() has already been called.InvalidRequestException - when orderByName() has already been called.WorkbasketQuery orderByKey() throws InvalidRequestException
InvalidRequestException - when orderByKey() has already been called.WorkbasketQuery ascending() throws InvalidRequestException
InvalidRequestException - when neither orderByKey() nor orderByName has already been called previously or when ascending() or
descending() has been called immediately before this callWorkbasketQuery descending() throws InvalidRequestException
InvalidRequestException - when neither orderByKey() nor orderByName has already been called previously or when ascending() or
descending() has been called immediately before this callCopyright © 2018. All rights reserved.