|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
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 String |
ACTION |
static String |
ACTION_DATE |
static String |
ACTION_MILLIS |
static String |
DATA_SOURCE |
static String |
DOCUMENT_HISTORY |
static String |
GET_DATA_RESULTSET |
static String |
LOAD_USER_LOCALIZATION |
protected IdcContext |
m_context |
protected IdcClient |
m_idcClient |
protected ILog |
m_log |
static String |
MONITORED_SUBJECTS |
static String |
ORDER_CLAUSE |
static String |
REFRESH_SUBJECTS |
static String |
RESULT_NAME |
protected static Long |
TIME_EXPIRED |
protected static Long |
TIME_ZERO |
static String |
WHERE_CLAUSE |
Constructor Summary | |
---|---|
ContentHistoryWatcher(IdcClient idcClient, IdcContext context) |
Method Summary | |
---|---|
void |
addQuerySubject(String subject) Add the subject with to the list to query |
protected void |
fireContentUpdateEvent(DataObject contentInfo) Fire the content update event |
void |
fireSubjectChangedEvent(String name, long time) Fire the subjectChanged event |
protected IdcContext |
getContext() |
IdcClient |
getIdcClient() |
DateFormat |
getOdbcDateFormat() |
long |
getSleep() |
protected DateFormat |
initializeDateFormat(IdcContext context) |
void |
setQuerySubjects(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(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 String LOAD_USER_LOCALIZATION
public static final String GET_DATA_RESULTSET
public static final String ACTION
public static final String ACTION_DATE
public static final String ACTION_MILLIS
public static final String DATA_SOURCE
public static final String RESULT_NAME
public static final String WHERE_CLAUSE
public static final String ORDER_CLAUSE
public static final String MONITORED_SUBJECTS
public static final String REFRESH_SUBJECTS
public static final String DOCUMENT_HISTORY
protected ILog m_log
protected static final Long TIME_ZERO
protected static final 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 DateFormat getOdbcDateFormat() throws IdcClientException
IdcClientException
public void stop() throws Exception
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(String subject)
subject
-public void setQuerySubjects(List subjects)
subjects
-protected void updateSubject(String name, long time)
protected DateFormat initializeDateFormat(IdcContext context) throws IdcClientException
IdcClientException
protected IdcContext getContext()
protected void fireContentUpdateEvent(DataObject contentInfo)
contentInfo
- the document info for the contentpublic void fireSubjectChangedEvent(String name, long time)
name
- the subject nametime
- the subject time
|
Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC) 11g Release 1 (11.1) E17274-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |