lumis.service.wsrp.consumer.producermanager
Class ProducerEntityImpl

Package class diagram package ProducerEntityImpl
java.lang.Object
  extended by lumis.service.wsrp.consumer.producermanager.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
See Also:
Serialized Form

Constructor Summary
protected 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 Summary
 Map<String,String> getAllowedUserProfileMapping()
          Currently unsupported
 Map<String,String> getCustomUserProfileMapping()
          Currently unsupported
 int getEntityVersion()
           
 String getId()
           
 String getIdentityPropagationType()
          Currently no identity propagation is not allowed.
 String getLastModified()
          Currently unsupported
 com.sun.portal.wsrp.common.LeaseTime getLifetime()
          Returns the lifetime if this ProducerEntity for the given consumer.
 String getMarkupEndpoint()
           
 String getName()
           
 com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription(String portletId)
          
 List<com.sun.portal.wsrp.common.stubs.v2.ParameterDescription> getPublicParameterDescriptions(String portletId)
          
 Registration getRegistration()
          Returns the registration.
 com.sun.portal.wsrp.common.stubs.v2.RegistrationContext getRegistrationContext()
          Returns the registration context.
 com.sun.portal.wsrp.common.stubs.v2.RegistrationData getRegistrationData()
          Currently unsupported
 com.sun.portal.wsrp.common.stubs.v2.ServiceDescription getServiceDescription()
           
 long getServiceDescriptionLastModified()
           
 com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus getStatus()
           
 URL getURL()
           
 Map<String,String> getUserCategoryMapping()
          Currently unsupported
 com.sun.portal.wsrp.common.WSRPVersion getVersion()
           
 void setId(String id)
           
 void setIdentityPropagationType(String identityPropagationType)
          Currently no identity propagation is not allowed.
 void setMarkupEndpoint(String producerMarkupEndpoint)
           
 void setName(String producerName)
           
 void setRegistrationContext(com.sun.portal.wsrp.common.stubs.v2.RegistrationContext context)
          Sets the registration context.
 void setServiceDescription(String serviceDescription)
           
 void setStatus(com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
           
 void setURL(URL producerURL)
           
 void setVersion(com.sun.portal.wsrp.common.WSRPVersion producerVersion)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.portal.wsrp.consumer.producermanager.ProducerEntity
toString
 

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.



Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.