public interface I_CmsCollectorPostCreateHandler
Post create handlers can also be specified when using the tags
CmsJspTagDisplay or CmsJspTagEdit.
| Modifier and Type | Method and 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).
|
default void |
onCreate(CmsObject cms,
CmsResource createdResource,
boolean copyMode,
java.lang.String config)
This is called after the new content has been created (and possibly already been filled with content).
|
static CmsPair<java.lang.String,java.lang.String> |
splitClassAndConfig(java.lang.String handlerConfig)
Splits the string that configures the handler into the handler class and the configuration part.
|
static CmsPair<java.lang.String,java.lang.String> splitClassAndConfig(java.lang.String handlerConfig)
handlerConfig - string that configures the handlervoid onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode)
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 modeldefault void onCreate(CmsObject cms, CmsResource createdResource, boolean copyMode, java.lang.String config)
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 modelconfig - an optional configuration string that can be handled specific by each implementation