public interface AdGroupDAO extends DAO
AdGroupDAO defines a type that performs CRUD operations on instances of ad_groups.| Modifier and Type | Method and Description |
|---|---|
ad_groups |
get(Guid id)
Retrieves the instance with the specified id.
|
List<ad_groups> |
getAll()
Retrieves all groups.
|
List<ad_groups> |
getAllTimeLeasedForPool(int id)
Retrieves all time leased groups for the specified pool.
|
ad_groups |
getByName(String name)
Retrieves the group with the specified name.
|
void |
remove(Guid id)
Removes the group with the specified id.
|
void |
save(ad_groups group)
Saves the supplied group.
|
void |
update(ad_groups group)
Updates the supplied group.
|
ad_groups get(Guid id)
id - the group idad_groups getByName(String name)
name - the group nameList<ad_groups> getAllTimeLeasedForPool(int id)
id - the poolvoid save(ad_groups group)
group - the groupvoid update(ad_groups group)
group - the groupvoid remove(Guid id)
id - the group idCopyright © 2012. All Rights Reserved.