|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.upgrade.UpgradeProcess com.liferay.portal.upgrade.v4_4_0.UpgradePermission
public class UpgradePermission
Constructor Summary | |
---|---|
UpgradePermission()
Deprecated. |
Method Summary | |
---|---|
protected void |
deletePermissionByActionIdAndResourceName(java.lang.String actionId,
java.lang.String resourceName)
Deprecated. |
protected void |
deletePermissionByPermissionId(long permissionId)
Deprecated. |
protected void |
deletePermissionByResourceId(long resourceId)
Deprecated. |
protected void |
deleteResource(long codeId)
Deprecated. |
protected void |
deleteResourceCode(java.lang.String resourceName)
Deprecated. |
protected void |
deleteRolesPermissions(java.lang.String roleName)
Deprecated. |
protected void |
deleteUsersPermissions(int scope)
Deprecated. |
protected void |
doUpgrade()
Deprecated. |
protected void |
updatePermission(java.lang.String oldActionId,
java.lang.String newActionId,
java.lang.String resourceName)
Deprecated. |
void |
upgrade()
Deprecated. |
Methods inherited from class com.liferay.portal.upgrade.UpgradeProcess |
---|
getThreshold, runSQL, runSQL, runSQLTemplate, runSQLTemplate, upgrade, upgrade |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpgradePermission()
Method Detail |
---|
public void upgrade() throws UpgradeException
upgrade
in class UpgradeProcess
UpgradeException
protected void deletePermissionByActionIdAndResourceName(java.lang.String actionId, java.lang.String resourceName) throws java.lang.Exception
java.lang.Exception
protected void deletePermissionByPermissionId(long permissionId) throws java.lang.Exception
java.lang.Exception
protected void deletePermissionByResourceId(long resourceId) throws java.lang.Exception
java.lang.Exception
protected void deleteResource(long codeId) throws java.lang.Exception
java.lang.Exception
protected void deleteResourceCode(java.lang.String resourceName) throws java.lang.Exception
java.lang.Exception
protected void deleteRolesPermissions(java.lang.String roleName) throws java.lang.Exception
java.lang.Exception
protected void deleteUsersPermissions(int scope) throws java.lang.Exception
java.lang.Exception
protected void doUpgrade() throws java.lang.Exception
java.lang.Exception
protected void updatePermission(java.lang.String oldActionId, java.lang.String newActionId, java.lang.String resourceName) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |