Package lumis.service.wsrp.producer
Class WSRPProducerUtils
- java.lang.Object
-
- lumis.service.wsrp.common.WSRPUtils
-
- lumis.service.wsrp.producer.WSRPProducerUtils
-
public class WSRPProducerUtils extends WSRPUtils
WSRP Producer utility class.- Since:
- 6.0.0
- Version:
- $Revision: 16824 $ $Date: 2015-01-23 18:49:12 -0200 (Fri, 23 Jan 2015) $
-
-
Field Summary
-
Fields inherited from class lumis.service.wsrp.common.WSRPUtils
MILISSECONDS_IN_A_DAY, WSRP_PORTLET_MODES, WSRP_WINDOWS_STATES
-
-
Constructor Summary
Constructors Constructor Description WSRPProducerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
validate(com.sun.portal.wsrp.producer.Producer producer, String portletHandle)
Validate if the portletHandle is valid for a certain producer.-
Methods inherited from class lumis.service.wsrp.common.WSRPUtils
convertLeasetimeToLifetime, convertLifetimeToLeaseTime, dateFromXMLGregorianCalendar, fromXMLGregorianCalendar, getMapFromString, join, lifetimeTerminationTimeFromDate, lifetimeTerminationTimeToDate, toXMLGregorianCalendar, toXMLGregorianCalendar
-
-
-
-
Method Detail
-
validate
public static void validate(com.sun.portal.wsrp.producer.Producer producer, String portletHandle) throws com.sun.portal.wsrp.common.stubs.v2.AccessDenied, com.sun.portal.wsrp.producer.ProducerException
Validate if the portletHandle is valid for a certain producer.- Parameters:
producer
- to validate the registrationHandle on.portletHandle
- to be validated.- Throws:
com.sun.portal.wsrp.common.stubs.v2.AccessDenied
- if the handle is not associated to the producer.com.sun.portal.wsrp.producer.ProducerException
- is there is a problem during the process.
-
-