net.anotheria.anosite.gen.anoaccessconfiguration.service.AccessOperationCRUDServiceImpl Maven / Gradle / Ivy
/**
********************************************************************************
*** AccessOperationCRUDServiceImpl.java ***
*** The implementation of the AccessOperationCRUDServiceImpl. ***
*** 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.anoaccessconfiguration.service;
import net.anotheria.asg.service.CRUDService;
import net.anotheria.anosite.gen.anoaccessconfiguration.data.AccessOperation;
import net.anotheria.asg.exception.ASGRuntimeException;
public class AccessOperationCRUDServiceImpl implements CRUDService{
// Generated by: class net.anotheria.asg.generator.model.docs.CMSBasedServiceGenerator.generateCRUDService
IAnoAccessConfigurationService service;
public AccessOperationCRUDServiceImpl(){
this(AnoAccessConfigurationServiceFactory.getDefaultInstance());
}
public AccessOperationCRUDServiceImpl(IAnoAccessConfigurationService aService){
service = aService;
}
public AccessOperation create(AccessOperation accessoperation) throws ASGRuntimeException {
return service.createAccessOperation(accessoperation);
}
public void delete(AccessOperation accessoperation) throws ASGRuntimeException {
service.deleteAccessOperation(accessoperation);
}
public AccessOperation get(String id) throws ASGRuntimeException {
return service.getAccessOperation(id);
}
public AccessOperation update(AccessOperation accessoperation) throws ASGRuntimeException {
return service.updateAccessOperation(accessoperation);
}
}