Modifier and Type | Method and Description |
---|---|
void |
CompensationContext.snapshotEntity(BusinessEntity<?> entity)
Save a snapshot of the entire entity before it is changed/deleted in the DB, so that it can be restored later on
in case of compensation.
|
void |
DefaultCompensationContext.snapshotEntity(BusinessEntity<?> entity) |
void |
NoOpCompensationContext.snapshotEntity(BusinessEntity<?> entity) |
void |
CompensationContext.snapshotEntityStatus(BusinessEntity<?> entity,
Enum<?> status)
Snapshot the entity status only, so that in case of compensation for the entity, the status will be updated to
it's original value.
|
void |
DefaultCompensationContext.snapshotEntityStatus(BusinessEntity<?> entity,
Enum<?> status) |
void |
NoOpCompensationContext.snapshotEntityStatus(BusinessEntity<?> entity,
Enum<?> status) |
void |
CompensationContext.snapshotNewEntity(BusinessEntity<?> entity)
Save a snapshot of a new entity that was added to the DB, so that if there's need for compensation it will be
deleted from the DB.
|
void |
DefaultCompensationContext.snapshotNewEntity(BusinessEntity<?> entity) |
void |
NoOpCompensationContext.snapshotNewEntity(BusinessEntity<?> entity) |
Modifier and Type | Interface and Description |
---|---|
interface |
IImage |
Modifier and Type | Class and Description |
---|---|
class |
Disk
The disk represents a drive in the VM/Template.
The disk data consists of this entity which holds the immutable fields of the drive, and the DiskImage entity which represents the drive's actual data, and contains the mutable fields. Each drive can have several of these "images" associated to it, which represent the drive's snapshots - a backup of the drive's data at a certain point in time. |
class |
DiskImage |
class |
DiskImageDynamic |
class |
DiskImageTemplate |
class |
image_vm_map |
class |
LUN_storage_server_connection_map |
class |
network |
class |
NetworkInterface<T extends NetworkStatistics>
NetworkInterface represents a network interface device. |
class |
NetworkStatistics
NetworkStatistics |
class |
permissions |
class |
roles |
class |
storage_domain_dynamic |
class |
storage_domain_static |
class |
storage_pool |
class |
storage_pool_iso_map |
class |
vds_spm_id_map |
class |
VdsDynamic |
class |
VdsNetworkInterface
|
class |
VdsNetworkStatistics
|
class |
VdsStatic |
class |
VdsStatistics |
class |
VmBase |
class |
VmDynamic |
class |
VmNetworkInterface
|
class |
VmNetworkStatistics
|
class |
VmStatic |
class |
VmStatistics |
class |
VmTemplate |
Modifier and Type | Method and Description |
---|---|
<T extends GenericDao<?,?>> |
DbFacade.getDaoForEntity(Class<? extends BusinessEntity<?>> entityClass)
Return the correct DAO for the given
BusinessEntity class. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultGenericDaoDbFacade<T extends BusinessEntity<ID>,ID extends Serializable>
Implementation for the
GenericDao which provides a default implementation for all the methods which only
requires extending classes to provide procedure names and relevant mapper classes. |
interface |
GenericDao<T extends BusinessEntity<ID>,ID extends Serializable>
Generic Data Access Object which contains both methods to read entities (from
ReadDao ) and to modify entities
(from ModificationDao ). |
interface |
MassOperationsDao<T extends BusinessEntity<?>>
Data Access Object which supports mass operations for the given entity type.
|
class |
MassOperationsGenericDaoDbFacade<T extends BusinessEntity<ID>,ID extends Serializable>
Implementation for the
MassOperationsDao which provides a default
MassOperationsDao.updateAll(Collection) method that uses the
DefaultGenericDaoDbFacade.update(SimpleJdbcCallOperations, BusinessEntity) method in a more smart way,
reusing the SimpleJdbcCallOperations . |
interface |
ModificationDao<T extends BusinessEntity<ID>,ID extends Serializable>
Data Access Object interface used for modifying entities persisted to a store of data.
|
interface |
ReadDao<T extends BusinessEntity<ID>,ID extends Serializable>
Data Access Object interface used for reading entities from a source of data.
|
Modifier and Type | Class and Description |
---|---|
class |
JsonVdsStaticMixIn |
class |
JsonVmTemplateMixIn |
Modifier and Type | Class and Description |
---|---|
class |
ExtendedVmDynamic |
Copyright © 2012. All Rights Reserved.