|
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
public abstract class AbstractUserPropertyMapper
The base mapper class which provides methods to map the folowing:
propertySetName.propertyName
. Value is inside of quotes (")propertySetName.propertyName
. Value is propertySetName.propertyName
propertySetName.*
. Value is propertySetName.*
.It is expected (but not required) that implemetors of mappers will subclass directly or via DefaultUserProperyMapper
DefaultUserPropertyMapper
Constructor Summary | |
---|---|
AbstractUserPropertyMapper() |
Method Summary | |
---|---|
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, boolean value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Boolean value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Collection<?> value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Date value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, double value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, long value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Number value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Object value) Add a user property to the specified collection. |
protected void |
addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, String value) Add a user property to the specified collection. |
protected Object |
getProperty(EntityPropertyCache profile, String propertySetName, String propertyName) Get the property's value from profile. |
protected boolean |
isPropertySetMapping(String consumerName, String producerName) Returns true if this a mapping of a consumer's property set to a producer's property set. |
protected void |
mapProperty(RequiredUserProperties requiredProperties, EntityPropertyCache profile, Collection<UserProperty> properties, String consumerName, String producerName) Map a single property set manager from the consumer to the producer. |
protected void |
mapPropertySet(RequiredUserProperties requiredProperties, EntityPropertyCache profile, Collection<UserProperty> properties, String consumerPropertySetName, String producerPropertySetName) Map an entire property set manager from the consumer to the producer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.wsrp.consumer.userproperty.UserPropertyMapper |
---|
mapProperties |
Constructor Detail |
---|
public AbstractUserPropertyMapper()
Method Detail |
---|
protected boolean isPropertySetMapping(String consumerName, String producerName)
Returns true if this a mapping of a consumer's property set to a producer's property set.
consumerName
- the map's consumer side nameproducerName
- the map's producer side nameprotected void mapProperty(RequiredUserProperties requiredProperties, EntityPropertyCache profile, Collection<UserProperty> properties, String consumerName, String producerName) throws NumberFormatException, ParseException
Map a single property set manager from the consumer to the producer.
requiredProperties
- to check if the property is requiredprofile
- the User's Profile to get values fromproperties
- the collection of property to send to the producer (to add to)consumerName
- The name/value of the property on the consumerproducerName
- The name of the property on the producerParseException
NumberFormatException
protected Object getProperty(EntityPropertyCache profile, String propertySetName, String propertyName)
Get the property's value from profile.
profile
- the user's profilepropertySetName
- the property set's namepropertyName
- the property's nameprotected void mapPropertySet(RequiredUserProperties requiredProperties, EntityPropertyCache profile, Collection<UserProperty> properties, String consumerPropertySetName, String producerPropertySetName)
Map an entire property set manager from the consumer to the producer.
requiredProperties
- to check if the property is requiredprofile
- the User's Profile to get values fromproperties
- the collection of property to send to the producer (to add to)consumerPropertySetName
- The name of the property set on the consumerproducerPropertySetName
- The name of the property set on the producerprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, String value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, long value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, double value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, boolean value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Number value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Boolean value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Date value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Collection<?> value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's valueprotected void addUserProperty(Collection<UserProperty> properties, String propertySetName, String propertyName, Object value)
Add a user property to the specified collection.
properties
- The collection of properties to add topropertySetName
- the added property's set namepropertyName
- the added property's namevalue
- the added property's value
|
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.