|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vmware.vcloud.sdk.VcloudResource<com.vmware.vcloud.api.rest.schema.ContainerType>
com.vmware.vcloud.sdk.Result<com.vmware.vcloud.api.rest.schema.QueryResultRecordsType>
com.vmware.vcloud.sdk.RecordResult<T>
public class RecordResult<T extends com.vmware.vcloud.api.rest.schema.QueryResultRecordType>
This class represents the query results in the form of records.
| Method Summary | |
|---|---|
RecordResult<T> |
getFirstPage()
Returns the first page if any in the form of a RecordResult. |
RecordResult |
getIdRecordResult()
If the current format is RecordResult format returns the result in the Id RecordResult format. |
RecordResult<T> |
getLastPage()
Returns the last page if any in the form of a RecordResult. |
RecordResult<T> |
getNextPage()
Returns the next page if any in the form of a RecordResult. |
RecordResult<T> |
getPreviousPage()
Returns the previous page if any in the form of a RecordResult. |
RecordResult |
getRecordResult()
If the current format is Id RecordResult format returns the result in the RecordResult format. |
List<T> |
getRecords()
Returns a list of all the records |
ReferenceResult |
getReferenceResult()
Returns the result in the ReferenceResult format |
com.vmware.vcloud.api.rest.schema.QueryResultRecordsType |
getResource()
Returns the actual query result records as defined in the Vcloud schema. |
| Methods inherited from class com.vmware.vcloud.sdk.Result |
|---|
getName, getPage, getPageSize, getTotal, hasFirstPage, hasLastPage, hasNextPage, hasPreviousPage |
| Methods inherited from class com.vmware.vcloud.sdk.VcloudResource |
|---|
getReference |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public com.vmware.vcloud.api.rest.schema.QueryResultRecordsType getResource()
getResource in class VcloudResource<com.vmware.vcloud.api.rest.schema.ContainerType>QueryResultRecordsTypepublic List<T> getRecords()
List< ? extends QueryResultRecordType>
public RecordResult<T> getFirstPage()
throws VCloudException
RecordResult
VCloudException
public RecordResult<T> getPreviousPage()
throws VCloudException
RecordResult
VCloudException
public RecordResult<T> getNextPage()
throws VCloudException
RecordResult
VCloudException
public RecordResult<T> getLastPage()
throws VCloudException
RecordResult
VCloudException
public ReferenceResult getReferenceResult()
throws VCloudException
ReferenceResult
VCloudException
public RecordResult getRecordResult()
throws VCloudException
RecordResult
VCloudException
public RecordResult getIdRecordResult()
throws VCloudException
RecordResult
VCloudException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||