public interface PolicyAction
PolicyActions are referenced by PolicyListElement objects, which are sequenced into PolicyList objects using a standard master-detail relationship. The set of PolicyListElements that are defined for a LibraryObject and/or its ClassObject's hierarchy define the set of PolicyActions that shall be executed in performing an iFS operation. PolicyActions must be not define any instance members, as instances of PolicyActions might be used simulatenously by multiple sessions.
Modifier and Type | Field and Description |
---|---|
static int |
OUTCOME_STATUS_CEASE_ALL
The outcome status indicating that the operation should not
invoke any other PolicyActions that would otherwise be executed as
part of the operation.
|
static int |
OUTCOME_STATUS_NORMAL
The outcome status indicating that the operation should be
continued normally.
|
Modifier and Type | Method and Description |
---|---|
int |
execute(S_LibrarySession session,
OperationDriver opDriver,
OperationContext opState,
PolicyActionContext pac)
Execute the action.
|
static final int OUTCOME_STATUS_NORMAL
static final int OUTCOME_STATUS_CEASE_ALL
int execute(S_LibrarySession session, OperationDriver opDriver, OperationContext opState, PolicyActionContext pac) throws IfsException
session
- the current session performing the operationopDriver
- the operation driver driving this operationopState
- the operation statepac
- the context of this PolicyActionIfsException
- if the operation failsCopyright © 2023. All rights reserved.