net.craftforge.essential.example.resources
Class OrderingResource

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

public class OrderingResource
extends PersistentResource<Ordering>
implements CrudBinding<Ordering>

Since:
09.08.11
Author:
Christian Bick

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

OrderingResource

public OrderingResource()
Method Detail

create

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

update

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

read

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

delete

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


Copyright © 2011. All Rights Reserved.