public class CacheInvalOnAttachmentListener extends com.ibm.commerce.command.event.CommandExecutionEventListener implements CacheInvalConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
The IBM copyright notice.
|
ASSET, BUSINESSOBJECT, COLLATERAL_ID, COMMANDCONTEXT, OBJECT_ID, OBJECTTYPE, RELATION, STORE_ID, TARGET, TARGET_ID, TYPE, TYPE_ID
Constructor and Description |
---|
CacheInvalOnAttachmentListener()
Deprecated.
Creates an instance of the listener.
|
Modifier and Type | Method and Description |
---|---|
void |
enable(boolean _enable)
Deprecated.
Enables the command execution listener.
|
void |
processActivityEvent(com.ibm.commerce.event.WCSEvent aEvent)
Deprecated.
Processes Attachment command event by removing the Content cache associated with that attachment.
|
public static final java.lang.String COPYRIGHT
public CacheInvalOnAttachmentListener()
public void enable(boolean _enable) throws java.lang.Exception
enable
in interface ComponentConfiguration
enable
in class com.ibm.commerce.command.event.CommandExecutionEventListener
enable
- true if the listener is to be enabledjava.lang.Exception
- thrown while adding and removing event listener.public void processActivityEvent(com.ibm.commerce.event.WCSEvent aEvent) throws ECException
processActivityEvent
in interface com.ibm.commerce.event.WCSEventListener
processActivityEvent
in class com.ibm.commerce.command.event.CommandExecutionEventListener
aEvent
- An event to process.ECException