|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.web.admin.groups.parsers.GroupInfo
public class GroupInfo
This is a data class to store the group information from the groups.xml file
| Constructor Summary | |
|---|---|
GroupInfo()
Deprecated. Default constructor, intializes the users list |
|
| Method Summary | |
|---|---|
void |
addGroupDutySchedule(DutySchedule aSchedule)
Deprecated. This method adds a duty schedule |
void |
addUser(String aUser)
Deprecated. Adds a username to the list of users |
int |
getDutyScheduleCount()
Deprecated. Returns the number of DutySchedule object for a group |
List<DutySchedule> |
getDutySchedules()
Deprecated. Returns the full list of DutySchedules |
String |
getGroupComments()
Deprecated. Returns the comments for the group |
String |
getGroupName()
Deprecated. Returns the group name |
int |
getUserCount()
Deprecated. Returns a count of the users in the list |
List |
getUsers()
Deprecated. Returns the list of users |
boolean |
isOnDuty(Calendar aTime)
Deprecated. Returns a boolean indicating if the user is on duty at the specified time. |
void |
removeUser(String aUser)
Deprecated. Removes a username from the list of users |
void |
setDutySchedule(List<DutySchedule> someSchedules)
Deprecated. This method sets a full list of duty schedules for a group |
void |
setGroupComments(String someComments)
Deprecated. Sets the comments for the group |
void |
setGroupName(String aName)
Deprecated. Sets the group name |
String |
toString()
Deprecated. Returns a String representation of the group, used primarily for debugging. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GroupInfo()
| Method Detail |
|---|
public void setGroupName(String aName)
aName - the name of the grouppublic String getGroupName()
public void setGroupComments(String someComments)
someComments - the comments for the grouppublic String getGroupComments()
public void addUser(String aUser)
aUser - a new usernamepublic void removeUser(String aUser)
aUser - the user to removepublic List getUsers()
public int getUserCount()
public void addGroupDutySchedule(DutySchedule aSchedule)
aSchedule - a new duty schedule to associate with a grouppublic void setDutySchedule(List<DutySchedule> someSchedules)
someSchedules - a list of DutySchedule objects for a grouppublic int getDutyScheduleCount()
public List<DutySchedule> getDutySchedules()
public boolean isOnDuty(Calendar aTime)
aTime - a time to see if the user is on duty
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||