public class MockGroupManager extends GroupManager
GroupManager.OnmsGroupListMapper, GroupManager.OnmsGroupMapperm_dutySchedules| Constructor and Description |
|---|
MockGroupManager(String xmlString) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
saveXml(String data)
saveXml
|
void |
update()
update
|
deleteGroup, deleteRole, deleteUser, findGroupsForUser, getGroup, getGroupNames, getGroups, getOnmsGroup, getOnmsGroupList, getRole, getRoleNames, getRoles, getRoleScheduleEntries, getSchedulesForRoleAt, getUserSchedulesForRole, groupNextOnDuty, hasGroup, isGroupOnDuty, isUserScheduledForRole, parseXml, renameGroup, renameUser, save, saveGroup, saveGroups, saveRole, setGroups, userHasRolepublic MockGroupManager(String xmlString) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalExceptionorg.exolab.castor.xml.ValidationExceptionpublic void update()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
GroupManagerupdate
update in class GroupManagerIOException - if any.org.exolab.castor.xml.MarshalException - if any.org.exolab.castor.xml.ValidationException - if any.protected void saveXml(String data) throws IOException
GroupManagersaveXml
saveXml in class GroupManagerdata - a String object.IOException - if any.Copyright © 2015. All rights reserved.