org.exoplatform.social.extras.migration.rw
Class NodeReader_11x_12x

java.lang.Object
  extended by org.exoplatform.social.extras.migration.rw.NodeReader_11x_12x
All Implemented Interfaces:
NodeReader

public class NodeReader_11x_12x
extends Object
implements NodeReader

Version:
$Revision$
Author:
Alain Defrance

Constructor Summary
NodeReader_11x_12x(javax.jcr.Session session)
           
 
Method Summary
 void checkData()
          Check migration possibility.
 void readActivities(OutputStream os, WriterContext ctx)
          Activities reading.
 void readIdentities(OutputStream os, WriterContext ctx)
          Identities reading.
 void readProfiles(OutputStream os, WriterContext ctx)
          Profiles reading.
 void readRelationships(OutputStream os, WriterContext ctx)
          Relationships reading.
 void readSpaces(OutputStream os, WriterContext ctx)
          Spaces reading.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeReader_11x_12x

public NodeReader_11x_12x(javax.jcr.Session session)
                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException
Method Detail

readIdentities

public void readIdentities(OutputStream os,
                           WriterContext ctx)
                    throws javax.jcr.RepositoryException,
                           IOException
Identities reading.

Specified by:
readIdentities in interface NodeReader
Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readSpaces

public void readSpaces(OutputStream os,
                       WriterContext ctx)
                throws javax.jcr.RepositoryException,
                       IOException
Spaces reading.

Specified by:
readSpaces in interface NodeReader
Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readProfiles

public void readProfiles(OutputStream os,
                         WriterContext ctx)
                  throws javax.jcr.RepositoryException,
                         IOException
Profiles reading.

Specified by:
readProfiles in interface NodeReader
Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readActivities

public void readActivities(OutputStream os,
                           WriterContext ctx)
                    throws javax.jcr.RepositoryException,
                           IOException
Activities reading.

Specified by:
readActivities in interface NodeReader
Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readRelationships

public void readRelationships(OutputStream os,
                              WriterContext ctx)
                       throws javax.jcr.RepositoryException,
                              IOException
Relationships reading.

Specified by:
readRelationships in interface NodeReader
Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

checkData

public void checkData()
               throws MigrationException
Description copied from interface: NodeReader
Check migration possibility.

Specified by:
checkData in interface NodeReader
Throws:
MigrationException


Copyright © 2013 eXo Platform SAS. All Rights Reserved.