com.levigo.jadice.demo.flextree
Interface ReadStateModule.ReadTracker

Enclosing class:
ReadStateModule

public static interface ReadStateModule.ReadTracker

This interface represents an installed read tracker. It can be used to manipulate the read tracker after it has been installed.


Method Summary
 long getDuration()
          Get the duration after which a document is marked as read.
 TimeUnit getTimeUnit()
          Get the TimeUnit of the duration.
 void setDuration(long duration)
          Set the duration after which a document is marked as read.
 void setTimeUnit(TimeUnit timeUnit)
          Set the TimeUnit of the duration.
 void uninstall()
          Uninstall a previously installed ReadTracker.
 

Method Detail

uninstall

void uninstall()
Uninstall a previously installed ReadTracker.


setTimeUnit

void setTimeUnit(TimeUnit timeUnit)
Set the TimeUnit of the duration.

Parameters:
timeUnit -

getTimeUnit

TimeUnit getTimeUnit()
Get the TimeUnit of the duration.

Returns:
the time unit

setDuration

void setDuration(long duration)
Set the duration after which a document is marked as read.

Parameters:
duration -

getDuration

long getDuration()
Get the duration after which a document is marked as read.

Returns:
the duration


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.