org.exoplatform.cs.bench
Class CalendarDataInjector

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.services.bench.DataInjector
          extended by org.exoplatform.cs.bench.CalendarDataInjector
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public class CalendarDataInjector
extends org.exoplatform.services.bench.DataInjector

Created by The eXo Platform SAS Author : Vu Duy Tu tu.duy@exoplatform.com Aug 3, 2011


Field Summary
 
Fields inherited from class org.exoplatform.services.bench.DataInjector
ARRAY_SPLIT
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc
 
Constructor Summary
CalendarDataInjector(org.exoplatform.calendar.service.CalendarService calService, org.exoplatform.container.xml.InitParams params)
           
 
Method Summary
 Object execute(HashMap<String,String> arg0)
           
 org.exoplatform.services.log.Log getLog()
           
 void initParams(org.exoplatform.container.xml.InitParams initParams)
           
 void inject(HashMap<String,String> queryParams)
           
 void reject(HashMap<String,String> queryParams)
           
 
Methods inherited from class org.exoplatform.services.bench.DataInjector
createTextResource, getRestId, paragraphs, randomParagraphs, randomUser, randomWords, readGroupsIfExist, readMembershipIfExist, readUsersIfExist, setRestId, words
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarDataInjector

public CalendarDataInjector(org.exoplatform.calendar.service.CalendarService calService,
                            org.exoplatform.container.xml.InitParams params)
Method Detail

getLog

public org.exoplatform.services.log.Log getLog()
Specified by:
getLog in class org.exoplatform.services.bench.DataInjector

initParams

public void initParams(org.exoplatform.container.xml.InitParams initParams)

inject

public void inject(HashMap<String,String> queryParams)
            throws Exception
Specified by:
inject in class org.exoplatform.services.bench.DataInjector
Throws:
Exception

reject

public void reject(HashMap<String,String> queryParams)
            throws Exception
Specified by:
reject in class org.exoplatform.services.bench.DataInjector
Throws:
Exception

execute

public Object execute(HashMap<String,String> arg0)
               throws Exception
Specified by:
execute in class org.exoplatform.services.bench.DataInjector
Throws:
Exception


Copyright © 2003–2014 eXo Platform SAS. All rights reserved.