|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.config.GroupManager
org.opennms.netmgt.config.GroupFactory
public class GroupFactory
GroupFactory class.
| Field Summary |
|---|
| Fields inherited from class org.opennms.netmgt.config.GroupManager |
|---|
m_dutySchedules |
| Constructor Summary | |
|---|---|
GroupFactory()
Constructor which parses the file |
|
| Method Summary | |
|---|---|
static GroupManager |
getInstance()
Singleton static call to get the only instance that should exist for the GroupFactory |
static void |
init()
init |
void |
reload()
Parses the groups.xml via the Castor classes |
protected void |
saveXml(String data)
saveXml |
static void |
setInstance(GroupManager mgr)
setInstance |
void |
update()
update |
| Methods inherited from class org.opennms.netmgt.config.GroupManager |
|---|
deleteGroup, deleteRole, deleteUser, findGroupsForUser, getGroup, getGroupNames, getGroups, getRole, getRoleNames, getRoles, getRoleScheduleEntries, getSchedulesForRoleAt, getUserSchedulesForRole, groupNextOnDuty, hasGroup, isGroupOnDuty, isUserScheduledForRole, parseXml, parseXml, renameGroup, renameUser, saveGroup, saveGroups, saveRole, setGroups, userHasRole |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupFactory()
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException,
FileNotFoundException,
IOException
IOException - if any.
FileNotFoundException - if any.
org.exolab.castor.xml.ValidationException - if any.
org.exolab.castor.xml.MarshalException - if any.| Method Detail |
|---|
public static void init()
throws IOException,
FileNotFoundException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
init
IOException - if any.
FileNotFoundException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.public static GroupManager getInstance()
public static void setInstance(GroupManager mgr)
setInstance
mgr - a GroupManager object.
public void reload()
throws IOException,
FileNotFoundException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
IOException - if any.
FileNotFoundException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
protected void saveXml(String data)
throws IOException
saveXml
saveXml in class GroupManagerdata - a String object.
IOException - if any.
public void update()
throws IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
update
update in class GroupManagerIOException - if any.
org.exolab.castor.xml.MarshalException - if any.
org.exolab.castor.xml.ValidationException - if any.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||