Interface TodosJaxRsClient
-
- All Known Implementing Classes:
TodosJaxRsClientImpl
public interface TodosJaxRsClient
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_PATH
static String
LIMIT
static String
NAME_PARAM
static String
OFFSET
static String
TODO_ITEM_PATH
static String
TODO_ITEMS_PATH
static String
TODO_LIST_PATH
static String
TODO_LISTS_PATH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
addTodoItem(String listName, TodoItemDTO item)
javax.ws.rs.core.Response
createTodoList(TodoListDTO todoList)
javax.ws.rs.core.Response
deleteAll()
javax.ws.rs.core.Response
deleteTodoItem(String listName, String itemName)
javax.ws.rs.core.Response
deleteTodoList(String listName)
javax.ws.rs.core.Response
getTodoList(String listName)
javax.ws.rs.core.Response
getTodoLists(Integer offset, Integer limit)
javax.ws.rs.core.Response
renameTodoList(String oldName, String newName)
javax.ws.rs.core.Response
updateTodoItem(String listName, TodoItemDTO item)
-
-
-
Field Detail
-
APPLICATION_PATH
static final String APPLICATION_PATH
- See Also:
- Constant Field Values
-
TODO_LISTS_PATH
static final String TODO_LISTS_PATH
- See Also:
- Constant Field Values
-
TODO_LIST_PATH
static final String TODO_LIST_PATH
- See Also:
- Constant Field Values
-
TODO_ITEMS_PATH
static final String TODO_ITEMS_PATH
- See Also:
- Constant Field Values
-
TODO_ITEM_PATH
static final String TODO_ITEM_PATH
- See Also:
- Constant Field Values
-
OFFSET
static final String OFFSET
- See Also:
- Constant Field Values
-
LIMIT
static final String LIMIT
- See Also:
- Constant Field Values
-
NAME_PARAM
static final String NAME_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTodoList
javax.ws.rs.core.Response createTodoList(TodoListDTO todoList)
-
getTodoList
javax.ws.rs.core.Response getTodoList(String listName)
-
deleteTodoList
javax.ws.rs.core.Response deleteTodoList(String listName)
-
addTodoItem
javax.ws.rs.core.Response addTodoItem(String listName, TodoItemDTO item)
-
updateTodoItem
javax.ws.rs.core.Response updateTodoItem(String listName, TodoItemDTO item)
-
deleteAll
javax.ws.rs.core.Response deleteAll()
-
-