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, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getById

SpaceGroup getById(long id)

getSpaceGroup

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


findSpaceTotal

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


Copyright © 2003-2012 Atlassian. All Rights Reserved.