Class SpacesQuery

  • public class SpacesQuery
    extends Object
    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.

    • Method Detail

      • getSpaceType

        public SpaceType getSpaceType()
      • getPermissionType

        public String getPermissionType()
      • getUser

        public com.atlassian.user.User getUser()
      • getUserGroups

        public List<String> getUserGroups()
        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).
        an empty list
      • getSpaceKeys

        public List<String> getSpaceKeys()
      • getCreationDate

        public Date getCreationDate()
      • getSpaceIds

        public Set<Long> getSpaceIds()
      • hashCode

        public int hashCode()
        hashCode in class Object