Interface SpaceDaoInternal
-
- All Superinterfaces:
ObjectDao
,ObjectDaoInternal<Space>
,SpaceDao
- All Known Implementing Classes:
HibernateSpaceDao
public interface SpaceDaoInternal extends SpaceDao, ObjectDaoInternal<Space>
Dao for Spaces.- Since:
- 6.10.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
findAllSpaceKeys()
Retrieves a list of space keys.List<Long>
findSpaceIdListWithIdGreaterOrEqual(Long startingId, int limit)
Retrieves a limited space list starting with a particular space id.void
removeSpaceFromCache(String spaceKey)
Removes a cache element by space key.-
Methods inherited from interface com.atlassian.confluence.internal.persistence.ObjectDaoInternal
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
-
Methods inherited from interface com.atlassian.confluence.spaces.persistence.dao.SpaceDao
countSpaces, findPageTotal, findSpaceKeysWithStatus, findUniqueVersionOfSpaceKey, getById, getNumberOfBlogPosts, getPersonalSpace, getSpace, getSpaceByContentId, getSpaces, getSpaces, getSpacesContainingCommentsByUser, getSpacesContainingPagesEditedByUser, getSpacesCreatedAfter, getSpacesCreatedByUser, getSpacesCreatedOrUpdatedSinceDate, performOnAll
-
-
-
-
Method Detail
-
findSpaceIdListWithIdGreaterOrEqual
List<Long> findSpaceIdListWithIdGreaterOrEqual(Long startingId, int limit)
Retrieves a limited space list starting with a particular space id. It's used when we want to scan all spaces, but do this within a set small transactions.- Parameters:
startingId
- - space idlimit
- - limit- Returns:
- list of space ids
- Since:
- 7.10.0
-
findAllSpaceKeys
List<String> findAllSpaceKeys()
Retrieves a list of space keys.- Returns:
- space key list
- Since:
- 7.10.0
-
removeSpaceFromCache
void removeSpaceFromCache(String spaceKey)
Removes a cache element by space key.- Since:
- 8.3.0
-
-