public class SingleUserLockingPolicy extends java.lang.Object implements LockingPolicy
Constructor and Description |
---|
SingleUserLockingPolicy()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean | canActivityModifyManagedResource(ActivityToken activityToken, LockData lockData)
this method indicates whether the current member of the activity is allowed to modify the resource.
|
protected boolean | canCurrentContextModifyResource(BaseContext baseContext, java.lang.Long memberId)
This method indicates whether the current member of the activity is allowed to modify the resource.
|
boolean | isManagedResourcedLocked(LockData managedResourceLockData, LockData environmentLockData)
This method indicates whether the current member of the activity is allowed to modify the resource.
|
public SingleUserLockingPolicy()
public boolean canActivityModifyManagedResource(ActivityToken activityToken, LockData lockData)
protected boolean canCurrentContextModifyResource(BaseContext baseContext, java.lang.Long memberId)
public boolean isManagedResourcedLocked(LockData managedResourceLockData, LockData environmentLockData)