Package org.opencms.file.collectors
Class CmsDefaultPostCreateHandler
java.lang.Object
org.opencms.file.collectors.CmsDefaultPostCreateHandler
- All Implemented Interfaces:
I_CmsCollectorPostCreateHandler
Default implementation for the post-create handler interface.
This default implementation does nothing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onCreate
(CmsObject cms, CmsResource createdResource, boolean copyMode) This is called after the new content has been created (and possibly already been filled with content).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opencms.file.collectors.I_CmsCollectorPostCreateHandler
onCreate
-
Constructor Details
-
CmsDefaultPostCreateHandler
public CmsDefaultPostCreateHandler()
-
-
Method Details
-
onCreate
Description copied from interface:I_CmsCollectorPostCreateHandler
This is called after the new content has been created (and possibly already been filled with content).- Specified by:
onCreate
in interfaceI_CmsCollectorPostCreateHandler
- Parameters:
cms
- the current user's CMS contextcreatedResource
- the resource which has been createdcopyMode
- true if the user chose one of the elements in the collector list as a model- See Also:
-