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.RetrievesObjectRecordLifecycleMetadatafor a specific object record.Retrieves theObjectRecordLifecycleMetadatafor 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- theObjectLifecycleMetadataRequestcontaining the information needed to retrieve the object lifecycle metadata. Cannot be null.- Returns:
- an
ObjectLifecycleMetadatacontaining 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- theObjectLifecycleMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycles in the format ofObjectLifecycleMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleMetadatacontaining 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- theObjectLifecycleStateMetadataRequestcontaining the information needed to retrieve the object lifecycle state metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStateMetadatacontaining 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- theObjectLifecycleStateMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycle states in the format ofObjectLifecycleStateMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleStateMetadatacontaining 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- theObjectLifecycleStateTypeMetadataRequestcontaining the information needed to retrieve the object lifecycle state type metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStateTypeMetadatacontaining 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- theObjectLifecycleStateTypeMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycle state types in the format ofObjectLifecycleStateTypeMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleStateTypeMetadatacontaining 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- theObjectLifecycleStageGroupMetadataRequestcontaining the information needed to retrieve the object lifecycle stage group metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStageGroupMetadatacontaining 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- theObjectLifecycleStageGroupMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycle stage groups in the format ofObjectLifecycleStageGroupMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleStageGroupMetadatacontaining 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- theObjectLifecycleStageMetadataRequestcontaining the information needed to retrieve the object lifecycle stage metadata. Cannot be null.- Returns:
- an
ObjectLifecycleStageMetadatacontaining 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- theObjectLifecycleStageMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycle stages in the format ofObjectLifecycleStageMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleStageMetadatacontaining 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- theObjectLifecycleRoleMetadataRequestcontaining the information needed to retrieve the object lifecycle role metadata. Cannot be null.- Returns:
- an
ObjectLifecycleRoleMetadatacontaining 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- theObjectLifecycleRoleMetadataCollectionRequestcontaining the information needed to fetch multiple object lifecycle roles in the format ofObjectLifecycleRoleMetadata. Cannot be null.- Returns:
- a list of
ObjectLifecycleRoleMetadatacontaining the metadata of the requested object lifecycle roles
-
newRecordLifecycleRequestBuilder
ObjectRecordLifecycleMetadataRequest.Builder newRecordLifecycleRequestBuilder()Creates anObjectRecordLifecycleMetadataRequest.Builder.- Returns:
- an
ObjectRecordLifecycleMetadataRequest.Builder
-
getRecordLifecycle
RetrievesObjectRecordLifecycleMetadatafor a specific object record. A valid object name and record IDs must exist in the Vault.- Parameters:
request- theObjectRecordLifecycleMetadataRequestcontaining the information needed to retrieve the object lifecycle metadata fields for a specific object record. Cannot be null.- Returns:
- an
ObjectRecordLifecycleMetadatacontaining 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 theObjectRecordLifecycleMetadatafor multiple object records. A valid object name and record IDs must exist in the Vault.- Parameters:
request- theObjectRecordLifecycleMetadataCollectionRequestcontaining the information needed to fetchObjectRecordLifecycleMetadatafor multiple object records. Cannot be null.- Returns:
- an
ObjectRecordLifecycleMetadataCollectionResponsecontaining 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
-