Interface WorklistRevision

All Superinterfaces:
Serializable

public interface WorklistRevision extends Serializable
A worklist revision provides the amount of changes of a worklist (worklist updates) and also the initialisation date of the worklist. The latter allows to detect worklist manager restarts which will restart the update count.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    The constant indicating the initial revision.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    equals(Object obj1, Object obj2)
    Indicates whether the given objects are "equal to" each other.
    long
    Gets the initialisation date of the worklist.
    long
    Gets the amount of updates of the worklist since the worklist manager start.
    static int
    Returns a hash code value for the given worklist revision.
    static String
    Returns a string representation of the given worklist revision.
  • Field Details

    • INITIAL_REVISION

      static final long INITIAL_REVISION
      The constant indicating the initial revision. This is the revision of an empty worklist.
      See Also:
  • Method Details

    • getInitialisationDate

      long getInitialisationDate()
      Gets the initialisation date of the worklist.
      Returns:
      The initialisation date of the worklist.
    • getUpdateCount

      long getUpdateCount()
      Gets the amount of updates of the worklist since the worklist manager start.
      Returns:
      The amount of updates of the worklist since the worklist manager start.
    • equals

      static boolean equals(Object obj1, Object obj2)
      Indicates whether the given objects are "equal to" each other.
      Parameters:
      obj1 - The first reference object.
      obj2 - The second reference object with which to compare.
      Returns:
      true if the first object is the same as the second object argument; false otherwise.
      See Also:
    • hashCode

      static int hashCode(WorklistRevision rev)
      Returns a hash code value for the given worklist revision.
      Parameters:
      rev - The worklist revision that should be used for the hash code.
      Returns:
      A hash code value for the given worklist revision.
      See Also:
    • toString

      static String toString(WorklistRevision rev)
      Returns a string representation of the given worklist revision.
      Parameters:
      rev - The worklist revision that should be used for the string representation.
      Returns:
      A string representation of the given worklist revision.
      See Also: