info.magnolia.module.demoproject.setup
Class CreateOneDummyEventTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.demoproject.setup.CreateOneDummyEventTask
All Implemented Interfaces:
info.magnolia.module.delta.Task

public class CreateOneDummyEventTask
extends info.magnolia.module.delta.AbstractRepositoryTask

Created a dummy event with the passed map content and a stkTextImage paragraph in the main collection.


Field Summary
protected static Map<String,Object> stkTextImageContent
           
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
DO_NOTHING, log
 
Constructor Summary
CreateOneDummyEventTask(String parentPath, String eventNodeName, String eventTemplateName, Map<String,Object> eventContent)
           
 
Method Summary
protected  void doExecute(info.magnolia.module.InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stkTextImageContent

protected static Map<String,Object> stkTextImageContent
Constructor Detail

CreateOneDummyEventTask

public CreateOneDummyEventTask(String parentPath,
                               String eventNodeName,
                               String eventTemplateName,
                               Map<String,Object> eventContent)
Method Detail

doExecute

protected void doExecute(info.magnolia.module.InstallContext installContext)
                  throws javax.jcr.RepositoryException,
                         info.magnolia.module.delta.TaskExecutionException
Specified by:
doExecute in class info.magnolia.module.delta.AbstractRepositoryTask
Throws:
javax.jcr.RepositoryException
info.magnolia.module.delta.TaskExecutionException


Copyright © 2008-2014 Magnolia International Ltd.. All Rights Reserved.