Class ServiceControllerBase


  • public class ServiceControllerBase
    extends java.lang.Object
    Common part for idp and standard service controllers
    Author:
    P.Piernik
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceControllerBase​(pl.edu.icm.unity.MessageSource msg, pl.edu.icm.unity.engine.api.EndpointManagement endpointMan, pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.webui.console.services.ServiceControllerBaseInt> controllersRegistry)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deploy​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)  
      MainServiceEditor getEditor​(pl.edu.icm.unity.webui.console.services.ServiceDefinition toEdit, pl.edu.icm.unity.webui.console.services.ServiceEditorComponent.ServiceEditorTab initTab, pl.edu.icm.unity.webui.common.webElements.SubViewSwitcher subViewSwitcher)  
      pl.edu.icm.unity.webui.console.services.ServiceDefinition getService​(java.lang.String name)  
      java.util.List<pl.edu.icm.unity.webui.console.services.ServiceDefinition> getServices()  
      void remove​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)  
      void undeploy​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)  
      void update​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceControllerBase

        public ServiceControllerBase​(pl.edu.icm.unity.MessageSource msg,
                                     pl.edu.icm.unity.engine.api.EndpointManagement endpointMan,
                                     pl.edu.icm.unity.engine.api.utils.TypesRegistryBase<? extends pl.edu.icm.unity.webui.console.services.ServiceControllerBaseInt> controllersRegistry)
    • Method Detail

      • getServices

        public java.util.List<pl.edu.icm.unity.webui.console.services.ServiceDefinition> getServices()
                                                                                              throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • undeploy

        public void undeploy​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)
                      throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • deploy

        public void deploy​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)
                    throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • update

        public void update​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)
                    throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • getService

        public pl.edu.icm.unity.webui.console.services.ServiceDefinition getService​(java.lang.String name)
                                                                             throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • remove

        public void remove​(pl.edu.icm.unity.webui.console.services.ServiceDefinition service)
                    throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException
      • getEditor

        public MainServiceEditor getEditor​(pl.edu.icm.unity.webui.console.services.ServiceDefinition toEdit,
                                           pl.edu.icm.unity.webui.console.services.ServiceEditorComponent.ServiceEditorTab initTab,
                                           pl.edu.icm.unity.webui.common.webElements.SubViewSwitcher subViewSwitcher)
                                    throws pl.edu.icm.unity.webui.exceptions.ControllerException
        Throws:
        pl.edu.icm.unity.webui.exceptions.ControllerException