Class BaseAdminPortletsUpgradeProcess

Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.kernel.upgrade.BaseAdminPortletsUpgradeProcess
All Implemented Interfaces:
DBProcess, UpgradeStep

public abstract class BaseAdminPortletsUpgradeProcess extends UpgradeProcess
Author:
Juan Fernández, Sergio González
  • Constructor Details

    • BaseAdminPortletsUpgradeProcess

      public BaseAdminPortletsUpgradeProcess()
  • Method Details

    • 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