Constructor and Description |
---|
DomainsService(BmContext context,
Container installationContainer) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<Domain>> |
all()
Retrieve all domains
|
void |
create(java.lang.String uid,
Domain domain)
Creates a domain
|
void |
delete(java.lang.String uid)
Deletes an existing domain
|
TaskRef |
deleteDomainItems(java.lang.String uid) |
protected void |
doSetAliases(ItemValue<Domain> domainItem,
java.util.Set<java.lang.String> previousAliases,
IServerTaskMonitor monitor) |
ItemValue<Domain> |
findByNameOrAliases(java.lang.String name) |
ItemValue<Domain> |
get(java.lang.String uid) |
java.util.Set<java.lang.String> |
getRoles(java.lang.String uid) |
TaskRef |
setAliases(java.lang.String uid,
java.util.Set<java.lang.String> aliases) |
void |
setRoles(java.lang.String uid,
java.util.Set<java.lang.String> roles) |
void |
update(java.lang.String uid,
Domain domain)
Modifies an existing domain
|
public void create(java.lang.String uid, Domain domain) throws ServerFault
IDomains
create
in interface IDomains
ServerFault
public void update(java.lang.String uid, Domain domain) throws ServerFault
IDomains
update
in interface IDomains
ServerFault
public void delete(java.lang.String uid) throws ServerFault
IDomains
delete
in interface IDomains
ServerFault
public TaskRef deleteDomainItems(java.lang.String uid) throws ServerFault
deleteDomainItems
in interface IDomains
ServerFault
public ItemValue<Domain> get(@PathParam(value="uid") java.lang.String uid) throws ServerFault
get
in interface IDomains
ServerFault
public java.util.List<ItemValue<Domain>> all() throws ServerFault
IDomains
all
in interface IDomains
ServerFault
public TaskRef setAliases(java.lang.String uid, java.util.Set<java.lang.String> aliases) throws ServerFault
setAliases
in interface IDomains
ServerFault
protected void doSetAliases(ItemValue<Domain> domainItem, java.util.Set<java.lang.String> previousAliases, IServerTaskMonitor monitor) throws ServerFault
ServerFault
public ItemValue<Domain> findByNameOrAliases(java.lang.String name) throws ServerFault
findByNameOrAliases
in interface IDomains
ServerFault
public void setRoles(java.lang.String uid, java.util.Set<java.lang.String> roles) throws ServerFault
setRoles
in interface IDomains
ServerFault
public java.util.Set<java.lang.String> getRoles(java.lang.String uid) throws ServerFault
getRoles
in interface IDomains
ServerFault
Copyright © 2021. All Rights Reserved.