public class StorageDomainFiles extends CollectionDecorator<File,Files,StorageDomainFile>
StorageDomainFiles providing relation and functional services
to Files.
| Constructor and Description |
|---|
StorageDomainFiles(HttpProxyBroker proxy,
StorageDomain parent) |
| Modifier and Type | Method and Description |
|---|---|
StorageDomainFile |
get(UUID id)
Fetches StorageDomainFile object by id.
|
StorageDomainFile |
getById(String id)
Fetches StorageDomainFile object by id.
|
List<StorageDomainFile> |
list()
Lists StorageDomainFile objects.
|
List<StorageDomainFile> |
list(String query,
Boolean caseSensitive,
Integer max)
Lists StorageDomainFile objects.
|
getpublic StorageDomainFiles(HttpProxyBroker proxy, StorageDomain parent)
proxy - HttpProxyBrokerparent - StorageDomainpublic List<StorageDomainFile> list() throws org.apache.http.client.ClientProtocolException, ServerException, IOException
list in class CollectionDecorator<File,Files,StorageDomainFile>StorageDomainFileorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public StorageDomainFile get(UUID id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
get in class CollectionDecorator<File,Files,StorageDomainFile>id - entity idStorageDomainFileorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public StorageDomainFile getById(String id) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
getById in class CollectionDecorator<File,Files,StorageDomainFile>id - entity idStorageDomainFileorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.public List<StorageDomainFile> list(String query, Boolean caseSensitive, Integer max) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
query -
[search query]
caseSensitive -
[true|false]
max -
[max results]
StorageDomainFileorg.apache.http.client.ClientProtocolException - Signals that HTTP/S protocol error has occurred.ServerException - Signals that an oVirt api error has occurred.IOException - Signals that an I/O exception of some sort has occurred.Copyright ? 2010 Red Hat, Inc - released under the Apache License Version 2.0