public interface ILockSupport extends IResource
Modifier and Type | Method and Description |
---|---|
boolean |
isLockBySDK(IContext context)
Is resource SDK by lock
|
boolean |
isLocked(IContext context)
Is resource locked
|
void |
lock(IContext context,
int delay)
Lock a resource
|
Collection<IUser> |
lockedBy(IContext context)
Retrieve the users who locked the resource.
|
void |
unlock(IContext context)
Unlock a resource
|
addLinkedResource, addLinkedResources, allowEvents, createLinkedResource, deleteLinkedResource, deleteLinkedResources, denyEvents, exists, getCreatedBy, getCreatedDate, getDefinition, getHistory, getLinkedResources, getList, getModifiedBy, getModifiedDate, getName, getText, getValue, refresh, refresh, save, save, setCreatedBy, setCreatedDate, setList, setModifiedBy, setModifiedDate, setValue, setValueNoEvents
getId, getModule, getNativeObject, getPath, save
delete
getProtocolURI, getProtocolURI
void lock(IContext context, int delay)
context
- The execution context.delay
- lock delay in secondvoid unlock(IContext context)
context
- The execution context.boolean isLocked(IContext context)
context
- The execution context.Collection<IUser> lockedBy(IContext context)
context
- The execution context.IUser
users.boolean isLockBySDK(IContext context)
context
- The execution context.Copyright © 2019 Visiativ Software. All rights reserved.