Class ProducerEntityImpl
- java.lang.Object
-
- 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
- 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, 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getAllowedUserProfileMapping()
Currently unsupportedMap<String,String>
getCustomUserProfileMapping()
Currently unsupportedint
getEntityVersion()
String
getId()
String
getIdentityPropagationType()
Currently no identity propagation is not allowed.String
getLastModified()
Currently unsupportedcom.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 unsupportedcom.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 unsupportedcom.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)
-
-
-
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 interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getMarkupEndpoint
public String getMarkupEndpoint()
- Specified by:
getMarkupEndpoint
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getName
public String getName()
- Specified by:
getName
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getPortletDescription
public com.sun.portal.wsrp.common.stubs.v2.PortletDescription getPortletDescription(String portletId)
- Specified by:
getPortletDescription
in interfacecom.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 interfacecom.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 interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getServiceDescriptionLastModified
public long getServiceDescriptionLastModified()
- Specified by:
getServiceDescriptionLastModified
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getStatus
public com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus getStatus()
- Specified by:
getStatus
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getURL
public URL getURL()
- Specified by:
getURL
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
-
getVersion
public com.sun.portal.wsrp.common.WSRPVersion getVersion()
- Specified by:
getVersion
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- LeaseTime of the producerEntity.
-
getUserCategoryMapping
public Map<String,String> getUserCategoryMapping()
Currently unsupported- Specified by:
getUserCategoryMapping
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getAllowedUserProfileMapping
public Map<String,String> getAllowedUserProfileMapping()
Currently unsupported- Specified by:
getAllowedUserProfileMapping
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getCustomUserProfileMapping
public Map<String,String> getCustomUserProfileMapping()
Currently unsupported- Specified by:
getCustomUserProfileMapping
in interfacecom.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 interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getLastModified
public String getLastModified()
Currently unsupported- Specified by:
getLastModified
in interfacecom.sun.portal.wsrp.consumer.producermanager.ProducerEntity
- Returns:
- null
-
getIdentityPropagationType
public String getIdentityPropagationType()
Currently no identity propagation is not allowed. Always returnscom.sun.portal.wsrp.identity.none
. For further details seeProducerEntity.getIdentityPropagationType()
.- Specified by:
getIdentityPropagationType
in interfacecom.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.
-
-