com.atlassian.confluence.spaces
Class SpacesQuery

java.lang.Object
  extended by com.atlassian.confluence.spaces.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 ever combination and permutation of input.


Nested Class Summary
static class SpacesQuery.Builder
           
 
Method Summary
 boolean equals(Object o)
           
 Date getCreationDate()
           
 String getPermissionType()
           
 List<String> getSortBy()
           
 SpaceGroup getSpaceGroup()
           
 List<String> getSpaceKeys()
           
 Set<SpaceStatus> getSpaceStatuses()
           
 SpaceType getSpaceType()
           
 com.atlassian.user.User getUser()
           
 List<String> getUserGroups()
           
 int hashCode()
           
static SpacesQuery.Builder newQuery()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newQuery

public static SpacesQuery.Builder newQuery()

getSpaceType

public SpaceType getSpaceType()

getPermissionType

public String getPermissionType()

getUser

public com.atlassian.user.User getUser()

getUserGroups

public List<String> getUserGroups()

getSpaceGroup

public SpaceGroup getSpaceGroup()

getSpaceKeys

public List<String> getSpaceKeys()

getSortBy

public List<String> getSortBy()

getCreationDate

public Date getCreationDate()

getSpaceStatuses

public Set<SpaceStatus> getSpaceStatuses()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.