com.atlassian.confluence.content.persistence
Interface CustomContentDao

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

public interface CustomContentDao
extends ContentEntityObjectDao


Field Summary
 
Fields inherited from interface bucket.core.persistence.ObjectDao
NON_CACHEABLE
 
Method Summary
 long countChildrenOfType(long id, java.lang.String contentModuleKey)
           
 java.util.Iterator<CustomContentEntityObject> findAll(java.lang.String pluginContentKey)
          Retrieves an iterator of CustomContentEntityObject with the specified pluginContentKey
 java.util.Iterator<CustomContentEntityObject> findAllChildren(long id)
          Retrieves all children of the specified content.
 java.util.Iterator<CustomContentEntityObject> findAllInSpace(long spaceId)
           
 java.util.Iterator<CustomContentEntityObject> findAllInSpace(java.lang.String pluginContentKey, long spaceId)
           
 java.util.Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(long spaceId)
           
 java.util.Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(java.lang.String pluginContentKey, long spaceId)
           
 java.util.Iterator<CustomContentEntityObject> findAllWithAttachments(java.lang.String pluginContentKey)
          Retrieves an iterator of CustomContentEntityObject with the specified pluginContentKey.
<T> PageResponse<T>
findByQuery(ContentQuery<T> query, boolean cacheable, LimitedRequest request, com.google.common.base.Predicate<T> predicate)
           
<T> java.util.Iterator<T>
findByQuery(ContentQuery<T> query, int offset, int maxResults)
           
 java.util.Iterator<CustomContentEntityObject> findChildrenOfType(long id, java.lang.String pluginContentKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder)
           
 java.util.Iterator<CustomContentEntityObject> findCurrentInSpace(long spaceId, java.lang.String pluginModuleKey, int offset, int maxResults, CustomContentManager.SortField sortField, CustomContentManager.SortOrder sortOrder)
           
 int findTotalInSpace(long spaceId, java.lang.String pluginModuleKey)
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.ContentEntityObjectDao
countContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findHistoricalVersionsAfterVersion, findPreviousVersions, getAllCurrentEntities, getById, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getOldestPageCreationDate, 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> java.util.Iterator<T> findByQuery(ContentQuery<T> query,
                                      int offset,
                                      int maxResults)

findByQuery

<T> PageResponse<T> findByQuery(ContentQuery<T> query,
                                boolean cacheable,
                                LimitedRequest request,
                                com.google.common.base.Predicate<T> predicate)

findTotalInSpace

int findTotalInSpace(long spaceId,
                     java.lang.String pluginModuleKey)

findCurrentInSpace

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

findAllInSpaceWithAttachments

java.util.Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(java.lang.String pluginContentKey,
                                                                            long spaceId)

findAllInSpace

java.util.Iterator<CustomContentEntityObject> findAllInSpace(java.lang.String pluginContentKey,
                                                             long spaceId)

findAllInSpaceWithAttachments

java.util.Iterator<CustomContentEntityObject> findAllInSpaceWithAttachments(long spaceId)

findAllInSpace

java.util.Iterator<CustomContentEntityObject> findAllInSpace(long spaceId)

findAll

java.util.Iterator<CustomContentEntityObject> findAll(java.lang.String pluginContentKey)
Retrieves an iterator of CustomContentEntityObject with the specified pluginContentKey

Parameters:
pluginContentKey - CustomContentEntityObject with this plugin content key will be returned
Returns:
iterator of CustomContentEntityObject

findAllWithAttachments

java.util.Iterator<CustomContentEntityObject> findAllWithAttachments(java.lang.String pluginContentKey)
Retrieves an iterator of CustomContentEntityObject with the specified pluginContentKey. We are loading

Parameters:
pluginContentKey - CustomContentEntityObject with this plugin content key will be returned
Returns:
iterator of CustomContentEntityObject

findAllChildren

java.util.Iterator<CustomContentEntityObject> findAllChildren(long id)
Retrieves all children of the specified content.

Parameters:
id - children of this content entity will be returned
Returns:
iterator of CustomContentEntityObject

findChildrenOfType

java.util.Iterator<CustomContentEntityObject> findChildrenOfType(long id,
                                                                 java.lang.String pluginContentKey,
                                                                 int offset,
                                                                 int maxResults,
                                                                 CustomContentManager.SortField sortField,
                                                                 CustomContentManager.SortOrder sortOrder)

countChildrenOfType

long countChildrenOfType(long id,
                         java.lang.String contentModuleKey)


Copyright © 2003-2014 Atlassian. All Rights Reserved.