org.jboss.seam.rest.examples.tasks.resource
Class CategoryResource
java.lang.Object
org.jboss.seam.rest.examples.tasks.resource.AbstractEntityResource
org.jboss.seam.rest.examples.tasks.resource.CategoryResource
@ValidateRequest(groups=TaskValidationGroup.class)
public class CategoryResource
- extends AbstractEntityResource
CRUD resource for categories
- Author:
- Jozef Hartinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CategoryResource
public CategoryResource()
getTasks
public TaskCollectionResource getTasks()
putCategory
public void putCategory(String categoryName)
deleteCategory
public void deleteCategory(String categoryName)
createTask
public javax.ws.rs.core.Response createTask(JaxbTaskWrapper incommingTask,
String categoryName,
@Context
javax.ws.rs.core.UriInfo uriInfo)
- This method only makes sense at /category/{category}/task not /task
Copyright © 2011 Seam Framework. All Rights Reserved.