com.liferay.portal.upgrade.v6_0_0
Class UpgradeAssetPublisher

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
      extended by com.liferay.portal.upgrade.v6_0_0.UpgradeAssetPublisher

public class UpgradeAssetPublisher
extends com.liferay.portal.kernel.upgrade.UpgradeProcess

View Source

Author:
Julio Camarero

Constructor Summary
UpgradeAssetPublisher()
           
 
Method Summary
protected  void deletePortletPreferences(long portletPreferencesId)
           
protected  void doUpgrade()
           
protected  java.lang.Object[] getLayout(long plid)
           
protected  void updatePortletPreferences()
           
protected  void updatePortletPreferences(long portletPreferencesId, java.lang.String preferences)
           
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.kernel.upgrade.UpgradeProcess
getThreshold, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade, upgrade
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeAssetPublisher

public UpgradeAssetPublisher()
Method Detail

deletePortletPreferences

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

doUpgrade

protected void doUpgrade()
                  throws java.lang.Exception
Overrides:
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcess
Throws:
java.lang.Exception

getLayout

protected java.lang.Object[] getLayout(long plid)
                                throws java.lang.Exception
Throws:
java.lang.Exception

updatePortletPreferences

protected void updatePortletPreferences()
                                 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