Liferay 6.1.2-ce-ga3

com.liferay.portal.upgrade.v6_0_12_to_6_1_0
Class UpgradePermission

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.upgrade.v6_0_12_to_6_1_0.UpgradePermission
All Implemented Interfaces:
DBProcess

public class UpgradePermission
extends UpgradeProcess


Constructor Summary
UpgradePermission()
           
 
Method Summary
protected  ResourceBlock convertResourcePermissions(long companyId, String name, long primKey)
           
protected  void convertResourcePermissions(String name, String tableName, String pkColumnName)
           
protected  void doUpgrade()
           
protected  ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId, long groupId, String name, long primKey)
           
 
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

UpgradePermission

public UpgradePermission()
Method Detail

convertResourcePermissions

protected ResourceBlock convertResourcePermissions(long companyId,
                                                   String name,
                                                   long primKey)
                                            throws PortalException,
                                                   SystemException
Throws:
PortalException
SystemException

convertResourcePermissions

protected void convertResourcePermissions(String name,
                                          String tableName,
                                          String pkColumnName)
                                   throws Exception
Throws:
Exception

doUpgrade

protected void doUpgrade()
                  throws Exception
Overrides:
doUpgrade in class UpgradeProcess
Throws:
Exception

getResourceBlockPermissionsContainer

protected ResourceBlockPermissionsContainer getResourceBlockPermissionsContainer(long companyId,
                                                                                 long groupId,
                                                                                 String name,
                                                                                 long primKey)
                                                                          throws SystemException
Throws:
SystemException

Liferay 6.1.2-ce-ga3