Interface GroupProvider


public interface GroupProvider
Provides an interface that defines how a Group (in portal-kernel) associated with a servlet request is stored and retrieved.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.liferay.portal.kernel.model.Group
    getGroup(javax.servlet.http.HttpServletRequest httpServletRequest)
    Returns the Group associated with the request.
    void
    setGroup(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Group group)
    Sets the Group to associate with the request.
  • Method Details

    • getGroup

      com.liferay.portal.kernel.model.Group getGroup(javax.servlet.http.HttpServletRequest httpServletRequest)
      Returns the Group associated with the request.
      Parameters:
      httpServletRequest - the servlet request used to retrieve the group
      Returns:
      the Group associated with the request
    • setGroup

      void setGroup(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.model.Group group)
      Sets the Group to associate with the request.
      Parameters:
      httpServletRequest - the servlet request used to associate the Group
      group - the Group to associate with the request