Examples of GetPortletsLifetime


Examples of org.oasis.wsrp.v2.GetPortletsLifetime

      @WebParam(name = "failedPortlets", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<List<FailedPortlets>> failedPortlets,
      @WebParam(name = "resourceList", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<ResourceList> resourceList,
      @WebParam(name = "extensions", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<List<Extension>> extensions
   ) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
   {
      GetPortletsLifetime getPortletsLifetime = WSRPTypeFactory.createGetPortletsLifetime(registrationContext, portletContext, userContext);

      final GetPortletsLifetimeResponse response = producer.getPortletsLifetime(getPortletsLifetime);

      portletLifetime.value = response.getPortletLifetime();
      failedPortlets.value = response.getFailedPortlets();
View Full Code Here

Examples of org.oasis.wsrp.v2.GetPortletsLifetime

   public static GetPortletsLifetime createGetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext)
   {
      if (ParameterValidation.existsAndIsNotEmpty(portletContext))
      {
         final GetPortletsLifetime getPortletsLifetime = new GetPortletsLifetime();
         getPortletsLifetime.setRegistrationContext(registrationContext);
         getPortletsLifetime.setUserContext(userContext);
         return getPortletsLifetime;
      }

      throw new IllegalArgumentException("List of portlet contexts must not be null or empty");
   }
View Full Code Here

Examples of org.oasis.wsrp.v2.GetPortletsLifetime

      @WebParam(name = "failedPortlets", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<List<FailedPortlets>> failedPortlets,
      @WebParam(name = "resourceList", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<ResourceList> resourceList,
      @WebParam(name = "extensions", targetNamespace = "urn:oasis:names:tc:wsrp:v2:types", mode = WebParam.Mode.OUT) Holder<List<Extension>> extensions
   ) throws AccessDenied, InconsistentParameters, InvalidHandle, InvalidRegistration, ModifyRegistrationRequired, OperationFailed, OperationNotSupported, ResourceSuspended
   {
      GetPortletsLifetime getPortletsLifetime = WSRPTypeFactory.createGetPortletsLifetime(registrationContext, portletContext, userContext);

      final GetPortletsLifetimeResponse response = producer.getPortletsLifetime(getPortletsLifetime);

      portletLifetime.value = response.getPortletLifetime();
      failedPortlets.value = response.getFailedPortlets();
View Full Code Here

Examples of org.oasis.wsrp.v2.GetPortletsLifetime

   public static GetPortletsLifetime createGetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext)
   {
      if (ParameterValidation.existsAndIsNotEmpty(portletContext))
      {
         final GetPortletsLifetime getPortletsLifetime = new GetPortletsLifetime();
         getPortletsLifetime.setRegistrationContext(registrationContext);
         getPortletsLifetime.setUserContext(userContext);
         return getPortletsLifetime;
      }

      throw new IllegalArgumentException("List of portlet contexts must not be null or empty");
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.