net.anotheria.anosite.gen.asuserdata.service.RoleDefCRUDServiceImpl Maven / Gradle / Ivy
/**
********************************************************************************
*** RoleDefCRUDServiceImpl.java ***
*** The implementation of the RoleDefCRUDServiceImpl. ***
*** 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.asuserdata.service;
import net.anotheria.asg.service.CRUDService;
import net.anotheria.anosite.gen.asuserdata.data.RoleDef;
import net.anotheria.asg.exception.ASGRuntimeException;
public class RoleDefCRUDServiceImpl implements CRUDService{
// Generated by: class net.anotheria.asg.generator.model.docs.CMSBasedServiceGenerator.generateCRUDService
IASUserDataService service;
public RoleDefCRUDServiceImpl(){
this(ASUserDataServiceFactory.getDefaultInstance());
}
public RoleDefCRUDServiceImpl(IASUserDataService aService){
service = aService;
}
public RoleDef create(RoleDef roledef) throws ASGRuntimeException {
return service.createRoleDef(roledef);
}
public void delete(RoleDef roledef) throws ASGRuntimeException {
service.deleteRoleDef(roledef);
}
public RoleDef get(String id) throws ASGRuntimeException {
return service.getRoleDef(id);
}
public RoleDef update(RoleDef roledef) throws ASGRuntimeException {
return service.updateRoleDef(roledef);
}
}