|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TrashManager
Operations on the Trash
| Method Summary | |
|---|---|
void |
emptyTrash(Space space)
Purge all of the trash in a given space. |
int |
getNumberOfItemsInTrash(Space spaceKeypace)
Retrieve the total number of items in the trash for a given space. |
List<ContentEntityObject> |
getTrashContents(Space space,
int offset,
int count)
Retrieve a subset of the contents of the trash for a particular space. |
List<ContentEntityObject> |
getTrashContents(String spaceKey)
Deprecated. |
boolean |
purge(String spaceKey,
long contentId)
Remove one item from the trash. |
| Method Detail |
|---|
@Deprecated List<ContentEntityObject> getTrashContents(String spaceKey)
getTrashContents(com.atlassian.confluence.spaces.Space, int, int)
spaceKey - the key of the space to retrieve trash for
void emptyTrash(Space space)
space - int getNumberOfItemsInTrash(Space spaceKeypace)
spaceKeypace@return - the number of items in the trash for that space
boolean purge(String spaceKey,
long contentId)
spaceKey - the space to purge the trash fromcontentId - the id of the item to remove from the trash @return true if content was purged, false if no content was found with that ID
IllegalStateException - if the content is not in the trash, or is in the wrong space
List<ContentEntityObject> getTrashContents(Space space,
int offset,
int count)
space - offset - the offset of the first item to retrieve (0-based)count - the maximum number of items to retrieve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||