Package com.atlassian.confluence.spaces
Class SpacesQuery
java.lang.Object
com.atlassian.confluence.spaces.SpacesQuery
An attempt to remove some of the proliferation of almost-identical space listing queries from Space.hbm.xml.
Dynamically builds a hibernate query which saves us from defining a query for every combination and permutation of input.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.in 5.9.com.atlassian.user.User
getUser()
Deprecated.since 5.9, no replacement.int
hashCode()
static SpacesQuery.Builder
newQuery()
-
Method Details
-
newQuery
-
getSpaceType
-
getPermissionType
-
getUser
public com.atlassian.user.User getUser() -
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).- Returns:
- an empty list
-
getSpaceGroup
Deprecated.in 5.9.SpaceGroup
and related classes likeSpaceGroupManager
andSpaceGroupComparator
will be removed. Please do not use them. -
getSpaceKeys
-
getSortBy
-
getCreationDate
-
getSpaceStatuses
-
getLabels
-
getFavourite
-
getHasRetentionPolicy
-
getSpaceIds
-
equals
-
hashCode
public int hashCode()
-