com.atlassian.confluence.plugins.rest.entities
Class AttachmentEntityList

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.AttachmentEntityList
All Implemented Interfaces:
com.atlassian.plugins.rest.common.expand.entity.ListWrapper<AttachmentEntity>

public class AttachmentEntityList
extends java.lang.Object
implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<AttachmentEntity>

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()
           
 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> getCallback()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentEntityList

public AttachmentEntityList()

AttachmentEntityList

public AttachmentEntityList(int size,
                            com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> callback)
Method Detail

getCallback

public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<AttachmentEntity> getCallback()
Specified by:
getCallback in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<AttachmentEntity>

getSize

public int getSize()

getAttachments

public java.util.List<AttachmentEntity> getAttachments()

buildAttachmentListFromWrapper

public void buildAttachmentListFromWrapper(int start,
                                           int max)

buildFilteredByMimeTypeAttachmentList

public void buildFilteredByMimeTypeAttachmentList(int start,
                                                  int maxSize,
                                                  java.util.Set<java.lang.String> includeMimeTypes)

buildFilteredByNiceTypeAttachmentList

public void buildFilteredByNiceTypeAttachmentList(int start,
                                                  int maxSize,
                                                  java.util.Set<java.lang.String> niceTypes)


Copyright © 2003-2010 Atlassian. All Rights Reserved.