Interface ObjectLifecycleMetadataService
- All Superinterfaces:
Service
Provides methods to retrieve object lifecycle, state, state type, stage group, and stage metadata.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves a singleObjectLifecycleMetadata
.Retrieves multipleObjectLifecycleMetadata
.RetrievesObjectRecordLifecycleMetadata
for a specific object record.Retrieves theObjectRecordLifecycleMetadata
for multiple object records.Retrieves a singleObjectLifecycleRoleMetadata
.Retrieves multipleObjectLifecycleRoleMetadata
.Retrieves a singleObjectLifecycleStageMetadata
.Retrieves a singleObjectLifecycleStageGroupMetadata
.Retrieves multipleObjectLifecycleStageGroupMetadata
.Retrieves multipleObjectLifecycleStageMetadata
.Retrieves a singleObjectLifecycleStateMetadata
.Retrieves multipleObjectLifecycleStateMetadata
.Retrieves a singleObjectLifecycleStateTypeMetadata
.Retrieves multipleObjectLifecycleStateTypeMetadata
.Creates anObjectLifecycleMetadataCollectionRequest.Builder
.Creates anObjectRecordLifecycleMetadataRequest.Builder
.Creates anObjectLifecycleMetadataRequest.Builder
.Creates anObjectLifecycleRoleMetadataRequest.Builder
.Creates anObjectLifecycleStageGroupMetadataRequest.Builder
.Creates anObjectLifecycleStageMetadataRequest.Builder
.Creates anObjectLifecycleStateMetadataRequest.Builder
.Creates anObjectLifecycleStateTypeMetadataRequest.Builder
.
-
Method Details
-
newRequestBuilder
ObjectLifecycleMetadataRequest.Builder newRequestBuilder()Creates anObjectLifecycleMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleMetadataRequest.Builder
-
getLifecycle
Retrieves a singleObjectLifecycleMetadata
. A valid object or lifecycle name must exist in the Vault. If both the object name and object lifecycle name are provided, then the object name must be associated with the object lifecycle name specified in the request.- Parameters:
request
- theObjectLifecycleMetadataRequest
containing the information needed to retrieve the object lifecycle metadata. Cannot be null.- Returns:
- an
ObjectLifecycleMetadata
containing the metadata of the requested object lifecycle - Throws:
RuntimeException
- if the operation fails to retrieve an object lifecycle for the given object name or lifecycle name, or if the object provided in the request is not associated with the specified object lifecycle
-
newCollectionRequestBuilder
ObjectLifecycleMetadataCollectionRequest.Builder newCollectionRequestBuilder()Creates anObjectLifecycleMetadataCollectionRequest.Builder
.- Returns:
- an
ObjectLifecycleMetadataCollectionRequest.Builder
-
getLifecycles
ObjectLifecycleMetadataCollectionResponse getLifecycles(ObjectLifecycleMetadataCollectionRequest request) Retrieves multipleObjectLifecycleMetadata
.- Parameters:
request
- theObjectLifecycleMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycles in the format ofObjectLifecycleMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleMetadata
containing the metadata of the requested object lifecycles
-
newStateRequestBuilder
ObjectLifecycleStateMetadataRequest.Builder newStateRequestBuilder()Creates anObjectLifecycleStateMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleStateMetadataRequest.Builder
-
getState
Retrieves a singleObjectLifecycleStateMetadata
. A valid object lifecycle and state name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStateMetadataRequest
containing the information needed to retrieve the object lifecycle state metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStateMetadata
containing the metadata of the requested object lifecycle state - Throws:
RuntimeException
- if the operation fails to retrieve an object lifecycle state for the given lifecycle name and state name
-
newStateCollectionRequestBuilder
ObjectLifecycleStateMetadataCollectionRequest.Builder newStateCollectionRequestBuilder() -
getStates
ObjectLifecycleStateMetadataCollectionResponse getStates(ObjectLifecycleStateMetadataCollectionRequest request) Retrieves multipleObjectLifecycleStateMetadata
. A valid object lifecycle and state type name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStateMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycle states in the format ofObjectLifecycleStateMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleStateMetadata
containing the metadata of the requested object lifecycle states
-
newStateTypeRequestBuilder
ObjectLifecycleStateTypeMetadataRequest.Builder newStateTypeRequestBuilder()Creates anObjectLifecycleStateTypeMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleStateTypeMetadataRequest.Builder
-
getStateType
Retrieves a singleObjectLifecycleStateTypeMetadata
. A valid object lifecycle and state type name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStateTypeMetadataRequest
containing the information needed to retrieve the object lifecycle state type metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStateTypeMetadata
containing the metadata of the requested object lifecycle state type - Throws:
RuntimeException
- if the operation fails to retrieve an object lifecycle state type for the given object lifecycle name and state type name
-
newStateTypeCollectionRequestBuilder
ObjectLifecycleStateTypeMetadataCollectionRequest.Builder newStateTypeCollectionRequestBuilder() -
getStateTypes
ObjectLifecycleStateTypeMetadataCollectionResponse getStateTypes(ObjectLifecycleStateTypeMetadataCollectionRequest request) Retrieves multipleObjectLifecycleStateTypeMetadata
. A valid object lifecycle and state name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStateTypeMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycle state types in the format ofObjectLifecycleStateTypeMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleStateTypeMetadata
containing the metadata of the requested object lifecycle state types
-
newStageGroupRequestBuilder
ObjectLifecycleStageGroupMetadataRequest.Builder newStageGroupRequestBuilder()Creates anObjectLifecycleStageGroupMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleStageGroupMetadataRequest.Builder
-
getStageGroup
Retrieves a singleObjectLifecycleStageGroupMetadata
. A valid object lifecycle stage group name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStageGroupMetadataRequest
containing the information needed to retrieve the object lifecycle stage group metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStageGroupMetadata
containing the metadata of the requested object lifecycle stage group - Throws:
RuntimeException
- if the operation fails to find an object lifecycle stage group for the given name
-
newStageGroupCollectionRequestBuilder
ObjectLifecycleStageGroupMetadataCollectionRequest.Builder newStageGroupCollectionRequestBuilder() -
getStageGroups
ObjectLifecycleStageGroupMetadataCollectionResponse getStageGroups(ObjectLifecycleStageGroupMetadataCollectionRequest request) Retrieves multipleObjectLifecycleStageGroupMetadata
. A valid object lifecycle and object type name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStageGroupMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycle stage groups in the format ofObjectLifecycleStageGroupMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleStageGroupMetadata
containing the metadata of the requested object lifecycle stage groups
-
newStageRequestBuilder
ObjectLifecycleStageMetadataRequest.Builder newStageRequestBuilder()Creates anObjectLifecycleStageMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleStageMetadataRequest.Builder
-
getStage
Retrieves a singleObjectLifecycleStageMetadata
. A valid object lifecycle stage group and stage name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStageMetadataRequest
containing the information needed to retrieve the object lifecycle stage metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStageMetadata
containing the metadata of the requested object lifecycle stage - Throws:
RuntimeException
- if the operation fails to find an object lifecycle stage for the given object lifecycle stage group name and stage name
-
newStageCollectionRequestBuilder
ObjectLifecycleStageMetadataCollectionRequest.Builder newStageCollectionRequestBuilder() -
getStages
ObjectLifecycleStageMetadataCollectionResponse getStages(ObjectLifecycleStageMetadataCollectionRequest request) Retrieves multipleObjectLifecycleStageMetadata
. The specified object lifecycle stage group, object lifecycle, object type, and object lifecycle state name must exist in the Vault.- Parameters:
request
- theObjectLifecycleStageMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycle stages in the format ofObjectLifecycleStageMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleStageMetadata
containing the metadata of the requested object lifecycle stages
-
newRoleRequestBuilder
ObjectLifecycleRoleMetadataRequest.Builder newRoleRequestBuilder()Creates anObjectLifecycleRoleMetadataRequest.Builder
.- Returns:
- an
ObjectLifecycleRoleMetadataRequest.Builder
-
getRole
Retrieves a singleObjectLifecycleRoleMetadata
. A valid object lifecycle and role name must exist in the Vault.- Parameters:
request
- theObjectLifecycleRoleMetadataRequest
containing the information needed to retrieve the object lifecycle role metadata. Cannot be null.- Returns:
- an
ObjectLifecycleRoleMetadata
containing the metadata of the requested object lifecycle role - Throws:
RuntimeException
- if the operation fails to find an object lifecycle role for the given object lifecycle name and role name
-
newRoleCollectionRequestBuilder
ObjectLifecycleRoleMetadataCollectionRequest.Builder newRoleCollectionRequestBuilder() -
getRoles
ObjectLifecycleRoleMetadataCollectionResponse getRoles(ObjectLifecycleRoleMetadataCollectionRequest request) Retrieves multipleObjectLifecycleRoleMetadata
. A valid object lifecycle name must exist in the Vault.- Parameters:
request
- theObjectLifecycleRoleMetadataCollectionRequest
containing the information needed to fetch multiple object lifecycle roles in the format ofObjectLifecycleRoleMetadata
. Cannot be null.- Returns:
- a list of
ObjectLifecycleRoleMetadata
containing the metadata of the requested object lifecycle roles
-
newRecordLifecycleRequestBuilder
ObjectRecordLifecycleMetadataRequest.Builder newRecordLifecycleRequestBuilder()Creates anObjectRecordLifecycleMetadataRequest.Builder
.- Returns:
- an
ObjectRecordLifecycleMetadataRequest.Builder
-
getRecordLifecycle
RetrievesObjectRecordLifecycleMetadata
for a specific object record. A valid object name and record IDs must exist in the Vault.- Parameters:
request
- theObjectRecordLifecycleMetadataRequest
containing the information needed to retrieve the object lifecycle metadata fields for a specific object record. Cannot be null.- Returns:
- an
ObjectRecordLifecycleMetadata
containing the requested object lifecycle metadata of a specific object record - Throws:
RuntimeException
- if the specified object name or record ID does not exist in the Vault, or if the specified object is not configured with an object lifecycle
-
newRecordLifecycleCollectionRequestBuilder
ObjectRecordLifecycleMetadataCollectionRequest.Builder newRecordLifecycleCollectionRequestBuilder() -
getRecordLifecycles
ObjectRecordLifecycleMetadataCollectionResponse getRecordLifecycles(ObjectRecordLifecycleMetadataCollectionRequest request) Retrieves theObjectRecordLifecycleMetadata
for multiple object records. A valid object name and record IDs must exist in the Vault.- Parameters:
request
- theObjectRecordLifecycleMetadataCollectionRequest
containing the information needed to fetchObjectRecordLifecycleMetadata
for multiple object records. Cannot be null.- Returns:
- an
ObjectRecordLifecycleMetadataCollectionResponse
containing the requested object lifecycle metadata of multiple object records - Throws:
RuntimeException
- if the specified object name or record IDs do not exist in the Vault, or if the specified object is not configured with an object lifecycle
-