org.exoplatform.services.jcr.ext.replication.test.priority
Class BasePriorityTestCase

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
      extended by org.exoplatform.services.jcr.ext.replication.test.priority.BasePriorityTestCase

public class BasePriorityTestCase
extends BaseReplicationTestCase

Created by The eXo Platform SAS.

Version:
$Id: BasePriorityTestCase.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Alex Reshetnyak

Field Summary
protected  WorkspaceDataTransmitter dataTransmitter
          The workspaceDataTransmitter will be used for getting the ChannelManager.
 
Fields inherited from class org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
BUFFER_SIZE, DIVIDER, log, ONE_SECONDS, repository, rootNode, session
 
Constructor Summary
BasePriorityTestCase(RepositoryService repositoryService, java.lang.String reposytoryName, java.lang.String workspaceName, java.lang.String userName, java.lang.String password)
          BasePriorityTestCase constructor.
 
Method Summary
 java.lang.StringBuffer allowConnect()
          allowConnect.
 java.lang.StringBuffer allowConnectForced()
          allowConnectForced.
 java.lang.StringBuffer disconnectClusterNode()
          disconnectClusterNode.
 java.lang.StringBuffer disconnectClusterNode(int id)
          disconnectClusterNode.
 java.lang.StringBuffer isReadOnly(java.lang.String workspaceName)
          isReadOnly.
 
Methods inherited from class org.exoplatform.services.jcr.ext.replication.test.BaseReplicationTestCase
addNodePath, compareStream, compareStream, getNormalizePath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataTransmitter

protected WorkspaceDataTransmitter dataTransmitter
The workspaceDataTransmitter will be used for getting the ChannelManager.

Constructor Detail

BasePriorityTestCase

public BasePriorityTestCase(RepositoryService repositoryService,
                            java.lang.String reposytoryName,
                            java.lang.String workspaceName,
                            java.lang.String userName,
                            java.lang.String password)
BasePriorityTestCase constructor.

Parameters:
repositoryService - the RepositoryService.
reposytoryName - the repository name
workspaceName - the workspace name
userName - the user name
password - the password
Method Detail

disconnectClusterNode

public java.lang.StringBuffer disconnectClusterNode()
disconnectClusterNode.

Returns:
StringBuffer return the responds {'ok', 'fail'}

disconnectClusterNode

public java.lang.StringBuffer disconnectClusterNode(int id)
disconnectClusterNode.

Parameters:
id - the changed id
Returns:
StringBuffer return the responds {'ok', 'fail'}

allowConnect

public java.lang.StringBuffer allowConnect()
allowConnect.

Returns:
StringBuffer return the responds {'ok', 'fail'}

allowConnectForced

public java.lang.StringBuffer allowConnectForced()
allowConnectForced.

Returns:
StringBuffer return the responds {'ok', 'fail'}

isReadOnly

public java.lang.StringBuffer isReadOnly(java.lang.String workspaceName)
isReadOnly.

Parameters:
workspaceName - the workspace name
Returns:
StringBuffer return the responds {'ok', 'fail'}


Copyright © 2010 eXo Platform SAS. All Rights Reserved.