public interface DicomConfiguration
Modifier and Type | Interface and Description |
---|---|
static interface |
DicomConfiguration.DicomConfigBatch
Defines a configuration batch that allows to execute configuration changes in a bulk-type manner.
|
Modifier and Type | Method and Description |
---|---|
ApplicationEntity |
findApplicationEntity(String aet)
Looks up an application entity by name
|
ApplicationEntity |
findApplicationEntityByUUID(String uuid)
Looks up an application entity by UUID
|
Device |
findDevice(String name)
Looks up a device by name
|
Device |
findDeviceByUUID(String uuid)
Looks up a device by UUID
|
<T> T |
getDicomConfigurationExtension(Class<T> clazz)
Get an extension of configuration
|
List<String> |
listAllAETitles()
Returns all AE names from all devices from the configuration backend
|
String[] |
listDeviceNames()
Returns all device names from the configuration backend
|
void |
merge(Device device)
Replaces the full configuration of a device in the configuration backend with the configuration of
the provided device.
|
void |
persist(Device device)
Stores the full configuration of a device in the configuration backend.
|
void |
removeDevice(String name)
Removes the device and its configuration from the configuration storage fully.
|
void |
runBatch(DicomConfiguration.DicomConfigBatch dicomConfigBatch)
Provides support for batching configuration changes.
|
void |
sync()
Invalidates any present cached state for the configuration storage view of the client.
|
ApplicationEntity findApplicationEntity(String aet) throws ConfigurationException
aet
- application entity nameConfigurationException
ApplicationEntity findApplicationEntityByUUID(String uuid) throws ConfigurationException
uuid
- UUIDConfigurationException
Device findDeviceByUUID(String uuid) throws ConfigurationException
uuid
- UUIDConfigurationException
Device findDevice(String name) throws ConfigurationException
name
- device nameConfigurationException
void persist(Device device) throws ConfigurationException
device
- Device to storeConfigurationAlreadyExistsException
- When a device with such name already exists.ConfigurationException
- When an error occured during the operationvoid merge(Device device) throws ConfigurationException
device
- Device to mergeConfigurationException
- When an error occured during the operationvoid removeDevice(String name) throws ConfigurationException
name
- ConfigurationException
String[] listDeviceNames() throws ConfigurationException
ConfigurationException
List<String> listAllAETitles() throws ConfigurationException
ConfigurationException
void sync() throws ConfigurationException
ConfigurationException
<T> T getDicomConfigurationExtension(Class<T> clazz)
T
- clazz
- Extension classIllegalArgumentException
- - in case an extension of specified class is nto foundvoid runBatch(DicomConfiguration.DicomConfigBatch dicomConfigBatch)
dicomConfigBatch
- Configuration batch to executeCopyright © 2017 dcm4che.org. All rights reserved.