Liferay 7.0-ce-b4

com.liferay.portal.kernel.upgrade
Class BaseUpgradeAdminPortlets

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.BaseUpgradeAdminPortlets
All Implemented Interfaces:
DBProcess, UpgradeStep
Direct Known Subclasses:
UpgradeAdminPortlets

public abstract class BaseUpgradeAdminPortlets
extends UpgradeProcess


Field Summary
 
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection
 
Constructor Summary
BaseUpgradeAdminPortlets()
           
 
Method Summary
protected  void addResourcePermission(long resourcePermissionId, long companyId, String name, int scope, String primKey, long roleId, long actionIds)
           
protected  long getBitwiseValue(String name, String actionId)
           
protected  long getControlPanelGroupId()
           
protected  void updateAccessInControlPanelPermission(String portletFrom, String portletTo)
           
 
Methods inherited from class com.liferay.portal.kernel.upgrade.UpgradeProcess
doUpgrade, getThreshold, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
 
Methods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
doHasTable, hasColumn, hasRows, hasTable, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseUpgradeAdminPortlets

public BaseUpgradeAdminPortlets()
Method Detail

addResourcePermission

protected void addResourcePermission(long resourcePermissionId,
                                     long companyId,
                                     String name,
                                     int scope,
                                     String primKey,
                                     long roleId,
                                     long actionIds)
                              throws Exception
Throws:
Exception

getBitwiseValue

protected long getBitwiseValue(String name,
                               String actionId)
                        throws Exception
Throws:
Exception

getControlPanelGroupId

protected long getControlPanelGroupId()
                               throws Exception
Throws:
Exception

updateAccessInControlPanelPermission

protected void updateAccessInControlPanelPermission(String portletFrom,
                                                    String portletTo)
                                             throws Exception
Throws:
Exception

Liferay 7.0-ce-b4