com.silverpeas.dataWarning.model
Class DataWarningDataManager
java.lang.Object
com.silverpeas.dataWarning.model.DataWarningDataManager
public class DataWarningDataManager
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataWarningDataManager
public DataWarningDataManager()
throws DataWarningException
- Throws:
DataWarningException
createDataWarning
public void createDataWarning(DataWarning dw)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarning
public void deleteDataWarning(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
updateDataWarning
public void updateDataWarning(DataWarning dw)
throws DataWarningException
- Throws:
DataWarningException
getDataWarning
public DataWarning getDataWarning(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
createDataWarningQuery
public void createDataWarningQuery(DataWarningQuery dwq)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningQuery
public void deleteDataWarningQuery(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningQuery
public void deleteDataWarningQuery(String instanceId,
int queryCondition)
throws DataWarningException
- Throws:
DataWarningException
updateDataWarningQuery
public void updateDataWarningQuery(DataWarningQuery dwq)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningQuery
public DataWarningQuery getDataWarningQuery(String instanceId,
int queryCondition)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningQueries
public Collection getDataWarningQueries(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
createDataWarningScheduler
public void createDataWarningScheduler(DataWarningScheduler dws)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningScheduler
public void deleteDataWarningScheduler(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
updateDataWarningScheduler
public void updateDataWarningScheduler(DataWarningScheduler dws)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningScheduler
public DataWarningScheduler getDataWarningScheduler(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningSchedulerInstances
public List<String> getDataWarningSchedulerInstances()
throws DataWarningException
- Throws:
DataWarningException
createDataWarningGroup
public void createDataWarningGroup(DataWarningGroup dwg)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningGroup
public void deleteDataWarningGroup(String instanceId,
int groupId)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningGroups
public void deleteDataWarningGroups(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
updateDataWarningGroup
public void updateDataWarningGroup(DataWarningGroup dwg)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningGroups
public Collection getDataWarningGroups(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningGroup
public DataWarningGroup getDataWarningGroup(String instanceId,
int groupId)
throws DataWarningException
- Throws:
DataWarningException
createDataWarningUser
public void createDataWarningUser(DataWarningUser dwu)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningUser
public void deleteDataWarningUser(String instanceId,
int userId)
throws DataWarningException
- Throws:
DataWarningException
deleteDataWarningUsers
public void deleteDataWarningUsers(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
updateDataWarningUser
public void updateDataWarningUser(DataWarningUser dwu)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningUsers
public Collection getDataWarningUsers(String instanceId)
throws DataWarningException
- Throws:
DataWarningException
getDataWarningUser
public DataWarningUser getDataWarningUser(String instanceId,
String userId)
throws DataWarningException
- Throws:
DataWarningException
openConnection
public Connection openConnection()
throws DataWarningException
- Ouverture de la connection vers la source de donnees
- Returns:
- Connection la connection
- Throws:
DataWarningException
closeConnection
public void closeConnection(Connection con)
closeAllConnection
public void closeAllConnection(Connection con,
Statement st)
closeAllConnection
public void closeAllConnection(Connection con,
Statement st,
ResultSet rs)
Copyright © 2016 Silverpeas. All Rights Reserved.