Package | Description |
---|---|
co.ecg.alpaca.toolkit.generated | |
co.ecg.alpaca.toolkit.messaging.request | |
co.ecg.alpaca.toolkit.model |
Modifier and Type | Method and Description |
---|---|
static Group |
Group.getPopulatedGroup(ServiceProvider serviceProvider,
String groupId)
Retrieves a populated Group
|
static GroupAccessDevice |
GroupAccessDevice.getPopulatedGroupAccessDevice(Group group,
String deviceName)
Retrieves a populated GroupAccessDevice
|
static ServiceProvider |
ServiceProvider.getPopulatedServiceProvider(BroadWorksServer broadWorksServer,
String serviceProviderId)
Retrieves a populated ServiceProvider
|
static ServiceProviderAccessDevice |
ServiceProviderAccessDevice.getPopulatedServiceProviderAccessDevice(ServiceProvider serviceProvider,
String deviceName)
Retrieves a populated ServiceProviderAccessDevice
|
static SystemAccessDevice |
SystemAccessDevice.getPopulatedSystemAccessDevice(BroadWorksServer broadWorksServer,
String deviceName)
Retrieves a populated SystemAccessDevice
|
static User |
User.getPopulatedUser(BroadWorksServer broadWorksServer,
String userId)
Retrieves a populated User
|
Response |
User.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
Response |
SystemAccessDevice.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
Response |
ServiceProviderAccessDevice.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
Response |
ServiceProvider.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
Response |
GroupAccessDevice.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
Response |
Group.populate()
Method to populate the Fields of the Object via the Associated BroadWorks request
|
<E extends Response> |
AccessDevice.populate() |
Modifier and Type | Method and Description |
---|---|
void |
RequestBundle.addRequest(Request<?> request)
Adds a new request to the bundle
|
protected void |
Request.appendChild(Element e)
Add an XML element child to this command.
|
protected void |
Request.appendChild(String tagName)
Append an empty tag to a command; this creates an element with no
content.
|
protected void |
Request.appendChild(String tagName,
String value)
Creates and appends a text element with the given name and value to the
command element.
|
void |
RequestBundle.asyncFire(ResponseBundleHandler handler)
Fires the request bundle on it's own thread and returns the
ResponseBundle to the provided handler.
|
void |
Request.asyncFire(ResponseHandler<T> handler)
Fires the request on it's own thread and returns the response to the
provided handler.
|
ResponseBundle |
RequestBundle.fire()
This generates a Response object from a Request.
|
T |
Request.fire()
This generates a Response object from a Request.
|
ResponseBundle |
RequestBundle.fire(boolean readFromCache)
This generates a Response object from a Request.
|
T |
Request.fire(boolean readFromCache)
This generates a Response object from a Request.
|
protected void |
Request.formRequest()
This method is used to append elements to a request before it is sent
|
static <E,O> E |
RequestHelper.mapObjects(E output,
O input)
Maps two objects by copying 'get' and 'is' methods to matching 'set'
methods.
|
static <R extends Request<?>,O extends BroadWorksObject> |
RequestHelper.mapObjectToRequest(R request,
O object)
Method to map the fields of a BroadWorksObject onto a given request.
|
void |
RequestBundler.put(Request<?> request,
Consumer<Response> consumer) |
static <R extends Response,T extends BroadWorksObject> |
RequestHelper.requestPerObjectProducer(BroadWorksServer bws,
List<T> objects,
Class typeParameterClass,
Class<? extends Request<R>> request,
BiConsumer<T,R> consumer)
Performs a
Request using the provided BroadWorksServer across a list of BroadWorksObject taking the request as a single argument. |
Modifier and Type | Method and Description |
---|---|
abstract <E extends Response> |
BroadWorksObject.populate() |
Copyright © 2016 ECG. All rights reserved.