public interface CTEventListener
Modifier and Type | Method and Description |
---|---|
default void |
onAfterCopy(long sourceCTCollectionId,
long targetCTCollectionId)
Called after copying the source CTCollection into the target
CTCollection.
|
default void |
onAfterPublish(long ctCollectionId)
Called after checking conflicts and publishing the
CTCollection . |
default void |
onBeforePublish(long ctCollectionId)
Called before checking conflicts and publishing the
CTCollection . |
default void |
onBeforeRemove(long ctCollectionId)
Called before deleting a
CTCollection . |
default void onAfterCopy(long sourceCTCollectionId, long targetCTCollectionId) throws CTEventException
sourceCTCollectionId
- the change tracking collection ID of the
source CTCollection
targetCTCollectionId
- the change tracking collection ID of the
target CTCollection
CTEventException
- if a exception occurreddefault void onAfterPublish(long ctCollectionId) throws CTEventException
CTCollection
.ctCollectionId
- the collection ID of the CTCollection
being publishedCTEventException
- if an exception occurreddefault void onBeforePublish(long ctCollectionId) throws CTEventException
CTCollection
.ctCollectionId
- the collection ID of the CTCollection
being publishedCTEventException
- if an exception occurreddefault void onBeforeRemove(long ctCollectionId) throws CTEventException
CTCollection
.ctCollectionId
- the collection ID of the CTCollection
being deletedCTEventException
- if an exception occurred