protected class CMISAPI.ChangeToken extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Long |
order
The order.
|
protected String |
token
The token.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ChangeToken(String token)
Instantiates a new change token.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
compareTo(CMISAPI.ChangeToken other)
Compare to.
|
boolean |
equals(CMISAPI.ChangeToken other)
Compare this token with the given and return
true if they are equal, false
otherwise. |
String |
getString()
String representation of change log token.
|
boolean |
isAfter(CMISAPI.ChangeToken other)
Return
true if this event is after the given in time. |
boolean |
isBefore(CMISAPI.ChangeToken other)
Return
true if this event is before the given in time. |
boolean |
isEmpty()
Return
true if this token doesn't describe any change token, thus it equals no
null or no token value. |
String |
toString() |
protected final String token
protected final Long order
protected ChangeToken(String token)
token - the tokenpublic boolean equals(CMISAPI.ChangeToken other)
true if they are equal, false
otherwise. Empty tokens aren't equal.other - CMISAPI.ChangeTokentrue if tokens equal, false otherwisepublic boolean isAfter(CMISAPI.ChangeToken other)
true if this event is after the given in time.other - CMISAPI.ChangeTokenpublic boolean isBefore(CMISAPI.ChangeToken other)
true if this event is before the given in time.other - CMISAPI.ChangeTokenpublic boolean isEmpty()
true if this token doesn't describe any change token, thus it equals no
null or no token value.public String getString()
protected int compareTo(CMISAPI.ChangeToken other)
other - the otherCopyright © 2003–2016 eXo Platform SAS. All rights reserved.