org.exoplatform.jcr.benchmark.usecases.portal
Class WritePageAction

java.lang.Object
  extended by org.exoplatform.jcr.benchmark.usecases.portal.AbstractAction
      extended by org.exoplatform.jcr.benchmark.usecases.portal.AbstractWriteAction
          extended by org.exoplatform.jcr.benchmark.usecases.portal.WritePageAction

public class WritePageAction
extends AbstractWriteAction

Created by The eXo Platform SAS.
Date:

Version:
$Id: WritePageAction.java 111 2008-11-11 11:11:11Z serg $
Author:
Karpenko Sergiy

Field Summary
protected  int addSubNodes
           
protected  int removeProperties
           
protected  int removeSubNodes
           
protected  int setProperties
           
 
Constructor Summary
WritePageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository, java.lang.String workspace, java.lang.String rootName, int depth, java.lang.String stringValue, byte[] binaryValue, int multiValueSize, int removeProperties, int setProperties, int removeSubNodes, int addSubNodes)
           
 
Method Summary
 void perform()
          Performs action on the page (possibly read, write or what ever)
 
Methods inherited from class org.exoplatform.jcr.benchmark.usecases.portal.AbstractWriteAction
createGenericNode, createValues
 
Methods inherited from class org.exoplatform.jcr.benchmark.usecases.portal.AbstractAction
getNodeOnLevel, getRootNodeName, getSession, nextNode, nextParent, nextPropertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

removeProperties

protected int removeProperties

setProperties

protected int setProperties

removeSubNodes

protected int removeSubNodes

addSubNodes

protected int addSubNodes
Constructor Detail

WritePageAction

public WritePageAction(org.exoplatform.services.jcr.impl.core.RepositoryImpl repository,
                       java.lang.String workspace,
                       java.lang.String rootName,
                       int depth,
                       java.lang.String stringValue,
                       byte[] binaryValue,
                       int multiValueSize,
                       int removeProperties,
                       int setProperties,
                       int removeSubNodes,
                       int addSubNodes)
Method Detail

perform

public void perform()
             throws javax.jcr.RepositoryException
Description copied from class: AbstractAction
Performs action on the page (possibly read, write or what ever)

Specified by:
perform in class AbstractAction
Throws:
javax.jcr.RepositoryException


Copyright © 2010 eXo Platform SAS. All Rights Reserved.