Uses of Class
org.gatein.pc.api.PortletContext
Packages that use PortletContext
-
Uses of PortletContext in org.gatein.pc.api
Subclasses of PortletContext in org.gatein.pc.apiFields in org.gatein.pc.api declared as PortletContextMethods in org.gatein.pc.api that return PortletContextModifier and TypeMethodDescriptionPortletInvoker.createClone(PortletStateType stateType, PortletContext portletContext) Clone a portlet.static PortletContextPortletContext.createPortletContext(String portletId) Creates a PortletContext by interpreting the specified identifier and breaking it down to its components.static PortletContextPortletContext.createPortletContext(String portletId, boolean interpret) static PortletContextPortletContext.createPortletContext(String id, byte[] state) Deprecated.static PortletContextPortletContext.createPortletContext(String portletId, byte[] state, boolean interpret) static PortletContextPortletContext.createPortletContext(String applicationName, String portletName) Creates a new PortletContext referencing the specified portlet in the specified application (usually a web application).static PortletContextPortletContext.dereference(PortletContext compoundPortletContext) PortletInvoker.exportPortlet(PortletStateType stateType, PortletContext originalPortletContext) Exports a portlet from the invoker which can be used to recreate this portlet during an import portlet operation The returned portlet Id will be the portlet Id of the base portlet, not a cloned portlet Id If the portlet contains state, it will be returned regardless if the portlet invoker is set to persist state locally.Portlet.getContext()Return the portlet context.StateEvent.getPortletContext()PortletInvoker.importPortlet(PortletStateType stateType, PortletContext contextToImport) Imports a portlet into the invoker.static PortletContextPortletContext.reference(String invokerId, PortletContext portletContext) PortletInvoker.setProperties(PortletContext portletContext, PropertyChange[] changes) Set the properties on the specified portlet.Methods in org.gatein.pc.api with parameters of type PortletContextModifier and TypeMethodDescriptionPortletInvoker.createClone(PortletStateType stateType, PortletContext portletContext) Clone a portlet.static PortletContextPortletContext.dereference(PortletContext compoundPortletContext) PortletInvoker.exportPortlet(PortletStateType stateType, PortletContext originalPortletContext) Exports a portlet from the invoker which can be used to recreate this portlet during an import portlet operation The returned portlet Id will be the portlet Id of the base portlet, not a cloned portlet Id If the portlet contains state, it will be returned regardless if the portlet invoker is set to persist state locally.PortletInvoker.getPortlet(PortletContext portletContext) Get information about a specific portlet.PortletInvoker.getProperties(PortletContext portletContext) Return all the properties of the specified portlet.PortletInvoker.getProperties(PortletContext portletContext, Set<String> keys) Return a subset of the properties of the specified portlet.PortletInvoker.getStatus(PortletContext portletContext) Returns the status of a specified#PortletContextor null if the portlet context does not have a relationship with this portlet invoker.PortletInvoker.importPortlet(PortletStateType stateType, PortletContext contextToImport) Imports a portlet into the invoker.static PortletContextPortletContext.reference(String invokerId, PortletContext portletContext) PortletInvoker.setProperties(PortletContext portletContext, PropertyChange[] changes) Set the properties on the specified portlet.Method parameters in org.gatein.pc.api with type arguments of type PortletContextModifier and TypeMethodDescriptionPortletInvoker.destroyClones(List<PortletContext> portletContexts) Destroy a cloned portlet.Constructors in org.gatein.pc.api with parameters of type PortletContext -
Uses of PortletContext in org.gatein.pc.api.invocation
Fields in org.gatein.pc.api.invocation declared as PortletContextModifier and TypeFieldDescriptionprotected PortletContextPortletInvocation.targetThe target portlet.Methods in org.gatein.pc.api.invocation that return PortletContextMethods in org.gatein.pc.api.invocation with parameters of type PortletContext