org.opennms.web.group
Class WebGroup

java.lang.Object
  extended by org.opennms.web.group.WebGroup

public class WebGroup
extends Object

WebGroup

Author:
brozow

Constructor Summary
WebGroup()
           
WebGroup(Group group, List<String> authorizedCategories)
           
 
Method Summary
 void addDutySchedule(String dutySchedule)
           
 List<String> getAuthorizedCategories()
           
 String getComments()
           
 List<String> getDutySchedules()
           
 String getName()
           
 List<String> getRemainingUsers(List<String> allUsers)
           
 List<String> getUnauthorizedCategories(List<String> allCategories)
           
 List<String> getUsers()
           
 void setAuthorizedCategories(List<String> authorizedCategories)
           
 void setComments(String comments)
           
 void setDutySchedules(List<String> dutySchedules)
           
 void setName(String name)
           
 void setUsers(List<String> users)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebGroup

public WebGroup()

WebGroup

public WebGroup(Group group,
                List<String> authorizedCategories)
Method Detail

getName

public String getName()
Returns:
the name

setName

public void setName(String name)
Parameters:
name - the name to set

getComments

public String getComments()
Returns:
the comments

setComments

public void setComments(String comments)
Parameters:
comments - the comments to set

getDutySchedules

public List<String> getDutySchedules()
Returns:
the dutySchedules

setDutySchedules

public void setDutySchedules(List<String> dutySchedules)
Parameters:
dutySchedules - the dutySchedules to set

addDutySchedule

public void addDutySchedule(String dutySchedule)

getAuthorizedCategories

public List<String> getAuthorizedCategories()
Returns:
the authorizedCategories

setAuthorizedCategories

public void setAuthorizedCategories(List<String> authorizedCategories)
Parameters:
authorizedCategories - the authorizedCategories to set

getUsers

public List<String> getUsers()
Returns:
the users

setUsers

public void setUsers(List<String> users)
Parameters:
users - the users to set

getUnauthorizedCategories

public List<String> getUnauthorizedCategories(List<String> allCategories)

getRemainingUsers

public List<String> getRemainingUsers(List<String> allUsers)


Copyright © 2009. All Rights Reserved.