Class ADLockAbleHelper
java.lang.Object
de.mid.innovator.srv2api.icw2meta.ADLockAbleHelper
Elements which can be locked by a user.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidlock(SrvContext srvCtx, List<? extends ADLockAble> sel) Creates a lock for the current object.static voidunlock(SrvContext srvCtx, List<? extends ADLockAble> sel) Deletes the lock for the current object.
-
Method Details
-
lock
public static void lock(SrvContext srvCtx, List<? extends ADLockAble> sel) throws InoNetException, SrvErrorException Creates a lock for the current object.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-
unlock
public static void unlock(SrvContext srvCtx, List<? extends ADLockAble> sel) throws InoNetException, SrvErrorException Deletes the lock for the current object.- Parameters:
srvCtx- The context of the related innovator server.sel- all objects that will be modified.- Throws:
InoNetExceptionSrvErrorException
-