org.exoplatform.social.extras.migration.rw
Interface NodeReader

All Known Implementing Classes:
NodeReader_11x_12x

public interface NodeReader

Read migraiton data.

Version:
$Revision$
Author:
Alain Defrance

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.
 

Method Detail

readIdentities

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

Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readSpaces

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

Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readProfiles

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

Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readActivities

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

Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

readRelationships

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

Parameters:
os - data stream
ctx - migration context
Throws:
javax.jcr.RepositoryException
IOException

checkData

void checkData()
               throws MigrationException
Check migration possibility.

Throws:
MigrationException


Copyright © 2013 eXo Platform SAS. All Rights Reserved.