Class ADLockAbleHelper
- java.lang.Object
-
- de.mid.innovator.srv2api.icw2meta.ADLockAbleHelper
-
public abstract class ADLockAbleHelper extends java.lang.Object
Elements which can be locked by a user.- See Also:
ADLockAble
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
lock(SrvContext srvCtx, java.util.List<? extends ADLockAble> sel)
Creates a lock for the current object.static void
unlock(SrvContext srvCtx, java.util.List<? extends ADLockAble> sel)
Deletes the lock for the current object.
-
-
-
Method Detail
-
lock
public static void lock(SrvContext srvCtx, java.util.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:
InoNetException
SrvErrorException
-
unlock
public static void unlock(SrvContext srvCtx, java.util.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:
InoNetException
SrvErrorException
-
-