Class ProducerEntityImpl

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

    public class ProducerEntityImpl
    extends Object
    implements com.sun.portal.wsrp.consumer.producermanager.ProducerEntity, 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 Detail

      • ProducerEntityImpl

        protected ProducerEntityImpl()
      • ProducerEntityImpl

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

      • getId

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

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

        public 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​(String portletId)
        Specified by:
        getPortletDescription in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Throws:
        IllegalArgumentException - if there is no portlet registered with the id passed.
      • getPublicParameterDescriptions

        public List<com.sun.portal.wsrp.common.stubs.v2.ParameterDescription> getPublicParameterDescriptions​(String portletId)
        Specified by:
        getPublicParameterDescriptions in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Throws:
        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 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​(String id)
      • setMarkupEndpoint

        public void setMarkupEndpoint​(String producerMarkupEndpoint)
      • setName

        public void setName​(String producerName)
      • setServiceDescription

        public void setServiceDescription​(String serviceDescription)
      • setStatus

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

        public void setURL​(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 Map<String,​String> getUserCategoryMapping()
        Currently unsupported
        Specified by:
        getUserCategoryMapping in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getAllowedUserProfileMapping

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

        public Map<String,​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 String getLastModified()
        Currently unsupported
        Specified by:
        getLastModified in interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
        Returns:
        null
      • getIdentityPropagationType

        public 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​(String identityPropagationType)
        Currently no identity propagation is not allowed.