Class ReadingRequestController
java.lang.Object
com.logicaldoc.gui.common.client.controllers.ReadingRequestController
Implements the Observer pattern to distribute events on the reading requests
- Since:
- 8.8.6
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addObserver
(ReadingRequestObserver observer) void
addUnconfirmedReadings
(GUIReadingRequest[] readings) void
confirmReading
(long docId) int
static ReadingRequestController
get()
long[]
getUnconfirmedReadingIds
(long docId) getUnconfirmedReadings
(long docId) boolean
isReadingConfirmRequired
(long docId) void
removeObserver
(ReadingRequestObserver observer)
-
Method Details
-
get
-
addObserver
-
removeObserver
-
addUnconfirmedReadings
-
isReadingConfirmRequired
public boolean isReadingConfirmRequired(long docId) -
getUnconfirmedReadings
-
getUnconfirmedReadingIds
public long[] getUnconfirmedReadingIds(long docId) -
countUnconfirmedReadings
public int countUnconfirmedReadings() -
confirmReading
public void confirmReading(long docId)
-