public interface WorkbasketQuery extends BaseQuery<WorkbasketSummary>
BaseQuery.SortDirection| Modifier and Type | Method and Description |
|---|---|
WorkbasketQuery |
accessIdsHavePermission(WorkbasketPermission permission,
String... accessIds)
Setting up the permission which should be granted on the result workbaskets and the users which should be
checked.
|
WorkbasketQuery |
callerHasPermission(WorkbasketPermission permission)
Add condition to query if the caller (one of the accessIds of the caller) has the given permission on the
workbasket.
|
WorkbasketQuery |
createdWithin(TimeInterval... intervals)
Add the time intervals within which the workbasket was created to your query.
|
WorkbasketQuery |
custom1In(String... custom1)
Add the 1st custom property to your query.
|
WorkbasketQuery |
custom1Like(String... custom1)
Add the 1st custom property for pattern matching to your query.
|
WorkbasketQuery |
custom2In(String... custom2)
Add the 2nd custom property to your query.
|
WorkbasketQuery |
custom2Like(String... custom2)
Add the 2nd custom property for pattern matching to your query.
|
WorkbasketQuery |
custom3In(String... custom3)
Add the 3rd custom property to your query.
|
WorkbasketQuery |
custom3Like(String... custom3)
Add the 3rd custom property for pattern matching to your query.
|
WorkbasketQuery |
custom4In(String... custom4)
Add the 4th custom property to your query.
|
WorkbasketQuery |
custom4Like(String... custom4)
Add the 4th custom property for pattern matching to your query.
|
WorkbasketQuery |
descriptionLike(String... description)
Add your description to your query.
|
WorkbasketQuery |
domainIn(String... domain)
Add your domains to your query.
|
WorkbasketQuery |
domainLike(String... domain)
Add the domains for pattern matching to your query.
|
WorkbasketQuery |
idIn(String... id)
Add your ids 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 |
modifiedWithin(TimeInterval... intervals)
Add the time intervals within which the workbasket was modified to your query.
|
WorkbasketQuery |
nameIn(String... name)
Add your names to your query.
|
WorkbasketQuery |
nameLike(String... name)
Add names to your query.
|
WorkbasketQuery |
orderByCustom1(BaseQuery.SortDirection sortDirection)
Sort the query result by custom property 1.
|
WorkbasketQuery |
orderByCustom2(BaseQuery.SortDirection sortDirection)
Sort the query result by custom property 2.
|
WorkbasketQuery |
orderByCustom3(BaseQuery.SortDirection sortDirection)
Sort the query result by custom property 3.
|
WorkbasketQuery |
orderByCustom4(BaseQuery.SortDirection sortDirection)
Sort the query result by custom property 4.
|
WorkbasketQuery |
orderByDescription(BaseQuery.SortDirection sortDirection)
Sort the query result by description.
|
WorkbasketQuery |
orderByDomain(BaseQuery.SortDirection sortDirection)
Sort the query result by domain.
|
WorkbasketQuery |
orderByKey(BaseQuery.SortDirection sortDirection)
Sort the query result by key.
|
WorkbasketQuery |
orderByName(BaseQuery.SortDirection sortDirection)
Sort the query result by name.
|
WorkbasketQuery |
orderByOrgLevel1(BaseQuery.SortDirection sortDirection)
Sort the query result by organization level 1.
|
WorkbasketQuery |
orderByOrgLevel2(BaseQuery.SortDirection sortDirection)
Sort the query result by organization level 2.
|
WorkbasketQuery |
orderByOrgLevel3(BaseQuery.SortDirection sortDirection)
Sort the query result by organization level 3.
|
WorkbasketQuery |
orderByOrgLevel4(BaseQuery.SortDirection sortDirection)
Sort the query result by organization level 4.
|
WorkbasketQuery |
orderByOwner(BaseQuery.SortDirection sortDirection)
Sort the query result by owner.
|
WorkbasketQuery |
orderByType(BaseQuery.SortDirection sortDirection)
Sort the query result by type.
|
WorkbasketQuery |
orgLevel1In(String... orgLevel1)
Add the 1st organization level to your query.
|
WorkbasketQuery |
orgLevel1Like(String... orgLevel1)
Add the 1st organization level for pattern matching to your query.
|
WorkbasketQuery |
orgLevel2In(String... orgLevel2)
Add the 2nd organization level to your query.
|
WorkbasketQuery |
orgLevel2Like(String... orgLevel2)
Add the 2nd organization level for pattern matching to your query.
|
WorkbasketQuery |
orgLevel3In(String... orgLevel3)
Add the 3rd organization level to your query.
|
WorkbasketQuery |
orgLevel3Like(String... orgLevel3)
Add the 3rd organization level for pattern matching to your query.
|
WorkbasketQuery |
orgLevel4In(String... orgLevel4)
Add the 4th organization level to your query.
|
WorkbasketQuery |
orgLevel4Like(String... orgLevel4)
Add the 4th organization level for pattern matching to your query.
|
WorkbasketQuery |
ownerIn(String... owners)
Add the owners to your query.
|
WorkbasketQuery |
ownerLike(String... owners)
Add the owners for pattern matching to your query.
|
WorkbasketQuery |
typeIn(WorkbasketType... type)
Add your types to your query.
|
WorkbasketQuery idIn(String... id)
id - the id as StringsWorkbasketQuery 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 createdWithin(TimeInterval... intervals)
intervals - - the TimeIntervals within which the workbasket was createdWorkbasketQuery modifiedWithin(TimeInterval... intervals)
intervals - - the TimeIntervals within which the workbasket was createdWorkbasketQuery descriptionLike(String... description)
description - your descriptionWorkbasketQuery ownerIn(String... owners)
owners - the owners as StringWorkbasketQuery ownerLike(String... owners)
owners - the owners as StringsWorkbasketQuery accessIdsHavePermission(WorkbasketPermission permission, String... accessIds) throws InvalidArgumentException, NotAuthorizedException
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.NotAuthorizedException - if the current user is not member of role BUSINESS_ADMIN or ADMINWorkbasketQuery callerHasPermission(WorkbasketPermission permission)
permission - the permission for the query condition.WorkbasketQuery orderByName(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByKey(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByDescription(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByOwner(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByType(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByDomain(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery domainLike(String... domain)
domain - the domains of workbaskets as StringsWorkbasketQuery orderByCustom1(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByCustom2(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByCustom3(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByCustom4(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByOrgLevel1(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByOrgLevel2(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByOrgLevel3(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery orderByOrgLevel4(BaseQuery.SortDirection sortDirection)
sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null,
the result is sorted in ascending orderWorkbasketQuery custom1In(String... custom1)
custom1 - the 1st custom property as StringWorkbasketQuery custom1Like(String... custom1)
custom1 - the 1st custom property of workbaskets as StringsWorkbasketQuery custom2In(String... custom2)
custom2 - the 2nd custom property as StringWorkbasketQuery custom2Like(String... custom2)
custom2 - the 2nd custom property of workbaskets as StringsWorkbasketQuery custom3In(String... custom3)
custom3 - the 3rd custom property as StringWorkbasketQuery custom3Like(String... custom3)
custom3 - the 3rd custom property of workbaskets as StringsWorkbasketQuery custom4In(String... custom4)
custom4 - the 4th custom property as StringWorkbasketQuery custom4Like(String... custom4)
custom4 - the 4th custom property of workbaskets as StringsWorkbasketQuery orgLevel1In(String... orgLevel1)
orgLevel1 - the 1st organization level as StringWorkbasketQuery orgLevel1Like(String... orgLevel1)
orgLevel1 - the 1st organization level as StringsWorkbasketQuery orgLevel2In(String... orgLevel2)
orgLevel2 - the 2nd organization level as StringWorkbasketQuery orgLevel2Like(String... orgLevel2)
orgLevel2 - the 2nd organization level as StringsWorkbasketQuery orgLevel3In(String... orgLevel3)
orgLevel3 - the 3rd organization level as StringWorkbasketQuery orgLevel3Like(String... orgLevel3)
orgLevel3 - the 3rd organization level as StringsWorkbasketQuery orgLevel4In(String... orgLevel4)
orgLevel4 - the 4th organization level as StringWorkbasketQuery orgLevel4Like(String... orgLevel4)
orgLevel4 - the 4th organization level as StringsCopyright © 2018. All rights reserved.