com.liferay.portal.upgrade.v5_1_0.util
Class BlogsEntryUrlTitleUpgradeColumnImpl

java.lang.Object
  extended by com.liferay.portal.upgrade.util.BaseUpgradeColumnImpl
      extended by com.liferay.portal.upgrade.v5_1_0.util.BlogsEntryUrlTitleUpgradeColumnImpl
All Implemented Interfaces:
UpgradeColumn

public class BlogsEntryUrlTitleUpgradeColumnImpl
extends BaseUpgradeColumnImpl

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
BlogsEntryUrlTitleUpgradeColumnImpl(UpgradeColumn entryIdColumn, UpgradeColumn titleColumn)
           
 
Method Summary
 java.lang.Object getNewValue(java.lang.Object oldValue)
           
protected  java.lang.String getUrlTitle(long entryId, java.lang.String title)
           
 
Methods inherited from class com.liferay.portal.upgrade.util.BaseUpgradeColumnImpl
getName, getNewColumnType, getNewValue, getOldColumnType, getOldValue, isApplicable, setNewValue, setOldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlogsEntryUrlTitleUpgradeColumnImpl

public BlogsEntryUrlTitleUpgradeColumnImpl(UpgradeColumn entryIdColumn,
                                           UpgradeColumn titleColumn)
Method Detail

getNewValue

public java.lang.Object getNewValue(java.lang.Object oldValue)
                             throws java.lang.Exception
Throws:
java.lang.Exception

getUrlTitle

protected java.lang.String getUrlTitle(long entryId,
                                       java.lang.String title)