net.anotheria.anosite.gen.assitedata.service.NaviItemCRUDServiceImpl Maven / Gradle / Ivy
/**
********************************************************************************
*** NaviItemCRUDServiceImpl.java ***
*** The implementation of the NaviItemCRUDServiceImpl. ***
*** 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.assitedata.service;
import net.anotheria.asg.service.CRUDService;
import net.anotheria.anosite.gen.assitedata.data.NaviItem;
import net.anotheria.asg.exception.ASGRuntimeException;
public class NaviItemCRUDServiceImpl implements CRUDService{
// Generated by: class net.anotheria.asg.generator.model.docs.CMSBasedServiceGenerator.generateCRUDService
IASSiteDataService service;
public NaviItemCRUDServiceImpl(){
this(ASSiteDataServiceFactory.getDefaultInstance());
}
public NaviItemCRUDServiceImpl(IASSiteDataService aService){
service = aService;
}
public NaviItem create(NaviItem naviitem) throws ASGRuntimeException {
return service.createNaviItem(naviitem);
}
public void delete(NaviItem naviitem) throws ASGRuntimeException {
service.deleteNaviItem(naviitem);
}
public NaviItem get(String id) throws ASGRuntimeException {
return service.getNaviItem(id);
}
public NaviItem update(NaviItem naviitem) throws ASGRuntimeException {
return service.updateNaviItem(naviitem);
}
}