public class ContentEntityList extends Object implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>
ContentEntity
objectsConstructor and Description |
---|
ContentEntityList() |
ContentEntityList(int size,
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> |
getCallback() |
List<ContentEntity> |
getContents()
Returns the list of
ContentEntity provided by this entity. |
int |
getSize()
Total size of list, note that the actual size returned can be different from this size, if pagination is used.
|
void |
setContents(List<ContentEntity> contents) |
public ContentEntityList()
public ContentEntityList(int size, com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> callback)
public List<ContentEntity> getContents()
ContentEntity
provided by this entity.public void setContents(List<ContentEntity> contents)
public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ContentEntity> getCallback()
getCallback
in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ContentEntity>
public int getSize()
Copyright © 2003–2019 Atlassian. All rights reserved.