|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.extras.migration.MigrationTool
public class MigrationTool
Migration entry point.
| Field Summary | |
|---|---|
static int |
END_NODE
|
static int |
PROPERTY_MULTI
|
static int |
PROPERTY_SINGLE
|
static int |
START_NODE
|
| Constructor Summary | |
|---|---|
MigrationTool()
|
|
| Method Summary | |
|---|---|
void |
commit(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run commit changes. |
NodeReader |
createReader(String from,
String to,
javax.jcr.Session session)
Run create new reader. |
NodeWriter |
createWriter(String from,
String to,
javax.jcr.Session session)
Run create new writer. |
void |
rollback(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Rollback changes. |
void |
runActivities(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run activities migration. |
void |
runAll(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run full migration. |
void |
runIdentities(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run identities migration. |
void |
runProfiles(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run profiles migration. |
void |
runRelationships(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run relationship migration. |
void |
runSpaces(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
Run spaces migration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int START_NODE
public static final int PROPERTY_SINGLE
public static final int PROPERTY_MULTI
public static final int END_NODE
| Constructor Detail |
|---|
public MigrationTool()
| Method Detail |
|---|
public void runAll(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void runIdentities(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void runProfiles(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void runSpaces(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void runRelationships(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void runActivities(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws IOException,
javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
IOException
javax.jcr.RepositoryException
public void rollback(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
javax.jcr.RepositoryException
public void commit(NodeReader reader,
NodeWriter writer,
WriterContext ctx)
throws javax.jcr.RepositoryException
reader - data readerwriter - data writerctx - mavigation context
javax.jcr.RepositoryException
public NodeReader createReader(String from,
String to,
javax.jcr.Session session)
throws javax.jcr.RepositoryException
IOException
javax.jcr.RepositoryException
public NodeWriter createWriter(String from,
String to,
javax.jcr.Session session)
throws javax.jcr.RepositoryException
IOException
javax.jcr.RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||