com.liferay.portal.upgrade.v6_0_3
Class UpgradePermission
java.lang.Object
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v6_0_3.UpgradePermission
public class UpgradePermission
- extends UpgradeProcess
Method Summary |
protected void |
addRole(long roleId,
long companyId,
long classNameId,
long classPK,
String name,
int type)
|
protected void |
addSingleApproverWorkflowRoles()
|
protected void |
addSingleApproverWorkflowRoles(long companyId)
|
protected void |
addUserGroupRole(long userId,
long groupId,
long roleId)
|
protected void |
addUserRole(long userId,
long roleId)
|
protected void |
assignSingleApproverWorkflowRoles(long companyId,
long roleId,
long groupId)
|
protected void |
deletePermissions_5()
|
protected void |
doUpgrade()
|
protected long |
getRoleId(long companyId,
String name)
|
protected void |
updatePermissions_5()
|
protected void |
updatePermissions_6()
|
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 |
UpgradePermission
public UpgradePermission()
addRole
protected void addRole(long roleId,
long companyId,
long classNameId,
long classPK,
String name,
int type)
throws Exception
- Throws:
Exception
addSingleApproverWorkflowRoles
protected void addSingleApproverWorkflowRoles()
throws Exception
- Throws:
Exception
addSingleApproverWorkflowRoles
protected void addSingleApproverWorkflowRoles(long companyId)
throws Exception
- Throws:
Exception
addUserGroupRole
protected void addUserGroupRole(long userId,
long groupId,
long roleId)
throws Exception
- Throws:
Exception
addUserRole
protected void addUserRole(long userId,
long roleId)
throws Exception
- Throws:
Exception
assignSingleApproverWorkflowRoles
protected void assignSingleApproverWorkflowRoles(long companyId,
long roleId,
long groupId)
throws Exception
- Throws:
Exception
deletePermissions_5
protected void deletePermissions_5()
throws Exception
- Throws:
Exception
doUpgrade
protected void doUpgrade()
throws Exception
- Overrides:
doUpgrade
in class UpgradeProcess
- Throws:
Exception
getRoleId
protected long getRoleId(long companyId,
String name)
throws Exception
- Throws:
Exception
updatePermissions_5
protected void updatePermissions_5()
throws Exception
- Throws:
Exception
updatePermissions_6
protected void updatePermissions_6()
throws Exception
- Throws:
Exception