Package com.axemble.vdoc.sdk.supports
Interface ILockSupport
- All Superinterfaces:
- IDeletionSupport,- IElement,- IProtocolSupport,- IResource,- ISearchSupport,- ISecuritySupport,- Serializable
- All Known Subinterfaces:
- IWorkflowInstance
- All Known Implementing Classes:
- ProcessWorkflowInstance
- Author:
- bchapoton
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisLockBySDK(IContext context) Is resource SDK by lockbooleanisLockBySDK(IContext context, boolean cleanSessionLock) Is resource SDK by lock ( try to unlock resource before).booleanIs resource lockedbooleanIs resource locked ( try to unlock resource before ).voidLock a resourceRetrieve the users who locked the resource.Retrieve the users who locked the resource ( try to unlock resource before).voidUnlock a resourceMethods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupportdeleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IResourceaddLinkedResource, 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
- 
Method Details- 
lockLock a resource- Parameters:
- context- The execution context.
- delay- lock delay in second
 
- 
unlockUnlock a resource- Parameters:
- context- The execution context.
 
- 
isLockedIs resource locked- Parameters:
- context- The execution context.
- Returns:
- true if the resource has been locked, false otherwise.
 
- 
isLockedIs resource locked ( try to unlock resource before ).- Parameters:
- context- The execution context.
- cleanSessionLock- try to unlock resource before
- Returns:
- true if the resource has been locked, false otherwise.
 
- 
lockedByRetrieve the users who locked the resource.- Parameters:
- context- The execution context.
- Returns:
- a list of IUserusers.
 
- 
lockedByRetrieve the users who locked the resource ( try to unlock resource before).- Parameters:
- context- The execution context.
- cleanSessionLock- try to unlock resource before
- Returns:
- a list of IUserusers.
 
- 
isLockBySDKIs resource SDK by lock- Parameters:
- context- The execution context.
- Returns:
- true if the resource has been locked by SDK, false otherwise.
 
- 
isLockBySDKIs resource SDK by lock ( try to unlock resource before).- Parameters:
- context- The execution context.
- cleanSessionLock- try to unlock resource before
- Returns:
- true if the resource has been locked by SDK, false otherwise.
 
 
-