public static class SpacesQuery.Builder extends Object
Modifier and Type | Method and Description |
---|---|
SpacesQuery |
build() |
SpacesQuery.Builder |
createdAfter(Date date) |
SpacesQuery.Builder |
forUser(com.atlassian.user.User user) |
SpacesQuery.Builder |
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).
|
SpacesQuery.Builder |
inGroups(List<com.atlassian.user.Group> groups)
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).
|
SpacesQuery.Builder |
inSpaceGroup(SpaceGroup spaceGroup)
Deprecated.
in 5.9.
SpaceGroup and related classes like
SpaceGroupManager and
SpaceGroupComparator will be removed.
Please do not use them. |
SpacesQuery.Builder |
sortBy(String sortColumn) |
SpacesQuery.Builder |
unsorted() |
SpacesQuery.Builder |
withPermission(String permission) |
SpacesQuery.Builder |
withSpaceKey(String spaceKey) |
SpacesQuery.Builder |
withSpaceKeys(Iterable<String> spaceKeys) |
SpacesQuery.Builder |
withSpaceStatus(SpaceStatus status) |
SpacesQuery.Builder |
withSpaceType(SpaceType type) |
public SpacesQuery.Builder withSpaceKey(String spaceKey)
public SpacesQuery.Builder withSpaceKeys(Iterable<String> spaceKeys)
public SpacesQuery.Builder withSpaceType(SpaceType type)
public SpacesQuery.Builder forUser(com.atlassian.user.User user)
@Deprecated public SpacesQuery.Builder inGroup(com.atlassian.user.Group group)
@Deprecated public SpacesQuery.Builder inGroups(List<com.atlassian.user.Group> groups)
public SpacesQuery.Builder withPermission(String permission)
@Deprecated public SpacesQuery.Builder inSpaceGroup(SpaceGroup spaceGroup)
SpaceGroup
and related classes like
SpaceGroupManager
and
SpaceGroupComparator
will be removed.
Please do not use them.public SpacesQuery.Builder sortBy(String sortColumn)
public SpacesQuery.Builder unsorted()
public SpacesQuery.Builder createdAfter(Date date)
public SpacesQuery.Builder withSpaceStatus(SpaceStatus status)
public SpacesQuery build()
Copyright © 2003–2015 Atlassian. All rights reserved.