com.atlassian.confluence.content.persistence
Interface CustomContentDao

All Superinterfaces:
ContentEntityObjectDao, ObjectDao, VersionedObjectDao
All Known Implementing Classes:
PluginContentHibernateDao

public interface CustomContentDao
extends ContentEntityObjectDao


Method Summary
 Iterator<CustomContentEntityObject> findAllInSpace(long spaceId)
           
 Iterator<CustomContentEntityObject> findAllInSpace(String pluginContentKey, long spaceId)
           
 Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(long spaceId)
           
 Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(String pluginContentKey, long spaceId)
           
<T> Iterator<T>
findByQuery(ContentQuery<T> query, int offset, int maxResults)
           
 Iterator<CustomContentEntityObject> findCurrentInSpace(long spaceId, String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder)
           
 int findTotalInSpace(long spaceId, String pluginModuleKey)
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.ContentEntityObjectDao
countContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findHistoricalVersionsAfterVersion, findPreviousVersions, getAllCurrentEntities, getById, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionHistorySummary
 
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

findByQuery

<T> Iterator<T> findByQuery(ContentQuery<T> query,
                            int offset,
                            int maxResults)

findTotalInSpace

int findTotalInSpace(long spaceId,
                     String pluginModuleKey)

findCurrentInSpace

Iterator<CustomContentEntityObject> findCurrentInSpace(long spaceId,
                                                       String pluginModuleKey,
                                                       int offset,
                                                       int maxResults,
                                                       CustomContentManager.SortField sortField,
                                                       CustomContentManager.SortOrder sortOrder)

findAllInSpaceWithAttachments

Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(String pluginContentKey,
                                                                  long spaceId)

findAllInSpace

Iterator<CustomContentEntityObject> findAllInSpace(String pluginContentKey,
                                                   long spaceId)

findAllInSpaceWithAttachments

Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(long spaceId)

findAllInSpace

Iterator<CustomContentEntityObject> findAllInSpace(long spaceId)


Copyright © 2003-2013 Atlassian. All Rights Reserved.