Package de.elo.ix.client
Class LockC
java.lang.Object
de.elo.ix.client.LockC
- All Implemented Interfaces:
java.io.Serializable
public class LockC
extends java.lang.Object
implements java.io.Serializable
Constants to lock data against concurrent modification.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static longbsetDOCstatic longbsetFORCEstatic longbsetIF_FREEstatic longbsetNOstatic longbsetSORDstatic longbsetYESstatic LockZDOCLock or unlock document versions.static LockZFORCELock or unlock regardless of whether the data is locked by another user.static LockZIF_FREEA lock is only set, if the record is unlocked.static LockZNODo not lock the requested record(s).static LockZSORDLock or unlock the indexing information.static LockZYESLock or unlock. -
Constructor Summary
Constructors Constructor Description LockC() -
Method Summary
Modifier and Type Method Description static longgetBsetDOC()longgetBsetFORCE()longgetBsetIF_FREE()longgetBsetNO()static longgetBsetSORD()longgetBsetYES()static LockZgetDOC()LockZgetFORCE()LockZgetIF_FREE()LockZgetNO()static LockZgetSORD()LockZgetYES()voidsetBsetFORCE(long bsetFORCE)voidsetBsetIF_FREE(long bsetIF_FREE)voidsetBsetNO(long bsetNO)voidsetBsetYES(long bsetYES)voidsetFORCE(LockZ FORCE)voidsetIF_FREE(LockZ IF_FREE)voidsetNO(LockZ NO)voidsetYES(LockZ YES)
-
Field Details
-
bsetNO
public static final long bsetNO- See Also:
- Constant Field Values
-
bsetYES
public static final long bsetYES- See Also:
- Constant Field Values
-
bsetFORCE
public static final long bsetFORCE- See Also:
- Constant Field Values
-
bsetIF_FREE
public static final long bsetIF_FREE- See Also:
- Constant Field Values
-
bsetSORD
public static final long bsetSORD- Since:
- 9.99.009.001
- See Also:
- Constant Field Values
-
bsetDOC
public static final long bsetDOC- Since:
- 9.99.009.001
- See Also:
- Constant Field Values
-
NO
Do not lock the requested record(s). -
YES
Lock or unlock. The lock is set, if the record is unlocked or locked by the current user. With respect to locking the indexing information (LockC.SORD) and document versions (LockC.DOC), LockC.YES locks and unlocks both since ELO 10. In order to successfully complete an operation with this type of Lock, another user must not hold even one of them. -
FORCE
Lock or unlock regardless of whether the data is locked by another user. This requires main administration privileges in most cases. -
IF_FREE
A lock is only set, if the record is unlocked. A lock request is refused too, if the record is already a lock by the current user.- See Also:
YES
-
SORD
Lock or unlock the indexing information. Works likeYESbut is only valid at check*Sord() and check*Doc() respectively.- Since:
- 9.99.009.001
- See Also:
YES
-
DOC
Lock or unlock document versions. Works likeYESbut is only valid at check*Sord() and check*Doc() respectively.- Since:
- 9.99.009.001
- See Also:
YES
-
-
Constructor Details
-
LockC
public LockC()
-
-
Method Details
-
getFORCE
-
setFORCE
-
getIF_FREE
-
setIF_FREE
-
getNO
-
setNO
-
getYES
-
setYES
-
getBsetFORCE
public long getBsetFORCE() -
setBsetFORCE
public void setBsetFORCE(long bsetFORCE) -
getBsetIF_FREE
public long getBsetIF_FREE() -
setBsetIF_FREE
public void setBsetIF_FREE(long bsetIF_FREE) -
getBsetNO
public long getBsetNO() -
setBsetNO
public void setBsetNO(long bsetNO) -
getBsetYES
public long getBsetYES() -
setBsetYES
public void setBsetYES(long bsetYES) -
getBsetSORD
public static long getBsetSORD() -
getBsetDOC
public static long getBsetDOC() -
getSORD
-
getDOC
-