|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContentEntityObjectDao
Method Summary | |
---|---|
int |
countContentBySpaceIdAndStatus(long spaceId,
java.lang.String status)
Retrieve the count of content for a given space with a particular status. |
java.util.List<ContentEntityObject> |
findContentBySpaceIdAndStatus(long spaceId,
java.lang.String status,
int offset,
int count)
Retrieve content for a given space with a particular status. |
java.util.List |
findHistoricalVersionsAfterVersion(long originalContentId,
int version)
|
java.util.List |
findPreviousVersions(long originalContentId)
|
java.util.Iterator |
getAllCurrentEntities()
|
ContentEntityObject |
getById(long id)
|
java.util.List |
getContentAuthoredByUser(java.lang.String username)
|
ContentEntityObject |
getFirstVersionAfter(long originalVersionContentId,
int version)
|
ContentEntityObject |
getFirstVersionBefore(long originalVersionContentId,
int version)
|
java.util.List<ContentEntityObject> |
getLastEditedVersionsOf(ContentEntityObject content)
Retrieves all the last edited versions for each user who has contributed to the specified piece of content. |
java.util.List |
getLockedContentBySpace(java.lang.String spaceKey)
Deprecated. since 5.1. There is no replacement as this functionality was superseded by multiple page permissions (CONF-3701) |
java.lang.String |
getObjectType(long id)
|
java.util.Date |
getOldestPageCreationDate()
Gets the creation date of the oldest page. |
java.util.Iterator |
getRecentlyAddedEntities(java.lang.String spaceKey,
int maxResults)
|
java.util.Iterator |
getRecentlyModifiedEntities(int maxResults)
|
java.util.Iterator |
getRecentlyModifiedEntities(java.lang.String spaceKey,
int maxResults)
|
java.util.Iterator |
getRecentlyModifiedEntitiesForUser(java.lang.String username)
|
java.util.List |
getRecentlyModifiedForChangeDigest(java.util.Date fromDate)
Retrieves a list of ContentEntityObject s that have been newly added or modified
since the date specified. |
java.util.List |
getTrashedContent(java.lang.String spaceKey)
|
ContentEntityObject |
getVersion(long originalVersionContentId,
int version)
|
java.util.List<VersionHistorySummary> |
getVersionHistorySummary(long originalContentId)
|
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 |
---|
ContentEntityObject getById(long id)
java.util.List getContentAuthoredByUser(java.lang.String username)
java.util.Iterator getAllCurrentEntities()
java.util.Iterator getRecentlyAddedEntities(java.lang.String spaceKey, int maxResults)
java.util.Iterator getRecentlyModifiedEntities(int maxResults)
java.util.Iterator getRecentlyModifiedEntities(java.lang.String spaceKey, int maxResults)
java.util.List getRecentlyModifiedForChangeDigest(java.util.Date fromDate)
ContentEntityObject
s that have been newly added or modified
since the date specified. This list excludes drafts, space descriptions and mail.
fromDate
- content modified after this date will be returned
ContentEntityObject
s that have been newly added or modified
since the date specifiedjava.util.Iterator getRecentlyModifiedEntitiesForUser(java.lang.String username)
@Deprecated java.util.List getLockedContentBySpace(java.lang.String spaceKey)
java.util.List getTrashedContent(java.lang.String spaceKey)
java.lang.String getObjectType(long id)
ContentEntityObject getFirstVersionBefore(long originalVersionContentId, int version)
ContentEntityObject getFirstVersionAfter(long originalVersionContentId, int version)
ContentEntityObject getVersion(long originalVersionContentId, int version)
java.util.List<VersionHistorySummary> getVersionHistorySummary(long originalContentId)
java.util.List findPreviousVersions(long originalContentId)
java.util.List findHistoricalVersionsAfterVersion(long originalContentId, int version)
java.util.List<ContentEntityObject> getLastEditedVersionsOf(ContentEntityObject content)
content
- content (must be the latest version)
java.lang.IllegalArgumentException
- if the content is not the latest version or nulljava.util.List<ContentEntityObject> findContentBySpaceIdAndStatus(long spaceId, java.lang.String status, int offset, int count)
spaceId
- the id of the spacestatus
- the status of the content being retrieved (e.g. ContentEntityObject.DELETED
offset
- the offset of the first item to retrieve (0-based)count
- the maximum number of items to retrieve
int countContentBySpaceIdAndStatus(long spaceId, java.lang.String status)
spaceId
- the id of the spacestatus
- the status of the content being retrieved (e.g. ContentEntityObject.DELETED
java.util.Date getOldestPageCreationDate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |