public interface IClockDao
Modifier and Type | Method and Description |
---|---|
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.
|
Collection<ClockConfig> |
getDisabledClocks(ITransaction transaction)
Get disabled clocks
|
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.
|
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
Collection<ClockConfig> getDisabledClocks(ITransaction transaction) throws DaoException, PortalException
transaction
- DaoException
PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.