Package com.j_spaces.core.client
Class NotifyModifiers
java.lang.Object
com.j_spaces.core.client.NotifyModifiers
Deprecated.
The Modifier class provides
static methods and constants to decode notify types
modifiers. The sets of modifiers are represented as integers with distinct bit positions
representing different modifiers.- Version:
- 4.0
- Author:
- Yechiel Fefer, Igor Goldenberg
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.since 9.6 - register using specific modifiers instead.static final intDeprecated.Theintvalue representing theNOTIFY_LEASE_EXPIRATIONmodifier.static final intDeprecated.Theintvalue required matching to be done only by UID if provided (not in POJO) modifier.static final intDeprecated.Theintvalue representing theNOTIFY_MATCHED_UPDATEmodifier.static final intDeprecated.Theintvalue representing theNotify Nonemodifier.static final intDeprecated.Theintvalue representing theNOTIFY_REMATCHED_UPDATEmodifier.static final intDeprecated.Theintvalue representing theNotify Takemodifier.static final intDeprecated.Theintvalue representing theNOTIFY_UNMATCHEDmodifier.static final intDeprecated.Theintvalue representing theNOTIFY_UPDATEmodifier.static final intDeprecated.Theintvalue representing theNOTIFY_WRITEmodifier. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisLeaseExpiration(int mod) Deprecated.Return true if the integer argument includes the lease expiration modifier, false otherwise.static booleanisMatchByID(int mod) Deprecated.static booleanisMatchedUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_MATCHED_UPDATE modifier, false otherwise.static booleanisRematchedUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_REMATCHED_UPDATE modifier, false otherwise.static booleanisTake(int mod) Deprecated.Return true if the integer argument includes the take modifier, false otherwise.static booleanisUnmatched(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_UNMATCHED modifier, false otherwise.static booleanisUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_UPDATE modifier, false otherwise.static booleanisWrite(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_WRITE modifier, false otherwise.static StringtoString(int mod) Deprecated.
-
Field Details
-
NOTIFY_NONE
public static final int NOTIFY_NONEDeprecated.Theintvalue representing theNotify Nonemodifier.- See Also:
-
NOTIFY_WRITE
public static final int NOTIFY_WRITEDeprecated.Theintvalue representing theNOTIFY_WRITEmodifier.- See Also:
-
NOTIFY_UPDATE
public static final int NOTIFY_UPDATEDeprecated.Theintvalue representing theNOTIFY_UPDATEmodifier.- See Also:
-
NOTIFY_TAKE
public static final int NOTIFY_TAKEDeprecated.Theintvalue representing theNotify Takemodifier.- See Also:
-
NOTIFY_LEASE_EXPIRATION
public static final int NOTIFY_LEASE_EXPIRATIONDeprecated.Theintvalue representing theNOTIFY_LEASE_EXPIRATIONmodifier.- See Also:
-
NOTIFY_ALL
Deprecated.since 9.6 - register using specific modifiers instead.Theintvalue representing theNOTIFY_ALLmodifier which includes theNOTIFY_WRITE,NOTIFY_UPDATE,NOTIFY_TAKEandNOTIFY_LEASE_EXPIRATIONmodifiers.- See Also:
-
NOTIFY_MATCH_BY_ID
public static final int NOTIFY_MATCH_BY_IDDeprecated.Theintvalue required matching to be done only by UID if provided (not in POJO) modifier.- See Also:
-
NOTIFY_UNMATCHED
public static final int NOTIFY_UNMATCHEDDeprecated.Theintvalue representing theNOTIFY_UNMATCHEDmodifier.- See Also:
-
NOTIFY_MATCHED_UPDATE
public static final int NOTIFY_MATCHED_UPDATEDeprecated.Theintvalue representing theNOTIFY_MATCHED_UPDATEmodifier.- Since:
- 9.1
- See Also:
-
NOTIFY_REMATCHED_UPDATE
public static final int NOTIFY_REMATCHED_UPDATEDeprecated.Theintvalue representing theNOTIFY_REMATCHED_UPDATEmodifier.- Since:
- 9.1
- See Also:
-
-
Constructor Details
-
NotifyModifiers
public NotifyModifiers()Deprecated.
-
-
Method Details
-
isWrite
public static boolean isWrite(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_WRITE modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the NOTIFY_WRITE modifier; false otherwise.
-
isUpdate
public static boolean isUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_UPDATE modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the NOTIFY_UPDATE modifier; false otherwise.
-
isUnmatched
public static boolean isUnmatched(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_UNMATCHED modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the NOTIFY_UNMATCHED modifier; false otherwise.
-
isMatchedUpdate
public static boolean isMatchedUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_MATCHED_UPDATE modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the NOTIFY_MATCHED_UPDATE modifier; false otherwise. - Since:
- 9.1
-
isRematchedUpdate
public static boolean isRematchedUpdate(int mod) Deprecated.Return true if the integer argument includes the NOTIFY_REMATCHED_UPDATE modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the NOTIFY_REMATCHED_UPDATE modifier; false otherwise. - Since:
- 9.1
-
isTake
public static boolean isTake(int mod) Deprecated.Return true if the integer argument includes the take modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the take modifier; false otherwise.
-
isLeaseExpiration
public static boolean isLeaseExpiration(int mod) Deprecated.Return true if the integer argument includes the lease expiration modifier, false otherwise.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the lease expiration modifier; false otherwise.
-
isMatchByID
public static boolean isMatchByID(int mod) Deprecated.- Parameters:
mod- a set of modifiers- Returns:
- true if
modincludes the MATCH_BY_UID modifier; false otherwise.
-
toString
Deprecated.
-
NotifyActionType