|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IClockDao
Method Summary | |
---|---|
void |
add(ClockConfig clockConfig,
ITransaction transaction)
Add the clock. |
void |
addOrUpdate(ClockConfig clockConfig,
ITransaction transaction)
Add or update the clock. |
void |
delete(java.lang.String clockId,
ITransaction transaction)
Delete the clock. |
java.util.List<ClockConfig> |
findRunningClocks(ITransaction transaction)
Get the running clocks. |
ClockConfig |
get(java.lang.String clockId,
ITransaction transaction)
Get the configuration of the clock. |
java.util.List<java.lang.String> |
getClockIds(ITransaction transaction)
Get a list of ids of the clock. |
java.util.Collection<java.lang.String> |
getClockIdsByServiceId(java.lang.String serviceId,
ITransaction transaction)
Get a list of ids by passing the id of the service. |
java.util.List<java.lang.String> |
getNextSchedules(ITransaction transaction)
Get next schedules. |
boolean |
setClockRunning(java.lang.String clockId,
boolean runningState,
int maxRunTime,
ITransaction transaction)
Set the running of the clock. |
boolean |
update(ClockConfig clockConfig,
ITransaction transaction)
Update the clock. |
Method Detail |
---|
java.util.List<java.lang.String> getClockIds(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
java.util.Collection<java.lang.String> getClockIdsByServiceId(java.lang.String serviceId, ITransaction transaction) throws DaoException, PortalException
serviceId
- transaction
-
DaoException
PortalException
java.util.List<java.lang.String> getNextSchedules(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
java.util.List<ClockConfig> findRunningClocks(ITransaction transaction) throws DaoException, PortalException
transaction
- the current transaction.
DaoException
PortalException
ClockConfig get(java.lang.String clockId, ITransaction transaction) throws DaoException, PortalException
clockId
- transaction
-
DaoException
PortalException
void add(ClockConfig clockConfig, ITransaction transaction) throws DaoException, PortalException
clockConfig
- transaction
-
DaoException
PortalException
void addOrUpdate(ClockConfig clockConfig, ITransaction transaction) throws DaoException, PortalException
clockConfig
- transaction
-
DaoException
PortalException
boolean update(ClockConfig clockConfig, ITransaction transaction) throws DaoException, PortalException
clockConfig
- transaction
-
DaoException
PortalException
void delete(java.lang.String clockId, ITransaction transaction) throws DaoException, PortalException
clockId
- transaction
-
DaoException
PortalException
boolean setClockRunning(java.lang.String clockId, boolean runningState, int maxRunTime, ITransaction transaction) throws DaoException, PortalException
clockId
- runningState
- maxRunTime
- transaction
-
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |