|
||||||||||
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(String clockId,
ITransaction transaction)
Delete the clock. |
List<ClockConfig> |
findRunningClocks(ITransaction transaction)
Get the running clocks. |
ClockConfig |
get(String clockId,
ITransaction transaction)
Get the configuration of the clock. |
List<String> |
getClockIds(ITransaction transaction)
Get a list of ids of the clock. |
Collection<String> |
getClockIdsByServiceId(String serviceId,
ITransaction transaction)
Get a list of ids by passing the id of the service. |
List<String> |
getNextSchedules(ITransaction transaction)
Get next schedules. |
boolean |
setClockRunning(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 |
---|
List<String> getClockIds(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
Collection<String> getClockIdsByServiceId(String serviceId, ITransaction transaction) throws DaoException, PortalException
serviceId
- transaction
-
DaoException
PortalException
List<String> getNextSchedules(ITransaction transaction) throws DaoException, PortalException
transaction
-
DaoException
PortalException
List<ClockConfig> findRunningClocks(ITransaction transaction) throws DaoException, PortalException
transaction
- the current transaction.
DaoException
PortalException
ClockConfig get(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(String clockId, ITransaction transaction) throws DaoException, PortalException
clockId
- transaction
-
DaoException
PortalException
boolean setClockRunning(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 |