public class GroupManager extends Object
| Constructor and Description |
|---|
GroupManager(EzTextingClient ez) |
| Modifier and Type | Method and Description |
|---|---|
Group |
create(String name) |
Group |
create(String name,
String note) |
boolean |
delete(Group group) |
Group |
renameGroup(Group group,
String name) |
Group |
retrieve(String id)
Retrieve Group by id.
|
List<Group> |
retrieveAll(GroupQuery query)
Retrieve all groups.
|
Group |
updateNote(Group group,
String note) |
public GroupManager(EzTextingClient ez)
public List<Group> retrieveAll(GroupQuery query) throws IOException
query - IOExceptionpublic Group retrieve(String id) throws IOException
id - IOExceptionpublic Group create(String name, String note) throws IOException
name - not null, max 12 charactersnote - IOExceptionpublic Group create(String name) throws IOException
name - not null. max 12 charactersIOExceptionpublic boolean delete(Group group) throws IOException
IOExceptionpublic Group renameGroup(Group group, String name) throws IOException
IOExceptionpublic Group updateNote(Group group, String note) throws IOException
IOExceptionCopyright © 2015. All Rights Reserved.