This is an interface that describes the content management locking policy.
A locking policy is a service object that offers a set of API to
determine why a managed resource is locked. It is based on some session
or environment variables. Different deployment strategies will
have different requirements. For this reason, this interface defines the set of services
offered where specialized instances of this service are created to cover different locking requirements.
This method determines whether the managed resource is locked and thus whether the current operation
should be completed. This is based on the current managed resource lock data and the current lock data
that represents the current environment or session state.
managedResourceLockData - The current lock data associated with the managed resource.
environmentLockData - The lock data representation of the environment associated with the
This method returns whether the managed resource is considered locked and whether the current
operation should be performed based on the current environment context.