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