public class SoftwareVendorService extends Object
User: Kirill, Date: 01.10.13 11:21
.Modifier and Type | Field and Description |
---|---|
private Credentials |
credentials |
private Transport |
transport |
private URL |
url |
Constructor and Description |
---|
SoftwareVendorService(URL url,
Credentials credentials,
Transport transport)
Constructs the service.
|
Modifier and Type | Method and Description |
---|---|
SoftwareVendorInfo |
get(long id)
Returns an entity.
|
List<SoftwareVendorInfo> |
list()
Returns list of entities.
|
private URL url
private Credentials credentials
private Transport transport
public SoftwareVendorService(URL url, Credentials credentials, Transport transport)
url
- of the servercredentials
- to work with the servertransport
- to know the method to reach the serverpublic SoftwareVendorInfo get(long id)
id
- identifies entityReferenceNotFoundJsonException
- if entity is not foundpublic List<SoftwareVendorInfo> list()
Copyright © 2015. All rights reserved.