Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.util
Class UpgradeAssetPublisherManualEntries

java.lang.Object
  extended by com.liferay.portal.kernel.dao.db.BaseDBProcess
      extended by com.liferay.portal.kernel.upgrade.UpgradeProcess
          extended by com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
              extended by com.liferay.portal.upgrade.util.UpgradeAssetPublisherManualEntries
All Implemented Interfaces:
DBProcess

public class UpgradeAssetPublisherManualEntries
extends BaseUpgradePortletPreferences


Constructor Summary
UpgradeAssetPublisherManualEntries()
           
 
Method Summary
protected  String[] getAssetEntryXmls(String[] manualEntries)
           
protected  String getUpdatePortletPreferencesWhereClause()
           
protected  String upgradePreferences(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml)
           
static void upgradeToAssetEntryIdElement(Element rootElement)
           
static void upgradeToAssetEntryTypeElement(Element rootElement)
           
static void upgradeToAssetEntryUuidElement(Element rootElement)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.BaseUpgradePortletPreferences
deletePortletPreferences, doUpgrade, getCompanyId, getGroup, getLayout, getLayoutUuid, getPortletIds, updatePortletPreferences, updatePortletPreferences
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
runSQL, runSQL, runSQLTemplate, runSQLTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeAssetPublisherManualEntries

public UpgradeAssetPublisherManualEntries()
Method Detail

upgradeToAssetEntryIdElement

public static void upgradeToAssetEntryIdElement(Element rootElement)

upgradeToAssetEntryTypeElement

public static void upgradeToAssetEntryTypeElement(Element rootElement)

upgradeToAssetEntryUuidElement

public static void upgradeToAssetEntryUuidElement(Element rootElement)
                                           throws Exception
Throws:
Exception

getAssetEntryXmls

protected String[] getAssetEntryXmls(String[] manualEntries)
                              throws Exception
Throws:
Exception

getUpdatePortletPreferencesWhereClause

protected String getUpdatePortletPreferencesWhereClause()
Overrides:
getUpdatePortletPreferencesWhereClause in class BaseUpgradePortletPreferences

upgradePreferences

protected String upgradePreferences(long companyId,
                                    long ownerId,
                                    int ownerType,
                                    long plid,
                                    String portletId,
                                    String xml)
                             throws Exception
Specified by:
upgradePreferences in class BaseUpgradePortletPreferences
Throws:
Exception

Liferay 6.1.2-ce-ga3