org.jasig.portlet.announcements.service
Class PortletXMLGroupService

java.lang.Object
  extended by org.jasig.portlet.announcements.service.PortletXMLGroupService
All Implemented Interfaces:
IGroupService, org.springframework.web.context.ServletContextAware

public class PortletXMLGroupService
extends Object
implements org.springframework.web.context.ServletContextAware, IGroupService

Author:
Erik A. Olsson (eolsson@uci.edu) $LastChangedBy$ $LastChangedDate$ This class attempts to read the portlet.xml file to determine what groups should be available to evaluate against. Each group is a element in the portlet.xml

Constructor Summary
PortletXMLGroupService()
           
 
Method Summary
 List<Role> getAllRoles()
           
 List<Role> getAllRolesFromGroupSet(Set<String> selected)
           
 Set<String> getSetForRoleSelection(RoleSelection roleSel)
           
 void init()
           
 void setServletContext(javax.servlet.ServletContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletXMLGroupService

public PortletXMLGroupService()
Method Detail

init

public void init()

getAllRoles

public List<Role> getAllRoles()
Specified by:
getAllRoles in interface IGroupService

getAllRolesFromGroupSet

public List<Role> getAllRolesFromGroupSet(Set<String> selected)
Specified by:
getAllRolesFromGroupSet in interface IGroupService

getSetForRoleSelection

public Set<String> getSetForRoleSelection(RoleSelection roleSel)
Specified by:
getSetForRoleSelection in interface IGroupService

setServletContext

public void setServletContext(javax.servlet.ServletContext context)
Specified by:
setServletContext in interface org.springframework.web.context.ServletContextAware


Copyright © 2012 Jasig, Inc.. All Rights Reserved.