Class VREDefinitionServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, VREDefinitionService

    public class VREDefinitionServiceImpl
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    implements VREDefinitionService
    The VREDefinitionServiceImpl class.
    Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String defaultUserId  
      • Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        perThreadRequest, perThreadResponse
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      String getDevelopmentUser()
      when packaging test will fail if the user is not set to test.user
      ArrayList<Functionality> getFunctionality​(boolean isEdit)
      Request the vre functionalities to show (the returned object is a tree like structure that could be navigated)
      Map<String,​Serializable> getVRE()
      When the portlet starts, this method is invoked in order to return 1) vre managers for the current VO 2) the current designer (that is the current user) 3) a VREDefinitionBean that will be filled somehow by the designer
      void init()  
      boolean setVRE​(VREDescriptionBean bean, ArrayList<Functionality> functionalities)
      Create a VRE with the definition information included into the description bean and with the functionalities set into the functionalities array list
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        checkPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class javax.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
    • Constructor Detail

      • VREDefinitionServiceImpl

        public VREDefinitionServiceImpl()
    • Method Detail

      • init

        public void init()
        Overrides:
        init in class javax.servlet.GenericServlet
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class javax.servlet.GenericServlet
      • getDevelopmentUser

        public String getDevelopmentUser()
        when packaging test will fail if the user is not set to test.user
        Returns:
        .
      • getVRE

        public Map<String,​Serializable> getVRE()
        When the portlet starts, this method is invoked in order to return 1) vre managers for the current VO 2) the current designer (that is the current user) 3) a VREDefinitionBean that will be filled somehow by the designer
        Specified by:
        getVRE in interface VREDefinitionService
        Returns:
        an hashmap with a VREDefinitionBean object, a vre designer and some vre managers (if any).