com.liferay.portal.upgrade.v5_2_0
Class UpgradeDocumentLibrary

java.lang.Object
  extended by com.liferay.portal.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v5_2_0.UpgradeDocumentLibrary

public class UpgradeDocumentLibrary
extends UpgradeProcess

View Source

Author:
Samuel Kong, Brian Wing Shun Chan

Constructor Summary
UpgradeDocumentLibrary()
           
 
Method Summary
protected  void deletePortletPreferences(long portletPreferencesId)
           
protected  void doUpgrade()
           
protected  void updatePortletPreferences(long portletPreferencesId, java.lang.String preferences)
           
 void upgrade()
           
protected  java.lang.String upgradePreferences(long companyId, long ownerId, int ownerType, long plid, java.lang.String portletId, java.lang.String xml)
           
 
Methods inherited from class com.liferay.portal.upgrade.UpgradeProcess
getThreshold, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeDocumentLibrary

public UpgradeDocumentLibrary()
Method Detail

upgrade

public void upgrade()
             throws UpgradeException
Specified by:
upgrade in class UpgradeProcess
Throws:
UpgradeException

deletePortletPreferences

protected void deletePortletPreferences(long portletPreferencesId)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

doUpgrade

protected void doUpgrade()
                  throws java.lang.Exception
Throws:
java.lang.Exception

updatePortletPreferences

protected void updatePortletPreferences(long portletPreferencesId,
                                        java.lang.String preferences)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

upgradePreferences

protected java.lang.String upgradePreferences(long companyId,
                                              long ownerId,
                                              int ownerType,
                                              long plid,
                                              java.lang.String portletId,
                                              java.lang.String xml)
                                       throws java.lang.Exception
Throws:
java.lang.Exception