net.craftforge.essential.example.resources
Class ProductResource
java.lang.Object
net.craftforge.essential.example.resources.PersistentResource<Product>
net.craftforge.essential.example.resources.ProductResource
- All Implemented Interfaces:
- CrudBinding<Product>
public class ProductResource
- extends PersistentResource<Product>
- implements CrudBinding<Product>
- Since:
- 09.08.11
- Author:
- Christian Bick
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProductResource
public ProductResource()
create
public Product create(Product entity)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
create in interface CrudBinding<Product>
- Throws:
net.craftforge.essential.controller.ControllerException
update
public Product update(Integer id,
Product entity)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
update in interface CrudBinding<Product>
- Throws:
net.craftforge.essential.controller.ControllerException
read
public Product read(Integer id)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
read in interface CrudBinding<Product>
- Throws:
net.craftforge.essential.controller.ControllerException
delete
public void delete(Integer id)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
delete in interface CrudBinding<Product>
- Throws:
net.craftforge.essential.controller.ControllerException
Copyright © 2011. All Rights Reserved.