public interface LifecycleManager extends Remote
Modifier and Type | Method and Description |
---|---|
Item |
createLifecyclePolicy(NamedValue[] def,
AttributeRequest[] attrs)
Creates a new LIFECYCLE_POLICY Item.
|
void |
deleteLifecyclePolicy(long id,
NamedValue[] options)
Deletes a LIFECYCLE_POLICY Item.
|
Item[] |
findLifecyclePolicies(NamedValue[] options,
AttributeRequest[] attrs)
Returns an array of LIFECYCLE_POLICY Items that match the specified search
options.
|
Item |
findLifecyclePolicyByName(String name,
AttributeRequest[] attrs)
Returns the LIFECYCLE_POLICY Item with the specified name, or null if no
matching LIFECYCLE_POLICY Item exists.
|
String[] |
listLifecycleActionSpecifications()
Returns the list of registered lifecycle action specifications.
|
String[] |
listLifecycleDateRuleSpecifications()
Returns the list of registered Lifecycle date rule specifications.
|
Item |
updateLifecyclePolicy(long id,
NamedValue[] def,
AttributeRequest[] attrs)
Updates an existing LIFECYCLE_POLICY Item.
|
Item |
updateLifecyclePolicyEntry(long id,
NamedValue[] def,
AttributeRequest[] attrs)
Updates an existing LIFECYCLE_POLICY_ENTRY item.
|
Item[] findLifecyclePolicies(NamedValue[] options, AttributeRequest[] attrs) throws FdkException
Currently, no options are supported; this method always returns an array of all existing LIFECYCLE_POLICY Items.
options
- search and filter options
(currently, no options are supported)attrs
- attributes to retrieve for each LIFECYCLE_POLICY ItemFdkException
- if the operation failsItem findLifecyclePolicyByName(String name, AttributeRequest[] attrs) throws FdkException
LIFECYCLE_POLICY Items have unique NAME attribute; there is at most one LIFECYCLE_POLICY Item with any given name.
name
- the name of the LIFECYCLE_POLICY Item to retrieveattrs
- attributes to retrieve for the LIFECYCLE_POLICY ItemFdkException
- if the operation failsItem createLifecyclePolicy(NamedValue[] def, AttributeRequest[] attrs) throws FdkException
def
- the list of names and corresponding values of the
attributes for the LIFECYCLE_POLICY Item being
created; supported attributes:
attrs
- attributes to retrieve for the created
LIFECYCLE_POLICY ItemFdkException
- if the operation failsItem updateLifecyclePolicy(long id, NamedValue[] def, AttributeRequest[] attrs) throws FdkException
id
- the ID of the LIFECYCLE_POLICY Item to updatedef
- the list of names and corresponding values of the
attributes to update; supported attributes:
attrs
- attributes to retrieve for the updated
LIFECYCLE_POLICY ItemFdkException
- if the operation failsItem updateLifecyclePolicyEntry(long id, NamedValue[] def, AttributeRequest[] attrs) throws FdkException
id
- The ID of the LIFECYCLE_POLICY_ENTRY item to update.def
- The list of names and corresponding values of the
attributes to update. Supported attributes:
attrs
- Attributes to return for the updated
LIFECYCLE_POLICY_ENTRY item.FdkException
- if the operation fails.void deleteLifecyclePolicy(long id, NamedValue[] options) throws FdkException
id
- the ID of the LIFECYCLE_POLICY Item to deleteoptions
- delete options (none currently supported)FdkException
- if the operation failsString[] listLifecycleActionSpecifications() throws FdkException
Any element of the return value may be used as the value for the LIFECYCLE_ACTION attribute of a LIFECYCLE_POLICY_ENTRY Item.
FdkException
- if the operation failsString[] listLifecycleDateRuleSpecifications() throws FdkException
Any element of the return value may be used as the value for the LIFECYCLE_DATE_RULE attribute of a LIFECYCLE_POLICY Item.
FdkException
- if the operation failsCopyright © 2023. All rights reserved.