public class TodoList extends Object implements DtoList<Todo>
Modifier | Constructor and Description |
---|---|
protected |
TodoList()
Creates new instance.
|
|
TodoList(Collection<Todo> todos)
Creates new instance.
|
|
TodoList(Collection<Todo> modules,
long total)
Creates new instance.
|
|
TodoList(QueryResult<Todo> todos)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
List<Todo> |
getData()
Returns a list of to-dos.
|
long |
getTotal()
Returns the total number of to-dos.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
protected TodoList()
public TodoList(QueryResult<Todo> todos)
todos
- public TodoList(Collection<Todo> todos)
todos
- public TodoList(Collection<Todo> modules, long total)
modules
- total
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.