public class CronTabDAO extends Object
Modifier and Type | Method and Description |
---|---|
static long |
create(CronTab ct)
Create
|
static void |
delete(long ctId)
Delete
|
static List<CronTab> |
findAll()
Find all
|
static CronTab |
findByName(String name)
Find by filename
|
static CronTab |
findByPk(long ctId)
Find by pk
|
static void |
setLastBegin(long ctId)
Set begin time
|
static void |
setLastEnd(long ctId)
Set end time
|
static void |
update(CronTab ct)
Update
|
public static long create(CronTab ct) throws DatabaseException
DatabaseException
public static void update(CronTab ct) throws DatabaseException
DatabaseException
public static void delete(long ctId) throws DatabaseException
DatabaseException
public static CronTab findByPk(long ctId) throws DatabaseException
DatabaseException
public static CronTab findByName(String name) throws DatabaseException
DatabaseException
public static List<CronTab> findAll() throws DatabaseException
DatabaseException
public static void setLastBegin(long ctId) throws DatabaseException
DatabaseException
public static void setLastEnd(long ctId) throws DatabaseException
DatabaseException
Copyright © 2015. All Rights Reserved.