Interface AdministrativeStatusPersister
-
- All Known Implementing Classes:
DocumentModelStatusPersister
public interface AdministrativeStatusPersister
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getAllInstanceIds()
Lists all instance identifiers persisted in the backend.List<AdministrativeStatus>
getAllStatuses(String instanceId)
Retrieves theAdministrativeStatus
for all services of a given instanceAdministrativeStatus
getStatus(String instanceId, String serviceIdentifier)
Reads theAdministrativeStatus
of a service for a given instancevoid
remove(String instanceId)
Removes all persisted states for a given instance.AdministrativeStatus
saveStatus(AdministrativeStatus status)
Saves theAdministrativeStatus
of a service of a given instance
-
-
-
Method Detail
-
getAllInstanceIds
List<String> getAllInstanceIds()
Lists all instance identifiers persisted in the backend.
-
saveStatus
AdministrativeStatus saveStatus(AdministrativeStatus status)
Saves theAdministrativeStatus
of a service of a given instance
-
getStatus
AdministrativeStatus getStatus(String instanceId, String serviceIdentifier)
Reads theAdministrativeStatus
of a service for a given instance
-
getAllStatuses
List<AdministrativeStatus> getAllStatuses(String instanceId)
Retrieves theAdministrativeStatus
for all services of a given instance
-
remove
void remove(String instanceId)
Removes all persisted states for a given instance.
-
-