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)
Lists StorageDomainFile objects.
|
List<StorageDomainFile> |
list(String query,
Boolean caseSensitive)
Lists StorageDomainFile objects.
|
List<StorageDomainFile> |
list(String query,
Boolean caseSensitive,
Integer max)
Lists StorageDomainFile objects.
|
get
public 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>
StorageDomainFile
org.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 idStorageDomainFile
org.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 idStorageDomainFile
org.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) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
query
- [search query]
StorageDomainFile
org.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) throws org.apache.http.client.ClientProtocolException, ServerException, IOException
query
- [search query]
caseSensitive
- [true|false]
StorageDomainFile
org.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]
StorageDomainFile
org.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