|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttachmentManagerInternal
Internal version of the AttachmentManager
interface; see the package-info.java for rationale.
Method Summary | |
---|---|
PageResponse<Attachment> |
getAttachments(ContentEntityObject content,
LimitedRequest pageRequest,
com.google.common.base.Predicate<? super Attachment> filterPredicate)
Returns the current attachments under the CEO. |
void |
moveAttachment(Attachment attachment,
ContentEntityObject newContainer)
Moves an attachment to a different ContentEntityObject container. |
Method Detail |
---|
PageResponse<Attachment> getAttachments(ContentEntityObject content, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Attachment> filterPredicate)
Note - only returns the latest versions of the Attachments. The legacy
AttachmentManager.getAttachments(ContentEntityObject)
method
that confusingly returns all versions has been deprecated.
content
- the content to return attachments forpageRequest
- the pagination requestedfilterPredicate
- the predicate for filtering found attachments
void moveAttachment(Attachment attachment, ContentEntityObject newContainer)
ContentEntityObject
container.
attachment
- The attachment to be movednewContainer
- The new ContentEntiityObject which will be parent to the attachment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |