public interface CustomContentDao extends ContentEntityObjectDao
NON_CACHEABLE
countContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findHistoricalVersionsAfterVersion, findPreviousVersions, getAllCurrentEntities, getById, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getOldestPageCreationDate, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionHistorySummary
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
<T> Iterator<T> findByQuery(ContentQuery<T> query, int offset, int maxResults)
<T> PageResponse<T> findByQuery(ContentQuery<T> query, boolean cacheable, LimitedRequest request, com.google.common.base.Predicate<T> predicate)
int findTotalInSpace(long spaceId, String pluginModuleKey)
Iterator<CustomContentEntityObject> findCurrentInSpace(long spaceId, String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder)
Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(String pluginContentKey, long spaceId)
Iterator<CustomContentEntityObject> findAllInSpace(String pluginContentKey, long spaceId)
Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(long spaceId)
Iterator<CustomContentEntityObject> findAllInSpace(long spaceId)
Iterator<CustomContentEntityObject> findAll(String pluginContentKey)
CustomContentEntityObject
with the specified pluginContentKeypluginContentKey
- CustomContentEntityObject with this plugin content key will be returnedCustomContentEntityObject
Iterator<CustomContentEntityObject> findAllWithAttachments(String pluginContentKey)
CustomContentEntityObject
with the specified pluginContentKey.
We are loadingpluginContentKey
- CustomContentEntityObject with this plugin content key will be returnedCustomContentEntityObject
Iterator<CustomContentEntityObject> findAllChildren(long id)
id
- children of this content entity will be returnedCustomContentEntityObject
Iterator<CustomContentEntityObject> findChildrenOfType(long id, String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder)
long countChildrenOfType(long id, String contentModuleKey)
Copyright © 2003–2015 Atlassian. All rights reserved.