Class FunctionHandler

    • Constructor Detail

      • FunctionHandler

        public FunctionHandler()
    • Method Detail

      • getDestination

        public abstract String getDestination​(ClassifiedsSessionController session,
                                              org.silverpeas.core.web.http.HttpRequest request)
                                       throws Exception
        Process the request and returns the response url.
        Parameters:
        request - the user request params
        session - the user request context
        Throws:
        Exception
      • getPublicationTemplate

        protected org.silverpeas.core.contribution.template.publication.PublicationTemplate getPublicationTemplate​(ClassifiedsSessionController classifiedsSC)
                                                                                                            throws org.silverpeas.core.contribution.template.publication.PublicationTemplateException
        Gets the template of the publication based on the classified XML form.
        Parameters:
        classifiedsSC - the session controller.
        Returns:
        the publication template for classifieds.
        Throws:
        org.silverpeas.core.contribution.template.publication.PublicationTemplateException - if an error occurs while getting the publication template.
      • isAnonymousAccess

        protected boolean isAnonymousAccess​(org.silverpeas.core.web.http.HttpRequest request)