com.liferay.portal.upgrade.util
Class ValueMapperWrapper

java.lang.Object
  extended by com.liferay.portal.upgrade.util.ValueMapperWrapper
All Implemented Interfaces:
ValueMapper
Direct Known Subclasses:
DefaultPKMapper, MBMessageIdMapper

public class ValueMapperWrapper
extends java.lang.Object
implements ValueMapper

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ValueMapperWrapper(ValueMapper valueMapper)
           
 
Method Summary
 void appendException(java.lang.Object exception)
           
 java.lang.Object getNewValue(java.lang.Object oldValue)
           
 ValueMapper getValueMapper()
           
 java.util.Iterator<java.lang.Object> iterator()
           
 void mapValue(java.lang.Object oldValue, java.lang.Object newValue)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueMapperWrapper

public ValueMapperWrapper(ValueMapper valueMapper)
Method Detail

getValueMapper

public ValueMapper getValueMapper()

getNewValue

public java.lang.Object getNewValue(java.lang.Object oldValue)
                             throws java.lang.Exception
Specified by:
getNewValue in interface ValueMapper
Throws:
java.lang.Exception

mapValue

public void mapValue(java.lang.Object oldValue,
                     java.lang.Object newValue)
              throws java.lang.Exception
Specified by:
mapValue in interface ValueMapper
Throws:
java.lang.Exception

appendException

public void appendException(java.lang.Object exception)
Specified by:
appendException in interface ValueMapper

iterator

public java.util.Iterator<java.lang.Object> iterator()
                                              throws java.lang.Exception
Specified by:
iterator in interface ValueMapper
Throws:
java.lang.Exception

size

public int size()
         throws java.lang.Exception
Specified by:
size in interface ValueMapper
Throws:
java.lang.Exception