com.silverpeas.dataWarning.control
Class DataWarningEngine
java.lang.Object
  
com.silverpeas.dataWarning.control.DataWarningEngine
public final class DataWarningEngine
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DataWarningEngine
public DataWarningEngine(String cid)
                  throws DataWarningException
- Throws:
 DataWarningException
init
public void init()
          throws DataWarningException
- Throws:
 DataWarningException
 
run
public DataWarningResult run()
 
updateDataWarning
public void updateDataWarning(DataWarning dw)
                       throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarning
public DataWarning getDataWarning()
 
getDataWarningWritable
public DataWarning getDataWarningWritable()
 
createDataWarningQuery
protected void createDataWarningQuery(int queryType)
                               throws DataWarningException
- Throws:
 DataWarningException
 
deleteDataQueries
protected void deleteDataQueries()
                          throws DataWarningException
- Throws:
 DataWarningException
 
updateDataWarningQuery
public void updateDataWarningQuery(DataWarningQuery dwq)
                            throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarningQuery
public DataWarningQuery getDataWarningQuery(int queryType)
 
updateDataWarningScheduler
public void updateDataWarningScheduler(DataWarningScheduler dws)
                                throws DataWarningException
- Throws:
 DataWarningException
 
updateSchedulerWakeUp
public void updateSchedulerWakeUp(long nextTime)
 
getDataWarningScheduler
public DataWarningScheduler getDataWarningScheduler()
 
restartSchedulerIfNeeded
public void restartSchedulerIfNeeded()
 
startScheduler
public void startScheduler()
                    throws DataWarningException
- Throws:
 DataWarningException
 
stopScheduler
public void stopScheduler()
                   throws DataWarningException
- Throws:
 DataWarningException
 
createDataWarningGroup
public void createDataWarningGroup(DataWarningGroup dwg)
                            throws DataWarningException
- Throws:
 DataWarningException
 
deleteDataWarningGroup
public void deleteDataWarningGroup(int groupId)
                            throws DataWarningException
- Throws:
 DataWarningException
 
deleteDataWarningGroups
public void deleteDataWarningGroups()
                             throws DataWarningException
- Throws:
 DataWarningException
 
updateDataWarningGroup
public void updateDataWarningGroup(DataWarningGroup dwg)
                            throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarningGroups
public Collection getDataWarningGroups()
                                throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarningGroup
public DataWarningGroup getDataWarningGroup(int groupId)
                                     throws DataWarningException
- Throws:
 DataWarningException
 
createDataWarningUser
public void createDataWarningUser(DataWarningUser dwu)
                           throws DataWarningException
- Throws:
 DataWarningException
 
deleteDataWarningUser
public void deleteDataWarningUser(DataWarningUser dwu)
                           throws DataWarningException
- Throws:
 DataWarningException
 
deleteDataWarningUsers
public void deleteDataWarningUsers()
                            throws DataWarningException
- Throws:
 DataWarningException
 
updateDataWarningUser
public void updateDataWarningUser(DataWarningUser dwu)
                           throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarningUsers
public Collection getDataWarningUsers()
                               throws DataWarningException
- Throws:
 DataWarningException
 
getDataWarningUser
public DataWarningUser getDataWarningUser(String userId)
                                   throws DataWarningException
- Throws:
 DataWarningException
 
Copyright © 2016 Silverpeas. All Rights Reserved.