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