org.exoplatform.social.extras.migration.io
Class WriterContext

java.lang.Object
  extended by org.exoplatform.social.extras.migration.io.WriterContext

public class WriterContext
extends Object

Writer context.

Version:
$Revision$
Author:
Alain Defrance

Nested Class Summary
static class WriterContext.DataType
           
 
Constructor Summary
WriterContext(javax.jcr.Session session)
           
WriterContext(javax.jcr.Session session, String from, String to)
           
 
Method Summary
 void cleanup()
           
 String get(String key)
           
 Long getDone(WriterContext.DataType type)
           
 String getFrom()
           
 String getTo()
           
 void incDone(WriterContext.DataType type)
           
 boolean isCompleted(WriterContext.DataType type)
           
 void put(String key, String value)
           
 void setCompleted(WriterContext.DataType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterContext

public WriterContext(javax.jcr.Session session,
                     String from,
                     String to)

WriterContext

public WriterContext(javax.jcr.Session session)
Method Detail

get

public String get(String key)

put

public void put(String key,
                String value)

getFrom

public String getFrom()

getTo

public String getTo()

isCompleted

public boolean isCompleted(WriterContext.DataType type)

setCompleted

public void setCompleted(WriterContext.DataType type)

getDone

public Long getDone(WriterContext.DataType type)

incDone

public void incDone(WriterContext.DataType type)

cleanup

public void cleanup()


Copyright © 2013 eXo Platform SAS. All Rights Reserved.