Examples of SetPortletsLifetime


Examples of org.oasis.wsrp.v2.SetPortletsLifetime

      @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
   {
      SetPortletsLifetime setPortletsLifetime = WSRPTypeFactory.createSetPortletsLifetime(registrationContext, portletContext, userContext, lifetime);

      final SetPortletsLifetimeResponse setPortletsLifetimeResponse = producer.setPortletsLifetime(setPortletsLifetime);

      updatedPortlet.value = setPortletsLifetimeResponse.getUpdatedPortlet();
      failedPortlets.value = setPortletsLifetimeResponse.getFailedPortlets();
View Full Code Here

Examples of org.oasis.wsrp.v2.SetPortletsLifetime

   public static SetPortletsLifetime createSetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Lifetime lifetime)
   {
      if (ParameterValidation.existsAndIsNotEmpty(portletContext))
      {
         final SetPortletsLifetime setPortletsLifetime = new SetPortletsLifetime();
         setPortletsLifetime.setRegistrationContext(registrationContext);
         setPortletsLifetime.setUserContext(userContext);
         setPortletsLifetime.setLifetime(lifetime);
         return setPortletsLifetime;
      }

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

Examples of org.oasis.wsrp.v2.SetPortletsLifetime

      @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
   {
      SetPortletsLifetime setPortletsLifetime = WSRPTypeFactory.createSetPortletsLifetime(registrationContext, portletContext, userContext, lifetime);

      final SetPortletsLifetimeResponse setPortletsLifetimeResponse = producer.setPortletsLifetime(setPortletsLifetime);

      updatedPortlet.value = setPortletsLifetimeResponse.getUpdatedPortlet();
      failedPortlets.value = setPortletsLifetimeResponse.getFailedPortlets();
View Full Code Here

Examples of org.oasis.wsrp.v2.SetPortletsLifetime

   public static SetPortletsLifetime createSetPortletsLifetime(RegistrationContext registrationContext, List<PortletContext> portletContext, UserContext userContext, Lifetime lifetime)
   {
      if (ParameterValidation.existsAndIsNotEmpty(portletContext))
      {
         final SetPortletsLifetime setPortletsLifetime = new SetPortletsLifetime();
         setPortletsLifetime.setRegistrationContext(registrationContext);
         setPortletsLifetime.setUserContext(userContext);
         setPortletsLifetime.setLifetime(lifetime);
         return setPortletsLifetime;
      }

      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.