public interface MdStore extends Store<MdEvent,MdStoreDelegate>
Maintenance Domain's
storage interface.
Note: because the MaintenanceDomain is immutable if anything needs to be
changed in it, then it must be replaced in the store. This includes adding
and deleting Maintenance Associations from an MD.Modifier and Type | Method and Description |
---|---|
boolean |
createUpdateMaintenanceDomain(MaintenanceDomain md)
Create or replace a Maintenance Domain.
|
boolean |
deleteMaintenanceDomain(MdId mdName)
Delete a specific Maintenance Domain by its identifier.
|
java.util.Collection<MaintenanceDomain> |
getAllMaintenanceDomain()
Get a list of all of the Maintenance Domains on the system.
|
java.util.Optional<MaintenanceDomain> |
getMaintenanceDomain(MdId mdName)
Get a specific Maintenance Domain by its identifier.
|
hasDelegate, setDelegate, unsetDelegate
java.util.Collection<MaintenanceDomain> getAllMaintenanceDomain()
java.util.Optional<MaintenanceDomain> getMaintenanceDomain(MdId mdName)
mdName
- An identifier for the Maintenance Domainboolean deleteMaintenanceDomain(MdId mdName)
mdName
- An identifier for the Maintenance Domain to be deletedboolean createUpdateMaintenanceDomain(MaintenanceDomain md)
md
- The Maintenance Domain to create or replace