lumis.upgrade.custom.build_6_2_0_120625
Class UpdateAccessControlEntriesToRemoveEditContentPermissionFromNativeServices
java.lang.Object
lumis.upgrade.custom.build_6_2_0_120625.UpdateAccessControlEntriesToRemoveEditContentPermissionFromNativeServices
- All Implemented Interfaces:
- IStepHandler
public class UpdateAccessControlEntriesToRemoveEditContentPermissionFromNativeServices
- extends Object
- implements IStepHandler
Step to remove the old custom edit content permission from native services, updating necessary access control entries.
Executed after UpdateAccessControlEntriesToAddEditServiceInstanceContentPermission
.
- Since:
- 7.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateAccessControlEntriesToRemoveEditContentPermissionFromNativeServices
public UpdateAccessControlEntriesToRemoveEditContentPermissionFromNativeServices()
executeStep
public Node executeStep(SessionConfig sessionConfig,
Node stepNode,
ITransaction transaction)
throws PortalException
- Description copied from interface:
IStepHandler
- Executes a step in the upgrade process.
- Specified by:
executeStep
in interface IStepHandler
- Parameters:
sessionConfig
- the user session information.stepNode
- the xml step definition node.transaction
- the transaction for persistence access.
- Returns:
- the response xml node.
- Throws:
PortalException
- if it was not possible to execute the step.
normalizePermissions
public static Integer normalizePermissions(Integer originalPermission,
Integer permissionToRemovePosition)
- Returns the normalized permission, removes the bit of permission to remove position.
- Parameters:
originalPermission
- the permission to be normalized.permissionToRemovePosition
- the value of the permission to remove.
- Returns:
- the normalized permission, removes the bit of permission to remove position.
- Since:
- 7.0.0
Lumisportal 7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.