Class ProducerEntityImpl

  • All Implemented Interfaces:
    com.sun.portal.wsrp.consumer.producermanager.ProducerEntity, java.io.Serializable

    public class ProducerEntityImpl
    extends java.lang.Object
    implements com.sun.portal.wsrp.consumer.producermanager.ProducerEntity, java.io.Serializable
    Lumis implementation of the ProducerEntity interface. Responsible for mapping the remote service being consumed.
    Since:
    5.5.0
    Version:
    $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ProducerEntityImpl()  
      protected ProducerEntityImpl​(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext, java.lang.String producerEntityId, java.lang.String producerName, java.net.URL producerURL, com.sun.portal.wsrp.common.WSRPVersion producerVersion, java.lang.String markupEndpoint, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status, java.lang.String serviceDescription, long serviceDescLastModified)  
    • Constructor Detail

      • ProducerEntityImpl

        protected ProducerEntityImpl()
      • ProducerEntityImpl

        protected ProducerEntityImpl​(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext registrationContext,
                                     java.lang.String producerEntityId,
                                     java.lang.String producerName,
                                     java.net.URL producerURL,
                                     com.sun.portal.wsrp.common.WSRPVersion producerVersion,
                                     java.lang.String markupEndpoint,
                                     com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status,
                                     java.lang.String serviceDescription,
                                     long serviceDescLastModified)
    • Method Detail

      • getId

        public java.lang.String getId()
        Specified by:
        getId in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getMarkupEndpoint

        public java.lang.String getMarkupEndpoint()
        Specified by:
        getMarkupEndpoint in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getPortletDescription

        public com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription​(java.lang.String portletId)
        Specified by:
        getPortletDescription in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Throws:
        java.lang.IllegalArgumentException - if there is no portlet registered with the id passed.
      • getPublicParameterDescriptions

        public java.util.List<com.sun.portal.wsrp.common.stubs.v2.ParameterDescription> getPublicParameterDescriptions​(java.lang.String portletId)
        Specified by:
        getPublicParameterDescriptions in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Throws:
        java.lang.IllegalArgumentException - if there is no portlet registered with the id passed.
      • getServiceDescription

        public com.sun.portal.wsrp.common.stubs.v2.ServiceDescription getServiceDescription()
        Specified by:
        getServiceDescription in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getServiceDescriptionLastModified

        public long getServiceDescriptionLastModified()
        Specified by:
        getServiceDescriptionLastModified in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getStatus

        public com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus getStatus()
        Specified by:
        getStatus in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getURL

        public java.net.URL getURL()
        Specified by:
        getURL in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getVersion

        public com.sun.portal.wsrp.common.WSRPVersion getVersion()
        Specified by:
        getVersion in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getRegistration

        public Registration getRegistration()
        Returns the registration.
        Returns:
        an instance of Registration.
      • getRegistrationContext

        public com.sun.portal.wsrp.common.stubs.v2.RegistrationContext getRegistrationContext()
        Returns the registration context.
        Specified by:
        getRegistrationContext in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        an instance of RegistrationContext.
      • setId

        public void setId​(java.lang.String id)
      • setMarkupEndpoint

        public void setMarkupEndpoint​(java.lang.String producerMarkupEndpoint)
      • setName

        public void setName​(java.lang.String producerName)
      • setServiceDescription

        public void setServiceDescription​(java.lang.String serviceDescription)
      • setStatus

        public void setStatus​(com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
      • setURL

        public void setURL​(java.net.URL producerURL)
      • setVersion

        public void setVersion​(com.sun.portal.wsrp.common.WSRPVersion producerVersion)
      • setRegistrationContext

        public void setRegistrationContext​(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext context)
        Sets the registration context.
        Parameters:
        context - an instance of RegistrationContext.
      • getEntityVersion

        public int getEntityVersion()
        Specified by:
        getEntityVersion in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
      • getLifetime

        public com.sun.portal.wsrp.common.LeaseTime getLifetime()
        Returns the lifetime if this ProducerEntity for the given consumer.
        Specified by:
        getLifetime in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        LeaseTime of the producerEntity.
      • getUserCategoryMapping

        public java.util.Map<java.lang.String,​java.lang.String> getUserCategoryMapping()
        Currently unsupported
        Specified by:
        getUserCategoryMapping in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getAllowedUserProfileMapping

        public java.util.Map<java.lang.String,​java.lang.String> getAllowedUserProfileMapping()
        Currently unsupported
        Specified by:
        getAllowedUserProfileMapping in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getCustomUserProfileMapping

        public java.util.Map<java.lang.String,​java.lang.String> getCustomUserProfileMapping()
        Currently unsupported
        Specified by:
        getCustomUserProfileMapping in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getRegistrationData

        public com.sun.portal.wsrp.common.stubs.v2.RegistrationData getRegistrationData()
        Currently unsupported
        Specified by:
        getRegistrationData in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getLastModified

        public java.lang.String getLastModified()
        Currently unsupported
        Specified by:
        getLastModified in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getIdentityPropagationType

        public java.lang.String getIdentityPropagationType()
        Currently no identity propagation is not allowed. Always returns com.sun.portal.wsrp.identity.none. For further details see ProducerEntity.getIdentityPropagationType() .
        Specified by:
        getIdentityPropagationType in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        com.sun.portal.wsrp.identity.none
      • setIdentityPropagationType

        public void setIdentityPropagationType​(java.lang.String identityPropagationType)
        Currently no identity propagation is not allowed.