|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScheduleDao
Method Summary | |
---|---|
void |
addOrUpdate(Schedule schedule,
ITransaction transaction)
Adds or updates a Schedule |
boolean |
delete(String scheduleId,
ITransaction transaction)
Deletes a Schedule |
Schedule |
get(String scheduleId,
ITransaction transaction)
Gets a Schedule based on it's id. |
Collection<String> |
getActiveSchedules(String serviceInstanceId,
ITransaction transaction)
Get all active schedule objects |
Schedule |
getForProcess(String scheduleId)
Gets a Schedule object setting it's status to Schedule#STATUS_PROCESSING . |
void |
releaseFromProcess(String scheduleId)
Set a schedule status from Schedule#STATUS_PROCESSING to Schedule.STATUS_ENABLED . |
Method Detail |
---|
void addOrUpdate(Schedule schedule, ITransaction transaction) throws DaoException, PortalException
Schedule
schedule
- transaction
-
DaoException
PortalException
Schedule get(String scheduleId, ITransaction transaction) throws DaoException, PortalException
Schedule
based on it's id.
scheduleId
- transaction
-
DaoException
PortalException
boolean delete(String scheduleId, ITransaction transaction) throws DaoException, PortalException
Schedule
scheduleId
- transaction
-
DaoException
PortalException
Collection<String> getActiveSchedules(String serviceInstanceId, ITransaction transaction) throws PortalException
serviceInstanceId
- transaction
-
PortalException
Schedule getForProcess(String scheduleId) throws DaoException, PortalException
Schedule#STATUS_PROCESSING
. The method creates it's own transaction
so there can be no manipulation of data on the specified bean on a active transaction.
scheduleId
-
DaoException
PortalException
void releaseFromProcess(String scheduleId) throws DaoException, PortalException
Schedule#STATUS_PROCESSING
to Schedule.STATUS_ENABLED
. The method creates it's own transaction
so there can be no manipulation of data on the specified bean on a active transaction.
scheduleId
-
DaoException
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |