Class CommunityWebRequestContext


  • public class CommunityWebRequestContext
    extends org.silverpeas.core.web.mvc.webcomponent.WebComponentRequestContext<CommunityWebController>
    The execution context of an incoming HTTP request in regard to the application. Any specific treatment related to the incoming requests and to the outgoing responses should be performed here. For example, if you wish to perform some actions before the processing of the request by the Web Component Controller CommunityWebController. Usually, either this class is empty or the WebComponentRequestContext is directly used with the Web Component Controller CommunityWebController.
    • Constructor Detail

      • CommunityWebRequestContext

        public CommunityWebRequestContext()
    • Method Detail

      • adminMustValidateNewMember

        public boolean adminMustValidateNewMember()
      • canValidateNewMember

        public boolean canValidateNewMember()
      • isSpaceHomePage

        public boolean isSpaceHomePage()
      • isAdmin

        public boolean isAdmin()
      • isMember

        public boolean isMember()
      • isMembershipPending

        public boolean isMembershipPending()
      • getUserRoles

        public Collection<org.silverpeas.core.admin.user.model.SilverpeasRole> getUserRoles()
        Overrides:
        getUserRoles in class org.silverpeas.core.web.mvc.webcomponent.WebComponentRequestContext<CommunityWebController>
      • displayNbMembersForNonMembers

        public boolean displayNbMembersForNonMembers()
      • displayCharterOnSpaceHomepage

        public boolean displayCharterOnSpaceHomepage()