com.atlassian.confluence.spaces.persistence.dao
Interface SpaceGroupDao
- All Superinterfaces:
- ObjectDao
- All Known Implementing Classes:
- HibernateSpaceGroupDao
public interface SpaceGroupDao
- extends ObjectDao
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