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
com.liferay.change.tracking.model.CTCollection. |
default void |
onBeforePublish(long ctCollectionId)
Called before checking conflicts and publishing the
com.liferay.change.tracking.model.CTCollection. |
default void |
onBeforeRemove(long ctCollectionId)
Called before deleting a
com.liferay.change.tracking.model.CTCollection. |
default void onAfterCopy(long sourceCTCollectionId,
long targetCTCollectionId)
throws CTEventException
sourceCTCollectionId - the change tracking collection ID of the
source com.liferay.change.tracking.model.CTCollectiontargetCTCollectionId - the change tracking collection ID of the
target com.liferay.change.tracking.model.CTCollectionCTEventException - if a exception occurreddefault void onAfterPublish(long ctCollectionId)
throws CTEventException
com.liferay.change.tracking.model.CTCollection.ctCollectionId - the collection ID of the com.liferay.change.tracking.model.CTCollection being publishedCTEventException - if an exception occurreddefault void onBeforePublish(long ctCollectionId)
throws CTEventException
com.liferay.change.tracking.model.CTCollection.ctCollectionId - the collection ID of the com.liferay.change.tracking.model.CTCollection being publishedCTEventException - if an exception occurreddefault void onBeforeRemove(long ctCollectionId)
throws CTEventException
com.liferay.change.tracking.model.CTCollection.ctCollectionId - the collection ID of the com.liferay.change.tracking.model.CTCollection being deletedCTEventException - if an exception occurred