Interface RosterManager
public interface RosterManager
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddUsers(String rosterName, List<User> users, UICallback ui) Adds one or more users to an existing roster without deleting existing users.voiddeleteRosters(List<String> names, UICallback ui) voideditRoster(String name, List<User> users, UICallback ui) Deletes all existing users in a roster, then adds all users in the user list.Return the ordered list of users in this rosterReturn a list of all defined on-call roster namesvoidremoveUsers(String rosterName, List<User> users, UICallback ui) Removes one or more users from an existing roster.
- 
Method Details- 
getRostersReturn a list of all defined on-call roster names
- 
getRosterReturn the ordered list of users in this roster
- 
editRosterDeletes all existing users in a roster, then adds all users in the user list.- Parameters:
- name- Not null
- users- Not null, but may be empty
- ui- Nullable
 
- 
addUsersAdds one or more users to an existing roster without deleting existing users.- Parameters:
- rosterName- Name of roster to add to
- users- List of users to add. May be empty, which is effectively a no-op
- ui- UICallback for error reporting. May be null.
 
- 
removeUsersRemoves one or more users from an existing roster.- Parameters:
- rosterName- Name of roster to remove from
- users- List of users to remove. May be empty, which is effectively a no-op
- ui- UICallback for error reporting. May be null.
 
- 
deleteRosters
 
-