Package com.atlassian.confluence.spaces
Class SpacesQuery.Builder
java.lang.Object
com.atlassian.confluence.spaces.SpacesQuery.Builder
- Enclosing class:
- SpacesQuery
-
Method Summary
Modifier and TypeMethodDescriptionbuild()createdAfter(Date date) forUser(ConfluenceUser user) forUser(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.inGroup(com.atlassian.user.Group group) Deprecated.in 5.9 Permissions are checked based on all groups the user is a member of (if a user is specified), which is determined in the implementation, so this is effectively ignored (and has been for a long time).Deprecated.in 5.9 Permissions are checked based on all groups the user is a member of (if a user is specified), which is determined in the implementation, so this is effectively ignored (and has been for a long time).inSpaceGroup(SpaceGroup spaceGroup) Deprecated.in 5.9.unsorted()withContentContainingLabels(Iterable<Label> labels) withHasRetentionPolicy(boolean hasRetentionPolicy) withIsFavourited(boolean isFavourited) withLabels(Iterable<Label> labels) withPermission(String permission) withSpaceIds(Set<Long> spaceIds) withSpaceKey(String spaceKey) withSpaceKeys(Iterable<String> spaceKeys) withSpaceStatus(SpaceStatus status) withSpaceType(SpaceType type)
-
Method Details
-
withSpaceKey
-
withSpaceKeys
-
withSpaceType
-
withLabel
-
withLabels
-
withContentContainingLabels
-
withIsFavourited
-
withHasRetentionPolicy
-
forUser
- Since:
- 9.5
-
forUser
@Deprecated(forRemoval=true, since="9.5") public SpacesQuery.Builder forUser(com.atlassian.user.User user) Deprecated, for removal: This API element is subject to removal in a future version.since 9.5 useforUser(ConfluenceUser) -
withSpaceIds
-
inGroup
Deprecated.in 5.9 Permissions are checked based on all groups the user is a member of (if a user is specified), which is determined in the implementation, so this is effectively ignored (and has been for a long time). -
inGroups
Deprecated.in 5.9 Permissions are checked based on all groups the user is a member of (if a user is specified), which is determined in the implementation, so this is effectively ignored (and has been for a long time). -
withPermission
-
inSpaceGroup
Deprecated.in 5.9.SpaceGroupand related classes likeSpaceGroupManagerandSpaceGroupComparatorwill be removed. Please do not use them. -
sortBy
-
unsorted
-
createdAfter
-
withSpaceStatus
-
build
-
forUser(ConfluenceUser)