public class SpacesQuery extends Object
Dynamically builds a hibernate query which saves us from defining a query for every combination and permutation of input.
Modifier and Type | Class and Description |
---|---|
static class |
SpacesQuery.Builder |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getCreationDate() |
String |
getPermissionType() |
List<String> |
getSortBy() |
SpaceGroup |
getSpaceGroup()
Deprecated.
in 5.9.
|
List<String> |
getSpaceKeys() |
Set<SpaceStatus> |
getSpaceStatuses() |
SpaceType |
getSpaceType() |
com.atlassian.user.User |
getUser() |
List<String> |
getUserGroups()
Deprecated.
since 5.9, no replacement.
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).
|
int |
hashCode() |
static SpacesQuery.Builder |
newQuery() |
public static SpacesQuery.Builder newQuery()
public SpaceType getSpaceType()
public String getPermissionType()
public com.atlassian.user.User getUser()
@Deprecated public List<String> getUserGroups()
@Deprecated public SpaceGroup getSpaceGroup()
SpaceGroup
and related classes like
SpaceGroupManager
and
SpaceGroupComparator
will be removed.
Please do not use them.
public Date getCreationDate()
public Set<SpaceStatus> getSpaceStatuses()
Copyright © 2003–2016 Atlassian. All rights reserved.