public Set<Portlet> getPortlets() throws PortletInvokerException { return portletInvoker.getPortlets(); }
protected PortletInvocationResponse invoke(PortletInvocation invocation) throws PortletInvokerException { return portletInvoker.invoke(invocation); }
public Portlet getPortlet(PortletContext compoundPortletContext) throws IllegalArgumentException, PortletInvokerException { PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext); return federated.getPortlet(compoundPortletContext); }
public PropertyMap getProperties(PortletContext compoundPortletContext, Set<String> keys) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException { PortletContext portletId = dereference(compoundPortletContext); return portletInvoker.getProperties(portletId, keys); }
public PortletContext exportPortlet(PortletStateType stateType, PortletContext originalPortletContext) throws PortletInvokerException, IllegalArgumentException { return safeGetNext().exportPortlet(stateType, originalPortletContext); }
public PortletStatus getStatus(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException { return safeGetNext().getStatus(portletContext); }
public PortletContext createClone(PortletStateType stateType, PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException { return safeGetNext().createClone(stateType, portletContext); }
public List<DestroyCloneFailure> destroyClones(List<PortletContext> portletContexts) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException { return safeGetNext().destroyClones(portletContexts); }
public PropertyMap getProperties(PortletContext compoundPortletContext) throws PortletInvokerException { PortletContext portletId = dereference(compoundPortletContext); return portletInvoker.getProperties(portletId); }
public PortletContext exportPortlet(PortletStateType stateType, PortletContext compoundPortletContext) throws PortletInvokerException { PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext); return federated.exportPortlet(stateType, compoundPortletContext); }
public PortletStatus getStatus(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException { PortletContext context = dereference(portletContext); return portletInvoker.getStatus(context); }
public PortletContext createClone(PortletStateType stateType, PortletContext compoundPortletContext) throws PortletInvokerException { PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext); return federated.createClone(stateType, compoundPortletContext); }
public List<DestroyCloneFailure> destroyClones(List<PortletContext> portletContexts) throws IllegalArgumentException, PortletInvokerException, UnsupportedOperationException { if (portletContexts == null) { throw new IllegalArgumentException("No null list accepted"); } if (portletContexts.size() == 0) { return Collections.emptyList(); } // Get the invoker and check that we address only one invoker (for now) PortletInvoker invoker = null; for (PortletContext compoundPortletContext : portletContexts) { PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext); if (invoker == null) { invoker = federated; } else if (!invoker.equals(federated)) { throw new PortletInvokerException("Cannot destroy portlet lists that requires more than one federated invoker"); } } // return invoker.destroyClones(portletContexts); }
public Collection<Portlet> getPortlets() throws PortletInvokerException { return portletInvoker.getPortlets(); }
public PortletInvocationResponse invoke(PortletInvocation invocation) throws PortletInvokerException { return invoker.invoke(invocation); }
public Portlet getPortlet(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException { return safeGetNext().getPortlet(portletContext); }
public PropertyMap getProperties(PortletContext compoundPortletContext, Set<String> keys) throws PortletInvokerException { PortletInvoker federated = getFederatedPortletInvokerFor(compoundPortletContext); return federated.getProperties(compoundPortletContext, keys); }
public PortletContext exportPortlet(PortletStateType stateType, PortletContext compoundPortletContext) throws PortletInvokerException { PortletContext portletContext = dereference(compoundPortletContext); portletContext = portletInvoker.exportPortlet(stateType, portletContext); return reference(portletContext); }
public PortletStatus getStatus(PortletContext portletContext) throws IllegalArgumentException, PortletInvokerException { PortletInvoker federated = getFederatedPortletInvokerFor(portletContext); return federated.getStatus(portletContext); }
public PortletContext createClone(PortletStateType stateType, PortletContext compoundPortletContext) throws PortletInvokerException { PortletContext portletContext = dereference(compoundPortletContext); PortletContext cloneContext = portletInvoker.createClone(stateType, portletContext); return reference(cloneContext); }