|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.wsrp.consumer.userproperty.AbstractUserPropertyMapper
com.bea.wsrp.consumer.userproperty.DefaultUserPropertyMapper
public class DefaultUserPropertyMapper
The default mapper which can map the folowing:
propertySetName.propertyName. Value is inside of quotes (")propertySetName.propertyName. Value is propertySetName.propertyNamepropertySetName.*. Value is propertySetName.*.You may overide this class to do default mapping and then perform your own custom mapping.
| Constructor Summary | |
|---|---|
DefaultUserPropertyMapper() |
|
| Method Summary | |
|---|---|
Collection<UserProperty> |
mapProperties(RequiredUserProperties requiredProperties, Map<String,String> map, EntityPropertyCache profile)Map the consumer's properties (profile) to the producer's (return). |
| Methods inherited from class com.bea.wsrp.consumer.userproperty.AbstractUserPropertyMapper |
|---|
addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, addUserProperty, getProperty, isPropertySetMapping, mapProperty, mapPropertySet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultUserPropertyMapper()
| Method Detail |
|---|
public Collection<UserProperty> mapProperties(RequiredUserProperties requiredProperties,
Map<String,String> map,
EntityPropertyCache profile)
Map the consumer's properties (profile) to the producer's (return).
Generally the map will be as follows:
However if you extend this class, you may use whatever format strings your mapper understands. If you wish to perform default mapping for some properties and custom mapping for others: Override this method call Collection<UserProperty> properties = super.getProducerPropertiesProperties(requiredProperties, map, profile) The call addUserPropery(properties, propertySetName, propertyName, value) as needed.
requiredProperties - the properties requested by the producermap - A map where the key is the producer's name and the value is the consumer's nameprofile - the User's profile on the consumer
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.