|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugins.rest.entities.AttachmentEntityList
public class AttachmentEntityList
A List wrapper for AttachmentEntity
objects
Constructor Summary | |
---|---|
AttachmentEntityList()
|
|
AttachmentEntityList(int size,
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> callback)
|
Method Summary | |
---|---|
void |
buildAttachmentListFromWrapper(int start,
int max)
|
void |
buildFilteredByMimeTypeAttachmentList(int start,
int maxSize,
java.util.Set<java.lang.String> includeMimeTypes)
|
void |
buildFilteredByNiceTypeAttachmentList(int start,
int maxSize,
java.util.Set<java.lang.String> niceTypes)
|
java.util.List<AttachmentEntity> |
getAttachments()
List of attachments returned. |
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> |
getCallback()
|
int |
getSize()
Total size of list, note that the actual size returned can be different from this size, if pagination is used. |
void |
reverse()
Reverse the order of the attachments |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttachmentEntityList()
public AttachmentEntityList(int size, com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> callback)
Method Detail |
---|
public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> getCallback()
getCallback
in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<AttachmentEntity>
public int getSize()
public void reverse()
public java.util.List<AttachmentEntity> getAttachments()
public void buildAttachmentListFromWrapper(int start, int max)
public void buildFilteredByMimeTypeAttachmentList(int start, int maxSize, java.util.Set<java.lang.String> includeMimeTypes)
public void buildFilteredByNiceTypeAttachmentList(int start, int maxSize, java.util.Set<java.lang.String> niceTypes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |