public interface DomainService extends RestService
| Modifier and Type | Method and Description |
|---|---|
Domain |
create(Domain domain)
Creates a new domain
|
Domain |
create(String name,
String description,
boolean enabled)
Creates a new domain
|
ActionResponse |
delete(String domainId)
Deletes a domain by id
|
Domain |
get(String domainId)
Get detailed information on a domain by id
|
List<? extends Domain> |
getByName(String domainName)
Get detailed information on a domain by name
|
List<? extends Domain> |
list()
lists all domains the current token has access to
|
Domain |
update(Domain domain)
Updates an existing domain
|
Domain create(Domain domain)
domain - the Domain to createDomain create(String name, String description, boolean enabled)
name - the name of the new domaindescription - the description of the new domainenabled - the enabled status of the new domainDomain update(Domain domain)
domain - the domain set to updateDomain get(String domainId)
domainId - the domain identifierList<? extends Domain> getByName(String domainName)
domainName - the domain nameActionResponse delete(String domainId)
domainId - the domain idCopyright © 2017. All rights reserved.