net.craftforge.essential.example.resources
Class OrderLineResource

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

public class OrderLineResource
extends PersistentResource<OrderLine>
implements CrudBinding<OrderLine>

Since:
09.08.11
Author:
Christian Bick

Constructor Summary
OrderLineResource()
           
 
Method Summary
 OrderLine create(OrderLine entity)
           
 void delete(Integer id)
           
 OrderLine read(Integer id)
           
 OrderLine update(Integer id, OrderLine 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

OrderLineResource

public OrderLineResource()
Method Detail

create

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

update

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

read

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

delete

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


Copyright © 2011. All Rights Reserved.