lumis.service.wsrp.consumer.producermanager
Class ProducerEntityManagerImpl

Package class diagram package ProducerEntityManagerImpl
java.lang.Object
  extended by com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
      extended by lumis.service.wsrp.consumer.producermanager.ProducerEntityManagerImpl
All Implemented Interfaces:
com.sun.portal.wsrp.consumer.producermanager.impl.ProducerEntityManagerDataStore, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityManager

public class ProducerEntityManagerImpl
extends com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager

Lumis implementation of the ProducerEntityManager interface. Responsible for managing the consumer's ProducerEntity and track the configurations of the remote portlet/service.

Since:
5.5.0

Field Summary
 
Fields inherited from class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
DEFAULT_REGISTRATION_DATA
 
Constructor Summary
ProducerEntityManagerImpl()
           
 
Method Summary
protected  com.sun.portal.wsrp.consumer.producermanager.ProducerEntity createProducerEntity(String producerEntityId, String producerName, URL producerURL, String markupEndpoint, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status, com.sun.portal.wsrp.common.stubs.v2.RegistrationData regData, com.sun.portal.wsrp.common.stubs.v2.RegistrationContext regContext, com.sun.portal.wsrp.common.stubs.v2.ServiceDescription serviceDesc, Map userCategories, Map allowedUserProfiles, Map customUserProfiles, long serviceDescLastModified, String lastModified, int entityVersion, String identityPropagationType, String producerVersion, com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime)
          Creates a new instance of ProducerEntity and return it
 String getConsumerName()
          Currently unsupported
 com.sun.portal.wsrp.common.stubs.v2.RegistrationData getDefaultRegistrationData()
          Currently unsupported
 com.sun.portal.wsrp.consumer.producermanager.ProducerEntity getProducerEntity(String producerEntityId)
           
 Set<String> getProducerEntityIds()
           
 Map<String,String> getStandardUserProfileMapping()
          Currently unsupported
 void init(String portalId, String serviceInstanceId)
           
 boolean isActivated()
           
 void purgeProducerEntity(String producerEntityId)
           
 void setActivated(boolean active)
          Currently unsupported
 void setAllowedUserProfileMapping(String producerEntityId, Map<String,String> allowedUserProfileMap)
          Currently unsupported
 void setConsumerName(String consumerName)
          Currently unsupported
 void setCustomUserProfileMapping(String producerEntityId, Map<String,String> customUserProfileMap)
          Currently unsupported
 void setDefaultRegistrationData(com.sun.portal.wsrp.common.stubs.v2.RegistrationData rd)
          Currently unsupported
 void setIdentityPropagationType(String producerEntityId, String type)
          Currently no identity propagation is not allowed.
 void setName(String producerEntityId, String name)
           
 void setStandardUserProfileMapping(Map<String,String> standardUserProfileMap)
          Currently unsupported
 void setStatus(String producerEntityId, com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
           
 void setUserCategoryMapping(String producerEntityId, Map<String,String> userCategoryMap)
          Currently unsupported
 void storeModifiedRegistration(String producerEntityId, String rdXML, String rcXML)
          Registration is currently not supported.
 void storeProducerEntity(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity pe)
           
 void storeUpdatedServiceDescription(String producerEntityId, String sdXML)
           
 
Methods inherited from class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
addProducerEntity, addProducerEntity, decodeXML, getConsumerAgent, getConsumerObjectFactory, getEndpoints, getMapFromSet, getMapFromString, getRegistrationContextFromXML, getRegistrationContextXMLFromRC, getRegistrationDataFromXML, getRegistrationDataXMLFromRD, getServiceDescription, getServiceDescription, getServiceDescriptionXMLFromSD, getServiceDesctionFromXML, getStringFromMap, getWSRPFactory, isInbandRegistrationSupported, modifyRegistration, removeProducerEntity, updateServiceDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProducerEntityManagerImpl

public ProducerEntityManagerImpl()
Method Detail

getProducerEntity

public com.sun.portal.wsrp.consumer.producermanager.ProducerEntity getProducerEntity(String producerEntityId)
                                                                              throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

getProducerEntityIds

public Set<String> getProducerEntityIds()
                                 throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

init

public void init(String portalId,
                 String serviceInstanceId)
          throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

isActivated

public boolean isActivated()
                    throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setActivated

public void setActivated(boolean active)
                  throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setIdentityPropagationType

public void setIdentityPropagationType(String producerEntityId,
                                       String type)
                                throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently no identity propagation is not allowed. See ProducerEntityImpl.setIdentityPropagationType(String)

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setName

public void setName(String producerEntityId,
                    String name)
             throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setStatus

public void setStatus(String producerEntityId,
                      com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status)
               throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

purgeProducerEntity

public void purgeProducerEntity(String producerEntityId)
                         throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

storeModifiedRegistration

public void storeModifiedRegistration(String producerEntityId,
                                      String rdXML,
                                      String rcXML)
                               throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Registration is currently not supported.

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

storeProducerEntity

public void storeProducerEntity(com.sun.portal.wsrp.consumer.producermanager.ProducerEntity pe)
                         throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

storeUpdatedServiceDescription

public void storeUpdatedServiceDescription(String producerEntityId,
                                           String sdXML)
                                    throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

createProducerEntity

protected com.sun.portal.wsrp.consumer.producermanager.ProducerEntity createProducerEntity(String producerEntityId,
                                                                                           String producerName,
                                                                                           URL producerURL,
                                                                                           String markupEndpoint,
                                                                                           com.sun.portal.wsrp.consumer.producermanager.ProducerEntityStatus status,
                                                                                           com.sun.portal.wsrp.common.stubs.v2.RegistrationData regData,
                                                                                           com.sun.portal.wsrp.common.stubs.v2.RegistrationContext regContext,
                                                                                           com.sun.portal.wsrp.common.stubs.v2.ServiceDescription serviceDesc,
                                                                                           Map userCategories,
                                                                                           Map allowedUserProfiles,
                                                                                           Map customUserProfiles,
                                                                                           long serviceDescLastModified,
                                                                                           String lastModified,
                                                                                           int entityVersion,
                                                                                           String identityPropagationType,
                                                                                           String producerVersion,
                                                                                           com.sun.portal.wsrp.common.stubs.v2.Lifetime lifetime)
                                                                                    throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Creates a new instance of ProducerEntity and return it

Overrides:
createProducerEntity in class com.sun.portal.wsrp.consumer.producermanager.impl.AbstractProducerEntityManager
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

getStandardUserProfileMapping

public Map<String,String> getStandardUserProfileMapping()
                                                 throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Returns:
null
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setAllowedUserProfileMapping

public void setAllowedUserProfileMapping(String producerEntityId,
                                         Map<String,String> allowedUserProfileMap)
                                  throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setCustomUserProfileMapping

public void setCustomUserProfileMapping(String producerEntityId,
                                        Map<String,String> customUserProfileMap)
                                 throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setDefaultRegistrationData

public void setDefaultRegistrationData(com.sun.portal.wsrp.common.stubs.v2.RegistrationData rd)
                                throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setUserCategoryMapping

public void setUserCategoryMapping(String producerEntityId,
                                   Map<String,String> userCategoryMap)
                            throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setStandardUserProfileMapping

public void setStandardUserProfileMapping(Map<String,String> standardUserProfileMap)
                                   throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

getDefaultRegistrationData

public com.sun.portal.wsrp.common.stubs.v2.RegistrationData getDefaultRegistrationData()
                                                                                throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Returns:
null
Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

getConsumerName

public String getConsumerName()
                       throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException

setConsumerName

public void setConsumerName(String consumerName)
                     throws com.sun.portal.wsrp.consumer.common.WSRPConsumerException
Currently unsupported

Throws:
com.sun.portal.wsrp.consumer.common.WSRPConsumerException


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.