net.anotheria.anosite.gen.aswizarddata.service.WizardDefCRUDServiceImpl Maven / Gradle / Ivy
/**
********************************************************************************
*** WizardDefCRUDServiceImpl.java ***
*** The implementation of the WizardDefCRUDServiceImpl. ***
*** 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.aswizarddata.service;
import net.anotheria.asg.service.CRUDService;
import net.anotheria.anosite.gen.aswizarddata.data.WizardDef;
import net.anotheria.asg.exception.ASGRuntimeException;
public class WizardDefCRUDServiceImpl implements CRUDService{
// Generated by: class net.anotheria.asg.generator.model.docs.CMSBasedServiceGenerator.generateCRUDService
IASWizardDataService service;
public WizardDefCRUDServiceImpl(){
this(ASWizardDataServiceFactory.getDefaultInstance());
}
public WizardDefCRUDServiceImpl(IASWizardDataService aService){
service = aService;
}
public WizardDef create(WizardDef wizarddef) throws ASGRuntimeException {
return service.createWizardDef(wizarddef);
}
public void delete(WizardDef wizarddef) throws ASGRuntimeException {
service.deleteWizardDef(wizarddef);
}
public WizardDef get(String id) throws ASGRuntimeException {
return service.getWizardDef(id);
}
public WizardDef update(WizardDef wizarddef) throws ASGRuntimeException {
return service.updateWizardDef(wizarddef);
}
}