public interface LifecycleDateRule
Modifier and Type | Method and Description |
---|---|
Date |
getLifecycleDate(Date createDate)
Determine the LifecycleDate based on a creation date
and the specified LifecyclePolicy.
|
Date |
getLifecycleDate(Document doc)
Determine the LifecycleDate for the specified document
and the specified LifecyclePolicy.
|
void |
initialize(LifecycleDateRuleSpecification ldrs)
Initialize this instance.
|
void initialize(LifecycleDateRuleSpecification ldrs) throws IfsException
Called immediately after construction (via the default constructor) and used so that the implementation can initialize session-independent state. This instance may be used concurrently by multiple threads.
ldrs
- the LifecycleDateRuleSpecification that references
this instanceIfsException
- if the operation failsDate getLifecycleDate(Document doc) throws IfsException
This variant assumes the document has been created and that the LifecyclePolicy specified during initialization is being assigned to the document.
doc
- the DocumentIfsException
- if the operation failsDate getLifecycleDate(Date createDate) throws IfsException
This variant takes a document creation date and a LifecyclePolicy, and is typically used when creating a document and assigning a LifecyclePolicy at the same time.
createDate
- the creation date of a Document being createdIfsException
- if the operation failsCopyright © 2023. All rights reserved.