net.craftforge.essential.example.resources
Class SupplierResource

java.lang.Object
  extended by net.craftforge.essential.example.resources.PersistentResource<Supplier>
      extended by net.craftforge.essential.example.resources.SupplierResource
All Implemented Interfaces:
CrudBinding<Supplier>

public class SupplierResource
extends PersistentResource<Supplier>
implements CrudBinding<Supplier>

Since:
09.08.11
Author:
Christian Bick

Constructor Summary
SupplierResource()
           
 
Method Summary
 Supplier create(Supplier entity)
           
 void delete(Integer id)
           
 Supplier read(Integer id)
           
 Supplier update(Integer id, Supplier entity)
           
 
Methods inherited from class net.craftforge.essential.example.resources.PersistentResource
createEntityManager, getCrudDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupplierResource

public SupplierResource()
Method Detail

create

public Supplier create(Supplier entity)
                throws net.craftforge.essential.controller.ControllerException
Specified by:
create in interface CrudBinding<Supplier>
Throws:
net.craftforge.essential.controller.ControllerException

update

public Supplier update(Integer id,
                       Supplier entity)
                throws net.craftforge.essential.controller.ControllerException
Specified by:
update in interface CrudBinding<Supplier>
Throws:
net.craftforge.essential.controller.ControllerException

read

public Supplier read(Integer id)
              throws net.craftforge.essential.controller.ControllerException
Specified by:
read in interface CrudBinding<Supplier>
Throws:
net.craftforge.essential.controller.ControllerException

delete

public void delete(Integer id)
            throws net.craftforge.essential.controller.ControllerException
Specified by:
delete in interface CrudBinding<Supplier>
Throws:
net.craftforge.essential.controller.ControllerException


Copyright © 2011. All Rights Reserved.