|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.Observable
oracle.stellent.ridc.convenience.monitor.ContentHistoryWatcher
public class ContentHistoryWatcher
Nested Class Summary | |
---|---|
protected class |
ContentHistoryWatcher.IdcPollingThread Content Server Event Polling Thread |
static class |
ContentHistoryWatcher.QueryDate |
Field Summary | |
---|---|
static java.lang.String |
ACTION |
static java.lang.String |
ACTION_DATE |
static java.lang.String |
ACTION_MILLIS |
static java.lang.String |
DATA_SOURCE |
static java.lang.String |
DOCUMENT_HISTORY |
static java.lang.String |
GET_DATA_RESULTSET |
static java.lang.String |
LOAD_USER_LOCALIZATION |
protected IdcContext |
m_context |
protected IdcClient |
m_idcClient |
protected ILog |
m_log |
static java.lang.String |
MONITORED_SUBJECTS |
static java.lang.String |
ORDER_CLAUSE |
static java.lang.String |
REFRESH_SUBJECTS |
static java.lang.String |
RESULT_NAME |
protected static java.lang.Long |
TIME_EXPIRED |
protected static java.lang.Long |
TIME_ZERO |
static java.lang.String |
WHERE_CLAUSE |
Constructor Summary | |
---|---|
ContentHistoryWatcher(IdcClient idcClient, IdcContext context) |
Method Summary | |
---|---|
void |
addQuerySubject(java.lang.String subject) Add the subject with to the list to query |
protected void |
fireContentUpdateEvent(DataObject contentInfo) Fire the content update event |
void |
fireSubjectChangedEvent(java.lang.String name, long time) Fire the subjectChanged event |
protected IdcContext |
getContext() |
IdcClient |
getIdcClient() |
java.text.DateFormat |
getOdbcDateFormat() |
long |
getSleep() |
protected java.text.DateFormat |
initializeDateFormat(IdcContext context) |
void |
setQuerySubjects(java.util.List subjects) Set the list of subjects to query |
void |
setSleep(long sleep) |
void |
start() Start the event poller |
void |
stop() Stop the event poller |
protected void |
updateSubject(java.lang.String name, long time) |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String LOAD_USER_LOCALIZATION
public static final java.lang.String GET_DATA_RESULTSET
public static final java.lang.String ACTION
public static final java.lang.String ACTION_DATE
public static final java.lang.String ACTION_MILLIS
public static final java.lang.String DATA_SOURCE
public static final java.lang.String RESULT_NAME
public static final java.lang.String WHERE_CLAUSE
public static final java.lang.String ORDER_CLAUSE
public static final java.lang.String MONITORED_SUBJECTS
public static final java.lang.String REFRESH_SUBJECTS
public static final java.lang.String DOCUMENT_HISTORY
protected ILog m_log
protected static final java.lang.Long TIME_ZERO
protected static final java.lang.Long TIME_EXPIRED
protected IdcClient m_idcClient
protected IdcContext m_context
Constructor Detail |
---|
public ContentHistoryWatcher(IdcClient idcClient, IdcContext context)
Method Detail |
---|
public long getSleep()
public void setSleep(long sleep)
public IdcClient getIdcClient()
public java.text.DateFormat getOdbcDateFormat() throws IdcClientException
IdcClientException
public void stop() throws java.lang.Exception
java.lang.Exception
- in case of shutdown errors. Exceptions will get logged but not rethrown to allow other beans to release their resources too.public void start()
public void addQuerySubject(java.lang.String subject)
subject
-public void setQuerySubjects(java.util.List subjects)
subjects
-protected void updateSubject(java.lang.String name, long time)
protected java.text.DateFormat initializeDateFormat(IdcContext context) throws IdcClientException
IdcClientException
protected IdcContext getContext()
protected void fireContentUpdateEvent(DataObject contentInfo)
contentInfo
- the document info for the contentpublic void fireSubjectChangedEvent(java.lang.String name, long time)
name
- the subject nametime
- the subject time
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |