|
||||||||||
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,
String status)
Retrieve the count of content for a given space with a particular status. |
List<ContentEntityObject> |
findContentBySpaceIdAndStatus(long spaceId,
String status,
int offset,
int count)
Retrieve content for a given space with a particular status. |
List |
findHistoricalVersionsAfterVersion(long originalContentId,
int version)
|
List |
findPreviousVersions(long originalContentId)
|
Iterator |
getAllCurrentEntities()
|
ContentEntityObject |
getById(long id)
|
List |
getContentAuthoredByUser(String username)
|
ContentEntityObject |
getFirstVersionAfter(long originalVersionContentId,
int version)
|
ContentEntityObject |
getFirstVersionBefore(long originalVersionContentId,
int version)
|
List<ContentEntityObject> |
getLastEditedVersionsOf(ContentEntityObject content)
Retrieves all the last edited versions for each user who has contributed to the specified piece of content. |
List |
getLockedContentBySpace(String spaceKey)
|
String |
getObjectType(long id)
|
Iterator |
getRecentlyAddedEntities(String spaceKey,
int maxResults)
|
Iterator |
getRecentlyModifiedEntities(int maxResults)
|
Iterator |
getRecentlyModifiedEntities(String spaceKey,
int maxResults)
|
Iterator |
getRecentlyModifiedEntitiesForUser(String username)
|
List |
getRecentlyModifiedForChangeDigest(Date fromDate)
Retrieves a list of ContentEntityObject s that have been newly added or modified
since the date specified. |
List |
getTrashedContent(String spaceKey)
|
ContentEntityObject |
getVersion(long originalVersionContentId,
int version)
|
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)
List getContentAuthoredByUser(String username)
Iterator getAllCurrentEntities()
Iterator getRecentlyAddedEntities(String spaceKey, int maxResults)
Iterator getRecentlyModifiedEntities(int maxResults)
Iterator getRecentlyModifiedEntities(String spaceKey, int maxResults)
List getRecentlyModifiedForChangeDigest(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 specifiedIterator getRecentlyModifiedEntitiesForUser(String username)
List getLockedContentBySpace(String spaceKey)
List getTrashedContent(String spaceKey)
String getObjectType(long id)
ContentEntityObject getFirstVersionBefore(long originalVersionContentId, int version)
ContentEntityObject getFirstVersionAfter(long originalVersionContentId, int version)
ContentEntityObject getVersion(long originalVersionContentId, int version)
List<VersionHistorySummary> getVersionHistorySummary(long originalContentId)
List findPreviousVersions(long originalContentId)
List findHistoricalVersionsAfterVersion(long originalContentId, int version)
List<ContentEntityObject> getLastEditedVersionsOf(ContentEntityObject content)
content
- content (must be the latest version)
IllegalArgumentException
- if the content is not the latest version or nullList<ContentEntityObject> findContentBySpaceIdAndStatus(long spaceId, 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, String status)
spaceId
- the id of the spacestatus
- the status of the content being retrieved (e.g. ContentEntityObject.DELETED
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |