com.atlassian.confluence.spaces.persistence.dao
Interface SpaceGroupDao

All Superinterfaces:
ObjectDao
All Known Implementing Classes:
HibernateSpaceGroupDao

public interface SpaceGroupDao
extends ObjectDao


Method Summary
 int findSpaceTotal(SpaceGroup spaceGroup)
          Fast way to count Spaces in a SpaceGroup without loading them.
 SpaceGroup getById(long id)
           
 SpaceGroup getSpaceGroup(String spaceGroupKey)
          Find a space by its space key.
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getById

public SpaceGroup getById(long id)

getSpaceGroup

public SpaceGroup getSpaceGroup(String spaceGroupKey)
Find a space by its space key.


findSpaceTotal

public int findSpaceTotal(SpaceGroup spaceGroup)
Fast way to count Spaces in a SpaceGroup without loading them.

Returns:
returns the number of all spaces within a spaceGroup


Confluence is developed by Atlassian.