net.craftforge.essential.example.resources
Class ShipmentResource
java.lang.Object
net.craftforge.essential.example.resources.PersistentResource<Shipment>
net.craftforge.essential.example.resources.ShipmentResource
- All Implemented Interfaces:
- CrudBinding<Shipment>
public class ShipmentResource
- extends PersistentResource<Shipment>
- implements CrudBinding<Shipment>
- 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 |
ShipmentResource
public ShipmentResource()
create
public Shipment create(Shipment entity)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
create in interface CrudBinding<Shipment>
- Throws:
net.craftforge.essential.controller.ControllerException
update
public Shipment update(Integer id,
Shipment entity)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
update in interface CrudBinding<Shipment>
- Throws:
net.craftforge.essential.controller.ControllerException
read
public Shipment read(Integer id)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
read in interface CrudBinding<Shipment>
- Throws:
net.craftforge.essential.controller.ControllerException
delete
public void delete(Integer id)
throws net.craftforge.essential.controller.ControllerException
- Specified by:
delete in interface CrudBinding<Shipment>
- Throws:
net.craftforge.essential.controller.ControllerException
Copyright © 2011. All Rights Reserved.