com.liferay.portal.upgrade.util
Class DatabaseValueMapper
java.lang.Object
com.liferay.portal.upgrade.util.DatabaseValueMapper
- All Implemented Interfaces:
- ValueMapper
public class DatabaseValueMapper
- extends java.lang.Object
- implements ValueMapper
View Source
- Author:
- Alexander Chow, Brian Wing Shun Chan
Method Summary |
void |
appendException(java.lang.Object exception)
|
java.lang.Object |
getNewValue(java.lang.Object oldValue)
|
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 |
DatabaseValueMapper
public DatabaseValueMapper()
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