Liferay 6.2-ce-ga5

com.liferay.portal.kernel.upgrade.util
Interface UpgradeColumn

All Known Implementing Classes:
BaseUpgradeColumnImpl, BlogsEntryUrlTitleUpgradeColumnImpl, DateUpgradeColumnImpl, DLFileEntryNameUpgradeColumnImpl, DLFileEntryTitleUpgradeColumnImpl, DLFileEntryVersionUpgradeColumnImpl, LazyPKUpgradeColumnImpl, PKUpgradeColumnImpl, SwapUpgradeColumnImpl, TempUpgradeColumnImpl

public interface UpgradeColumn


Method Summary
 String getName()
           
 Integer getNewColumnType(Integer defaultType)
           
 Object getNewValue()
           
 Object getNewValue(Object oldValue)
           
 Integer getOldColumnType(Integer defaultType)
           
 Object getOldValue()
           
 long increment()
           
 boolean isApplicable(String name)
           
 void setNewValue(Object newValue)
           
 void setOldValue(Object oldValue)
           
 

Method Detail

getName

String getName()

getNewColumnType

Integer getNewColumnType(Integer defaultType)

getNewValue

Object getNewValue()

getNewValue

Object getNewValue(Object oldValue)
                   throws Exception
Throws:
Exception

getOldColumnType

Integer getOldColumnType(Integer defaultType)

getOldValue

Object getOldValue()

increment

long increment()
               throws SystemException
Throws:
SystemException

isApplicable

boolean isApplicable(String name)

setNewValue

void setNewValue(Object newValue)

setOldValue

void setOldValue(Object oldValue)

Liferay 6.2-ce-ga5