Package org.opennms.netmgt.config.mock
Class MockGroupManager
- java.lang.Object
-
- org.opennms.netmgt.config.GroupManager
-
- org.opennms.netmgt.config.mock.MockGroupManager
-
- All Implemented Interfaces:
GroupConfig
public class MockGroupManager extends GroupManager
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opennms.netmgt.config.GroupManager
GroupManager.OnmsGroupListMapper, GroupManager.OnmsGroupMapper
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.config.GroupManager
m_dutySchedules
-
-
Constructor Summary
Constructors Constructor Description MockGroupManager(String xmlString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
saveXml(String data)
saveXmlvoid
update()
update-
Methods inherited from class org.opennms.netmgt.config.GroupManager
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, userHasRole
-
-
-
-
Constructor Detail
-
MockGroupManager
public MockGroupManager(String xmlString) throws IOException
- Throws:
IOException
-
-
Method Detail
-
update
public void update() throws IOException
Description copied from class:GroupManager
update
- Specified by:
update
in classGroupManager
- Throws:
IOException
- if any.
-
saveXml
protected void saveXml(String data) throws IOException
Description copied from class:GroupManager
saveXml
- Specified by:
saveXml
in classGroupManager
- Parameters:
data
- aString
object.- Throws:
IOException
- if any.
-
-