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(java.lang.String xmlString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
saveXml(java.lang.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
-
-
-
-
Method Detail
-
update
public void update() throws java.io.IOException
Description copied from class:GroupManager
update
- Specified by:
update
in classGroupManager
- Throws:
java.io.IOException
- if any.
-
saveXml
protected void saveXml(java.lang.String data) throws java.io.IOException
Description copied from class:GroupManager
saveXml
- Specified by:
saveXml
in classGroupManager
- Parameters:
data
- aString
object.- Throws:
java.io.IOException
- if any.
-
-