Package org.opencms.file.collectors
Class CmsDefaultPostCreateHandler
- java.lang.Object
-
- org.opencms.file.collectors.CmsDefaultPostCreateHandler
-
- All Implemented Interfaces:
I_CmsCollectorPostCreateHandler
public class CmsDefaultPostCreateHandler extends java.lang.Object implements I_CmsCollectorPostCreateHandler
Default implementation for the post-create handler interface.This default implementation does nothing.
-
-
Constructor Summary
Constructors Constructor Description CmsDefaultPostCreateHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
CmsDefaultPostCreateHandler
public CmsDefaultPostCreateHandler()
-
-
Method Detail
-
onCreate
public void onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode)
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:
I_CmsCollectorPostCreateHandler.onCreate(org.opencms.file.CmsObject, org.opencms.file.CmsResource, boolean)
-
-