Interface SpaceDaoInternal
- All Superinterfaces:
ObjectDao
,ObjectDaoInternal<Space>
,SpaceDao
- All Known Implementing Classes:
HibernateSpaceDao
Dao for Spaces.
- Since:
- 6.10.0
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a list of space keys.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 bucket.core.persistence.ObjectDao
refresh, remove, replicate, save, saveRaw
Methods inherited from interface com.atlassian.confluence.internal.persistence.ObjectDaoInternal
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refreshEntity, removeEntity, replicateEntity, saveEntity
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 Details
-
findSpaceIdListWithIdGreaterOrEqual
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
Retrieves a list of space keys.- Returns:
- space key list
- Since:
- 7.10.0
-
removeSpaceFromCache
Removes a cache element by space key.- Since:
- 8.3.0
-