eXo JCR :: Component :: Extension Service 1.15.0-CR2

org.exoplatform.services.jcr.ext.backup.impl
Class FixupStream

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

public class FixupStream
extends Object
implements Externalizable

Created by The eXo Platform SAS.

Version:
$Id: FixupStream.java 34445 2009-07-24 07:51:18Z dkatayev $
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(ObjectInput in)
          
 void writeExternal(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(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException

Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException

Specified by:
writeExternal in interface Externalizable
Throws:
IOException

eXo JCR :: Component :: Extension Service 1.15.0-CR2

Copyright © 2012 eXo Platform SAS. All Rights Reserved.