com.liferay.portal.upgrade.v5_2_0
Class UpgradePortletPermissions
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v5_2_0.UpgradePortletPermissions
public class UpgradePortletPermissions
- extends UpgradeProcess
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 |
UpgradePortletPermissions
public UpgradePortletPermissions()
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade
in class UpgradeProcess
- Throws:
Exception
getLayout
protected Object[] getLayout(long plid)
throws Exception
- Throws:
Exception
getPortletPermissionsCount
protected long getPortletPermissionsCount(String actionId,
long resourceId,
String modelName)
throws Exception
- Throws:
Exception
updatePortletPermission
protected void updatePortletPermission(long permissionId,
String actionId,
String primKey,
String modelName,
int scope)
throws Exception
- Throws:
Exception
updatePortletPermissions
protected void updatePortletPermissions(String portletName,
String modelName,
String[] actionIds)
throws Exception
- Throws:
Exception