public class InterMediaAnnotationTrigger extends OperationActionAdapter
Constructor and Description |
---|
InterMediaAnnotationTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
eventPosted(OperationActionSpecification oas,
AuditEvent event,
LibraryObject target)
Receive notification that an event is being posted.
|
protected String[] |
getInterMediaFormatExtensions()
Gets the array of Format extensions that are recognized by InterMedia.
|
void |
initialize(OperationActionSpecification oas)
Initialize this instance.
|
lookupEventType, registerEventType
public void initialize(OperationActionSpecification oas) 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 subsequently used concurrently by multiple threads.
initialize
in interface OperationAction
initialize
in class OperationActionAdapter
oas
- the referencing OperationActionSpecificationIfsException
- if the operation failspublic void eventPosted(OperationActionSpecification oas, AuditEvent event, LibraryObject target) throws IfsException
Called with the OperationActionSpecification context of this action, along with the event being posted and the target object.
eventPosted
in interface OperationAction
eventPosted
in class OperationActionAdapter
oas
- the referencing OperationActionSpecificationevent
- the event being postedtarget
- the target objectIfsException
- if the operation failsprotected String[] getInterMediaFormatExtensions()
Split out so that a subclass could easily override the extension list, but otherwise use the rest of the implmentation.
Copyright © 2023. All rights reserved.