net.craftforge.essential.example.resources.bindings
Interface CrudBinding<T>

All Known Implementing Classes:
CustomerResource, OrderingResource, OrderLineResource, ProductResource, ShipmentResource, SupplierResource

public interface CrudBinding<T>

Since:
22.05.2011
Author:
Christian Bick

Method Summary
 T create(T input)
           
 void delete(Integer id)
           
 T read(Integer id)
           
 T update(Integer id, T input)
           
 

Method Detail

create

T create(T input)
         throws net.craftforge.essential.controller.ControllerException
Throws:
net.craftforge.essential.controller.ControllerException

update

T update(Integer id,
         T input)
         throws net.craftforge.essential.controller.ControllerException
Throws:
net.craftforge.essential.controller.ControllerException

read

T read(Integer id)
       throws net.craftforge.essential.controller.ControllerException
Throws:
net.craftforge.essential.controller.ControllerException

delete

void delete(Integer id)
            throws net.craftforge.essential.controller.ControllerException
Throws:
net.craftforge.essential.controller.ControllerException


Copyright © 2011. All Rights Reserved.