Class FederatedPortletInvokerService

    • Field Summary

      • Fields inherited from interface org.gatein.pc.api.PortletInvoker

        LOCAL_PORTLET_INVOKER_ID
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.gatein.pc.api.PortletContext createClone​(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext)  
      List<org.gatein.pc.api.state.DestroyCloneFailure> destroyClones​(List<org.gatein.pc.api.PortletContext> portletContexts)  
      org.gatein.pc.api.PortletContext exportPortlet​(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext)  
      FederatingPortletInvoker getFederatingPortletInvoker()  
      String getId()
      Return the invoker id.
      org.gatein.pc.api.Portlet getPortlet​(org.gatein.pc.api.PortletContext compoundPortletContext)  
      org.gatein.pc.api.PortletInvoker getPortletInvoker()
      Return the underlying portlet invoker.
      Set<org.gatein.pc.api.Portlet> getPortlets()  
      org.gatein.pc.api.state.PropertyMap getProperties​(org.gatein.pc.api.PortletContext compoundPortletContext)  
      org.gatein.pc.api.state.PropertyMap getProperties​(org.gatein.pc.api.PortletContext compoundPortletContext, Set<String> keys)  
      org.gatein.pc.api.PortletStatus getStatus​(org.gatein.pc.api.PortletContext portletContext)  
      org.gatein.pc.api.PortletContext importPortlet​(org.gatein.pc.api.PortletStateType stateType, org.gatein.pc.api.PortletContext compoundPortletContext)  
      org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke​(org.gatein.pc.api.invocation.PortletInvocation invocation)  
      boolean isActive()  
      org.gatein.pc.api.PortletContext setProperties​(org.gatein.pc.api.PortletContext compoundPortletContext, org.gatein.pc.api.state.PropertyChange[] changes)  
    • Constructor Detail

      • FederatedPortletInvokerService

        public FederatedPortletInvokerService​(FederatingPortletInvoker federatingPortletInvoker,
                                              String id,
                                              org.gatein.pc.api.PortletInvoker portletInvoker)
    • Method Detail

      • isActive

        public boolean isActive()
        Specified by:
        isActive in interface org.gatein.pc.api.PortletInvoker
      • getPortlets

        public Set<org.gatein.pc.api.Portlet> getPortlets()
                                                   throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        getPortlets in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.PortletInvokerException
      • getPortlet

        public org.gatein.pc.api.Portlet getPortlet​(org.gatein.pc.api.PortletContext compoundPortletContext)
                                             throws IllegalArgumentException,
                                                    org.gatein.pc.api.PortletInvokerException
        Specified by:
        getPortlet in interface org.gatein.pc.api.PortletInvoker
        Throws:
        IllegalArgumentException
        org.gatein.pc.api.PortletInvokerException
      • getStatus

        public org.gatein.pc.api.PortletStatus getStatus​(org.gatein.pc.api.PortletContext portletContext)
                                                  throws IllegalArgumentException,
                                                         org.gatein.pc.api.PortletInvokerException
        Specified by:
        getStatus in interface org.gatein.pc.api.PortletInvoker
        Throws:
        IllegalArgumentException
        org.gatein.pc.api.PortletInvokerException
      • invoke

        public org.gatein.pc.api.invocation.response.PortletInvocationResponse invoke​(org.gatein.pc.api.invocation.PortletInvocation invocation)
                                                                               throws org.gatein.pc.api.invocation.InvocationException,
                                                                                      org.gatein.pc.api.PortletInvokerException
        Specified by:
        invoke in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.invocation.InvocationException
        org.gatein.pc.api.PortletInvokerException
      • createClone

        public org.gatein.pc.api.PortletContext createClone​(org.gatein.pc.api.PortletStateType stateType,
                                                            org.gatein.pc.api.PortletContext compoundPortletContext)
                                                     throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        createClone in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.PortletInvokerException
      • getProperties

        public org.gatein.pc.api.state.PropertyMap getProperties​(org.gatein.pc.api.PortletContext compoundPortletContext)
                                                          throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        getProperties in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.PortletInvokerException
      • exportPortlet

        public org.gatein.pc.api.PortletContext exportPortlet​(org.gatein.pc.api.PortletStateType stateType,
                                                              org.gatein.pc.api.PortletContext compoundPortletContext)
                                                       throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        exportPortlet in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.PortletInvokerException
      • importPortlet

        public org.gatein.pc.api.PortletContext importPortlet​(org.gatein.pc.api.PortletStateType stateType,
                                                              org.gatein.pc.api.PortletContext compoundPortletContext)
                                                       throws org.gatein.pc.api.PortletInvokerException
        Specified by:
        importPortlet in interface org.gatein.pc.api.PortletInvoker
        Throws:
        org.gatein.pc.api.PortletInvokerException