public interface VoltTenantService
| Modifier and Type | Method and Description |
|---|---|
VoltTenant |
addTenant(VoltTenant newTenant)
Creates a new tenant and adds it to the XOS instance.
|
Set<VoltTenant> |
getAllTenants()
Queries all the tenants.
|
VoltTenant |
getTenant(long id)
Gets a single tenant for the given ID.
|
void |
removeTenant(long id)
Removes a tenant given its ID.
|
Set<VoltTenant> getAllTenants()
void removeTenant(long id)
id - if od tenant to remove.VoltTenant addTenant(VoltTenant newTenant)
newTenant - tenant to addVoltTenant getTenant(long id)
id - ID of the tenant to fetchCopyright © 2016. All rights reserved.