public final class LocationType
extends java.lang.Object
Constructor and Description |
---|
LocationType(ConfigContextImpl context)
constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clone(Ref sourceLocation, Ref targetLocation, boolean merge)
clones the given location
|
void |
create(Ref ref, LocationProperties props)
creates a location
|
void |
delete(Ref ref)
deletes a location (including domain)
|
void |
delete(java.util.Set<Ref> refs, java.util.Set<Ref> exclusions)
deletes the given refs, except for the exclusions
|
boolean |
exists(Ref ref)
returns whether thislocation exists
|
void |
rename(Ref sourceLocation, Ref targetLocation, boolean merge)
renames the given location
|
void |
update(Ref ref, LocationProperties newProps)
updates a location
|
public LocationType(ConfigContextImpl context)
public boolean exists(Ref ref)
public void create(Ref ref, LocationProperties props) throws ValidationException, CreateException
ValidationException
CreateException
public void update(Ref ref, LocationProperties newProps) throws ValidationException, UpdateException
ValidationException
UpdateException
public void delete(Ref ref) throws DeleteException, NotFoundException
DeleteException
NotFoundException
public void delete(java.util.Set<Ref> refs, java.util.Set<Ref> exclusions) throws DeleteException, NotFoundException
DeleteException
NotFoundException
public void rename(Ref sourceLocation, Ref targetLocation, boolean merge) throws ValidationException, UpdateException
ValidationException
UpdateException
public void clone(Ref sourceLocation, Ref targetLocation, boolean merge) throws ValidationException, CreateException
ValidationException
CreateException