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 long
bsetDOC
static long
bsetFORCE
static long
bsetIF_FREE
static long
bsetNO
static long
bsetSORD
static long
bsetYES
static LockZ
DOC
Lock or unlock document versions.static LockZ
FORCE
Lock or unlock regardless of whether the data is locked by another user.static LockZ
IF_FREE
A lock is only set, if the record is unlocked.static LockZ
NO
Do not lock the requested record(s).static LockZ
SORD
Lock or unlock the indexing information.static LockZ
YES
Lock or unlock. -
Constructor Summary
Constructors Constructor Description LockC()
-
Method Summary
Modifier and Type Method Description static long
getBsetDOC()
long
getBsetFORCE()
long
getBsetIF_FREE()
long
getBsetNO()
static long
getBsetSORD()
long
getBsetYES()
static LockZ
getDOC()
LockZ
getFORCE()
LockZ
getIF_FREE()
LockZ
getNO()
static LockZ
getSORD()
LockZ
getYES()
void
setBsetFORCE(long bsetFORCE)
void
setBsetIF_FREE(long bsetIF_FREE)
void
setBsetNO(long bsetNO)
void
setBsetYES(long bsetYES)
void
setFORCE(LockZ FORCE)
void
setIF_FREE(LockZ IF_FREE)
void
setNO(LockZ NO)
void
setYES(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 likeYES
but 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 likeYES
but 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
-