public class AdGroupDAODbFacadeImpl extends BaseDAODbFacade implements AdGroupDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
AdGroupDAODbFacadeImpl() |
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.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public ad_groups get(Guid id)
AdGroupDAO
get
in interface AdGroupDAO
id
- the group idpublic ad_groups getByName(String name)
AdGroupDAO
getByName
in interface AdGroupDAO
name
- the group namepublic List<ad_groups> getAll()
AdGroupDAO
getAll
in interface AdGroupDAO
public List<ad_groups> getAllTimeLeasedForPool(int id)
AdGroupDAO
getAllTimeLeasedForPool
in interface AdGroupDAO
id
- the poolpublic void save(ad_groups group)
AdGroupDAO
save
in interface AdGroupDAO
group
- the grouppublic void update(ad_groups group)
AdGroupDAO
update
in interface AdGroupDAO
group
- the grouppublic void remove(Guid id)
AdGroupDAO
remove
in interface AdGroupDAO
id
- the group idCopyright © 2012. All Rights Reserved.