org.exoplatform.services.jcr.ext.replication
Class FixupStream

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.replication.FixupStream
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable

public class FixupStream
extends java.lang.Object
implements java.io.Externalizable

Created by The eXo Platform SAS.

Version:
$Id: FixupStream.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Alex Reshetnyak
See Also:
Serialized Form

Constructor Summary
FixupStream()
          FixupStream constructor.
FixupStream(int itemState, int valueData)
          FixupStream constructor.
 
Method Summary
 boolean compare(FixupStream fs)
          compare.
 int getItemSateId()
          getItemSateId.
 int getValueDataId()
          getValueDataId.
 void readExternal(java.io.ObjectInput in)
          
 void writeExternal(java.io.ObjectOutput out)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixupStream

public FixupStream()
FixupStream constructor. Empty constructor is necessary to Externalizable.


FixupStream

public FixupStream(int itemState,
                   int valueData)
FixupStream constructor.

Parameters:
itemState - index of ItemState in ChangesLog
valueData - index of ValueData in ItemState
Method Detail

getItemSateId

public int getItemSateId()
getItemSateId.

Returns:
int return the iItemStateId

getValueDataId

public int getValueDataId()
getValueDataId.

Returns:
int return the iValueDataId

compare

public boolean compare(FixupStream fs)
compare.

Parameters:
fs - FixupStream.
Returns:
boolean return 'true' if this == fs

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

Specified by:
readExternal in interface java.io.Externalizable
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException

Specified by:
writeExternal in interface java.io.Externalizable
Throws:
java.io.IOException


Copyright © 2012 eXo Platform SAS. All Rights Reserved.