org.exoplatform.clouddrive.cmis
Class CMISAPI.ChangeToken

java.lang.Object
  extended by org.exoplatform.clouddrive.cmis.CMISAPI.ChangeToken
Direct Known Subclasses:
CMISAPI.TimeChangeToken
Enclosing class:
CMISAPI

protected class CMISAPI.ChangeToken
extends Object


Field Summary
protected  Long order
           
protected  String token
           
 
Constructor Summary
protected CMISAPI.ChangeToken(String token)
           
 
Method Summary
protected  int compareTo(CMISAPI.ChangeToken other)
           
 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()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

token

protected final String token

order

protected final Long order
Constructor Detail

CMISAPI.ChangeToken

protected CMISAPI.ChangeToken(String token)
Method Detail

equals

public boolean equals(CMISAPI.ChangeToken other)
Compare this token with the given and return true if they are equal, false otherwise. Empty tokens aren't equal.

Parameters:
other - CMISAPI.ChangeToken
Returns:
boolean true if tokens equal, false otherwise

isAfter

public boolean isAfter(CMISAPI.ChangeToken other)
Return true if this event is after the given in time.

Parameters:
other - CMISAPI.ChangeToken
Returns:
boolean

isBefore

public boolean isBefore(CMISAPI.ChangeToken other)
Return true if this event is before the given in time.

Parameters:
other - CMISAPI.ChangeToken
Returns:
boolean

isEmpty

public boolean isEmpty()
Return true if this token doesn't describe any change token, thus it equals no null or no token value.

Returns:
boolean

getString

public String getString()
String representation of change log token.

Returns:
the token string

toString

public String toString()

Overrides:
toString in class Object

compareTo

protected int compareTo(CMISAPI.ChangeToken other)


Copyright © 2003–2015 eXo Platform SAS. All rights reserved.