public class WorkspaceLockingPolicy extends java.lang.Object implements LockingPolicy
Constructor and Description |
---|
WorkspaceLockingPolicy()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean | canActivityModifyManagedResource(ActivityToken activityToken, LockData lockData)
This method allows the resource to be modified only if the current workspace of the content context matches the specified workspace.
|
protected boolean | canCurrentContextModifyResource(ContentContext contentContext, TaskContext taskContext, java.lang.String workspace, java.lang.String taskGroup, java.lang.String task)
This method allows the resource to be modified only if the current workspace of the content context matches the specified workspace.
|
boolean | isManagedResourcedLocked(LockData managedResourceLockData, LockData environmentLockData)
This method allows the resource to be modified only if the current workspace of the content context matches the specified workspace.
|
public WorkspaceLockingPolicy()
protected boolean canCurrentContextModifyResource(ContentContext contentContext, TaskContext taskContext, java.lang.String workspace, java.lang.String taskGroup, java.lang.String task)
public boolean canActivityModifyManagedResource(ActivityToken activityToken, LockData lockData)
public boolean isManagedResourcedLocked(LockData managedResourceLockData, LockData environmentLockData)