net.anotheria.anosite.gen.asgenericdata.service.GenericGuardDefCRUDServiceImpl Maven / Gradle / Ivy
/**
********************************************************************************
*** GenericGuardDefCRUDServiceImpl.java ***
*** The implementation of the GenericGuardDefCRUDServiceImpl. ***
*** generated by AnoSiteGenerator (ASG), Version: 2.6.3 ***
*** Copyright (C) 2005 - 2010 Anotheria.net, www.anotheria.net ***
*** All Rights Reserved. ***
********************************************************************************
*** Don't edit this code, if you aren't sure ***
*** that you do exactly know what you are doing! ***
*** It's better to invest time in the generator, as into the generated code. ***
********************************************************************************
*/
package net.anotheria.anosite.gen.asgenericdata.service;
import net.anotheria.asg.service.CRUDService;
import net.anotheria.anosite.gen.asgenericdata.data.GenericGuardDef;
import net.anotheria.asg.exception.ASGRuntimeException;
public class GenericGuardDefCRUDServiceImpl implements CRUDService{
// Generated by: class net.anotheria.asg.generator.model.docs.CMSBasedServiceGenerator.generateCRUDService
IASGenericDataService service;
public GenericGuardDefCRUDServiceImpl(){
this(ASGenericDataServiceFactory.getDefaultInstance());
}
public GenericGuardDefCRUDServiceImpl(IASGenericDataService aService){
service = aService;
}
public GenericGuardDef create(GenericGuardDef genericguarddef) throws ASGRuntimeException {
return service.createGenericGuardDef(genericguarddef);
}
public void delete(GenericGuardDef genericguarddef) throws ASGRuntimeException {
service.deleteGenericGuardDef(genericguarddef);
}
public GenericGuardDef get(String id) throws ASGRuntimeException {
return service.getGenericGuardDef(id);
}
public GenericGuardDef update(GenericGuardDef genericguarddef) throws ASGRuntimeException {
return service.updateGenericGuardDef(genericguarddef);
}
}