org.exoplatform.applications.repoload
Class DataReader

java.lang.Object
  extended by org.exoplatform.applications.repoload.DataReader

public class DataReader
extends java.lang.Object

Created by The eXo Platform SAS Author : Alex Reshetnyak alex.reshetnyak@exoplatform.org.ua reshetnyak.alex@gmail.com 12.04.2007 11:42:21

Version:
$Id: DataReader.java 12.04.2007 11:42:21 rainfox

Nested Class Summary
protected static class DataReader.DCPropertyQName
           
 
Field Summary
protected  java.lang.String[] args
           
protected  WorkspaceStorageConnection connection
           
protected  org.exoplatform.container.StandaloneContainer container
           
 int countNodes
           
protected  CredentialsImpl credentials
           
protected  SessionDataManager dataManager
           
protected  java.util.Calendar date
           
protected  TransientValueData fileData
           
protected  LocationFactory locationFactory
           
protected  java.util.HashMap<java.lang.String,java.lang.String> mapConfig
           
protected  RepositoryImpl repository
           
protected  RepositoryService repositoryService
           
protected  NodeImpl root
           
protected  NodeImpl rootTestNode
           
protected  java.lang.String sConf
           
protected  SessionImpl session
           
protected  java.lang.String sFile
           
protected  java.lang.String sName
           
protected  java.lang.String sReadOnly
           
protected  java.lang.String sReadTree
           
protected  java.lang.String sRepository
           
protected  java.lang.String sRoot
           
protected  java.lang.String sVdfile
           
protected  java.lang.String sWorkspace
           
protected  java.lang.String tree
           
protected  WorkspaceImpl workspace
           
protected  WorkspaceDataContainerBase workspaceDataContainer
           
 
Constructor Summary
DataReader(java.lang.String[] args)
           
DataReader(java.lang.String[] args, java.lang.String threadName)
           
 
Method Summary
 NodeImpl getNode(NodeImpl parentNode, java.lang.String relPath)
           
 javax.jcr.Property getProperty(NodeImpl node, java.lang.String relPath)
           
protected  int[] getTree(java.lang.String sTree)
           
 void initRepository()
           
 void readChilds(javax.jcr.Node parent)
           
 void readData()
          Deprecated. 
 void readDataAPI()
           
 void showDCProperty(javax.jcr.Node parent)
           
 void showProperty(javax.jcr.Node parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

args

protected java.lang.String[] args

mapConfig

protected java.util.HashMap<java.lang.String,java.lang.String> mapConfig

tree

protected java.lang.String tree

sVdfile

protected java.lang.String sVdfile

sConf

protected java.lang.String sConf

sRoot

protected java.lang.String sRoot

sWorkspace

protected java.lang.String sWorkspace

sRepository

protected java.lang.String sRepository

sReadTree

protected java.lang.String sReadTree

sReadOnly

protected java.lang.String sReadOnly

session

protected SessionImpl session

dataManager

protected SessionDataManager dataManager

repository

protected RepositoryImpl repository

credentials

protected CredentialsImpl credentials

workspace

protected WorkspaceImpl workspace

repositoryService

protected RepositoryService repositoryService

root

protected NodeImpl root

rootTestNode

protected NodeImpl rootTestNode

container

protected org.exoplatform.container.StandaloneContainer container

connection

protected WorkspaceStorageConnection connection

workspaceDataContainer

protected WorkspaceDataContainerBase workspaceDataContainer

locationFactory

protected LocationFactory locationFactory

fileData

protected TransientValueData fileData

date

protected java.util.Calendar date

sName

protected java.lang.String sName

sFile

protected java.lang.String sFile

countNodes

public int countNodes
Constructor Detail

DataReader

public DataReader(java.lang.String[] args)

DataReader

public DataReader(java.lang.String[] args,
                  java.lang.String threadName)
Method Detail

initRepository

public void initRepository()
                    throws java.lang.Exception
Throws:
java.lang.Exception

readData

@Deprecated
public void readData()
Deprecated. 


readDataAPI

public void readDataAPI()
                 throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

readChilds

public void readChilds(javax.jcr.Node parent)
                throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

showDCProperty

public void showDCProperty(javax.jcr.Node parent)
                    throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

showProperty

public void showProperty(javax.jcr.Node parent)
                  throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getNode

public NodeImpl getNode(NodeImpl parentNode,
                        java.lang.String relPath)
                 throws javax.jcr.PathNotFoundException,
                        javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getProperty

public javax.jcr.Property getProperty(NodeImpl node,
                                      java.lang.String relPath)
                               throws javax.jcr.PathNotFoundException,
                                      javax.jcr.RepositoryException
Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException

getTree

protected int[] getTree(java.lang.String sTree)


Copyright © 2012 eXo Platform SAS. All Rights Reserved.