package au.com.subash.session;

import au.com.subash.entity.TodoItem;
import au.com.subash.entity.TodoList;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author subash
 */
@Remote
public interface ManageTodoListFacadeRemote {
    List<TodoList> getTodoLists();
    TodoList addTodoList(TodoList list);
    boolean removeTodoList(int id);
    boolean updateTodoList(TodoList list);
    boolean updateTodoItem(TodoItem item);
}

@@ -241,158 +241,687 @@
     
-List%3CTodoList%3E getTodoLists();%0A    TodoList addTodoList(TodoList list);%0A    boolean removeTodoList(int id);%0A    boolean updateTodoList(TodoList list);
+/**%0A     * Get all lists%0A     * @return All found lists%0A     */%0A    List%3CTodoList%3E getTodoLists();%0A    %0A    /**%0A     * Add a new list%0A     * %0A     * @param list List to add%0A     * @return Added list%0A     */%0A    TodoList addTodoList(TodoList list);%0A    %0A    /**%0A     * Remove list%0A     * %0A     * @param id Id of list to remove%0A     * @return Success and failure%0A     */%0A    boolean removeTodoList(int id);%0A    %0A    /**%0A     * Update list%0A     * %0A     * @param list List to update%0A     * @return Success or failure%0A     */%0A    boolean updateTodoList(TodoList list);%0A    %0A    /**%0A     * Update Item%0A     * %0A     * @param item Item to update%0A     * @return Success or failure%0A     */
 %0A   

add doc block