BEA Systems, Inc.

com.beasys.commerce.axiom.p13n.http
Class HttpConfigurableEntity

java.lang.Object
  |
  +--com.beasys.commerce.axiom.p13n.http.HttpConfigurableEntity
Direct Known Subclasses:
LocalProfile, LocalProfileBean, Request, Session

public abstract class HttpConfigurableEntity
extends java.lang.Object
implements ConfigurableEntity

A default implementation for Http Request and Http Session objects mimick a ConfigurableEntity.


Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Constructor Summary
HttpConfigurableEntity()
           
 
Method Summary
 void addBusinessPolicy(java.lang.String aString, BusinessPolicy aPolicy)
          This method is not supported.
 void addPropertyValue(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject)
          This method is not supported.
 void addPropertyValueMapped(java.lang.String aString, java.lang.String aString2, java.lang.String aString3, java.lang.Object anObject)
          This method is not supported.
 java.lang.String get__classIdentifier()
          This method is not supported.
 Belonging get__containingBelonging()
          This method is not supported.
 javax.ejb.EJBObject get__containingEntity()
          This method is not supported.
 java.lang.Object get__mapKey()
          This method is not supported.
 java.lang.Long get__sequenceNumber()
          This method is not supported.
 BusinessPolicy getBusinessPolicy(java.lang.String aString)
          This method is not supported.
protected  java.lang.Object getDefaultValueFromSchema(java.lang.String scopeName, java.lang.String schemaGroupName, java.lang.String propertyName)
           
 javax.ejb.EJBHome getEJBHome()
          This method is not supported.
 javax.ejb.Handle getHandle()
          This method is not supported.
 PersistableHandle getPersistableHandle()
          This method is not supported.
 java.lang.Object getPrimaryKey()
          This method is not supported.
 java.lang.Object getProperty(java.lang.String aKey, java.lang.Object aDefault)
          This method is not supported.
abstract  java.lang.Object getProperty(java.lang.String aScopeName, java.lang.String aKey, ConfigurableEntity successor, java.lang.Object aDefault)
          Retrieves a property value.
 java.lang.String getPropertyAsString(java.lang.String aString, java.lang.String aString2)
          This method is not supported.
 java.lang.String getPropertyAsString(java.lang.String aString, java.lang.String aString2, ConfigurableEntity entity, java.lang.String aString3)
          This method is not supported.
 java.lang.Object getPropertyDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor)
          This method is not supported.
 java.lang.Object getPropertyNoDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor)
          This method is not supported.
 ConfigurableEntity getSuccessor(java.lang.String aString)
          This method is not supported.
 long getUniqueId()
          This method is not supported.
 boolean isIdentical(javax.ejb.EJBObject ob)
          This method is not supported.
 void remove()
          This method is not supported.
 BusinessPolicy removeBusinessPolicy(java.lang.String aString)
          This method is not supported.
 java.lang.Object removeProperty(java.lang.String aString)
          This method is not supported.
 java.lang.Object removeProperty(java.lang.String aString, java.lang.String aString2)
          This method is not supported.
 java.lang.Object removePropertyValue(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject)
          This method is not supported.
 java.lang.Object removePropertyValueMapped(java.lang.String aString, java.lang.String aString2, java.lang.String aString3)
          This method is not supported.
 ConfigurableEntity removeSuccessor(java.lang.String str)
          This method is not supported.
 void set__containingBelonging(Belonging aBelonging)
          This method is not supported.
 void set__containingEntity(javax.ejb.EJBObject ob)
          This method is not supported.
 void set__mapKey(java.lang.Object anObject)
          This method is not supported.
 void setProperty(java.lang.String aString, java.lang.Object anObject)
          This method is not supported.
 void setProperty(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject)
          This method is not supported.
 void setSuccessor(java.lang.String aString, ConfigurableEntity entity)
          This method is not supported.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpConfigurableEntity

public HttpConfigurableEntity()
Method Detail

getProperty

public abstract java.lang.Object getProperty(java.lang.String aScopeName,
                                             java.lang.String aKey,
                                             ConfigurableEntity successor,
                                             java.lang.Object aDefault)
Retrieves a property value.
Specified by:
getProperty in interface ConfigurableEntity
Parameters:
scopeName - The name of the scope for which the property is sought. The scope is only used if no property is found in the request and we use the scope to look up the default value in the Schema for the request. This parameter can be null.
key - The property name
successor - The successor. Must be null. It is not used in this method and will be ignored.
defaultValue - the default value to return if the property is not found anywhere.
Returns:
the property value

getDefaultValueFromSchema

protected final java.lang.Object getDefaultValueFromSchema(java.lang.String scopeName,
                                                           java.lang.String schemaGroupName,
                                                           java.lang.String propertyName)
                                                    throws AdvisorException

addBusinessPolicy

public final void addBusinessPolicy(java.lang.String aString,
                                    BusinessPolicy aPolicy)
                             throws java.lang.UnsupportedOperationException
This method is not supported.

addPropertyValue

public final void addPropertyValue(java.lang.String aString,
                                   java.lang.String aString2,
                                   java.lang.Object anObject)
                            throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
addPropertyValue in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name to associate the collection of values with.
propertyValue - The value to associate with the key and scope.

addPropertyValueMapped

public final void addPropertyValueMapped(java.lang.String aString,
                                         java.lang.String aString2,
                                         java.lang.String aString3,
                                         java.lang.Object anObject)
                                  throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
addPropertyValueMapped in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
propertykey - The name to associate the map object with.
mappedkey - The map key to associate the value in the map.
propertyValue - The value put in the map for the map key.

getBusinessPolicy

public final BusinessPolicy getBusinessPolicy(java.lang.String aString)
                                       throws java.lang.UnsupportedOperationException
This method is not supported.

getEJBHome

public final javax.ejb.EJBHome getEJBHome()
                                   throws java.lang.UnsupportedOperationException
This method is not supported.

getHandle

public final javax.ejb.Handle getHandle()
                                 throws java.lang.UnsupportedOperationException
This method is not supported.

getPersistableHandle

public final PersistableHandle getPersistableHandle()
                                             throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getPersistableHandle in interface ConfigurableEntity

getPrimaryKey

public final java.lang.Object getPrimaryKey()
                                     throws java.lang.UnsupportedOperationException
This method is not supported.

getProperty

public java.lang.Object getProperty(java.lang.String aKey,
                                    java.lang.Object aDefault)
                             throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getProperty in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
key - The name of the property to retrieve.
defaultValue - The value to return if that property is not set and there is not default value found in the Schema.

getPropertyAsString

public java.lang.String getPropertyAsString(java.lang.String aString,
                                            java.lang.String aString2)
                                     throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getPropertyAsString in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
key - The name of the property to retrieve.
defaultValue - The String to return if that property is not set.
See Also:
ConfigurableEntity.getProperty(String key, Object defaultValue)

getPropertyAsString

public java.lang.String getPropertyAsString(java.lang.String aString,
                                            java.lang.String aString2,
                                            ConfigurableEntity entity,
                                            java.lang.String aString3)
                                     throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getPropertyAsString in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property to retrieve.
successor - The explicit successor to use for sucessor hiearchy search if the entity does not have the property defined.
defaultValue - The String to return if that property is not set.
See Also:
ConfigurableEntity.getProperty(String scopeName, String key, ConfigurableEntity successor, Object defaultValue)

getPropertyDefault

public java.lang.Object getPropertyDefault(java.lang.String scopeName,
                                           java.lang.String key,
                                           ConfigurableEntity successor)
                                    throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getPropertyDefault in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property to retrieve.
successor - The explicit successor to use for sucessor hiearchy search if the entity does not have the property defined.

getPropertyNoDefault

public java.lang.Object getPropertyNoDefault(java.lang.String scopeName,
                                             java.lang.String key,
                                             ConfigurableEntity successor)
                                      throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getPropertyNoDefault in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property to retrieve.
successor - The explicit successor to use for sucessor hiearchy search if the entity does not have the property defined.

getSuccessor

public final ConfigurableEntity getSuccessor(java.lang.String aString)
                                      throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getSuccessor in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.

getUniqueId

public long getUniqueId()
                 throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getUniqueId in interface ConfigurableEntity

get__classIdentifier

public final java.lang.String get__classIdentifier()
                                            throws java.lang.UnsupportedOperationException
This method is not supported.

get__containingEntity

public final javax.ejb.EJBObject get__containingEntity()
                                                throws java.lang.UnsupportedOperationException
This method is not supported.

get__mapKey

public final java.lang.Object get__mapKey()
                                   throws java.lang.UnsupportedOperationException
This method is not supported.

isIdentical

public final boolean isIdentical(javax.ejb.EJBObject ob)
                          throws java.lang.UnsupportedOperationException
This method is not supported.

remove

public final void remove()
                  throws java.lang.UnsupportedOperationException
This method is not supported.

removeBusinessPolicy

public final BusinessPolicy removeBusinessPolicy(java.lang.String aString)
                                          throws java.lang.UnsupportedOperationException
This method is not supported.

removeProperty

public java.lang.Object removeProperty(java.lang.String aString)
                                throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removeProperty in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
key - The name of the property to remove.

removeProperty

public java.lang.Object removeProperty(java.lang.String aString,
                                       java.lang.String aString2)
                                throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removeProperty in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property to remove.

removePropertyValue

public final java.lang.Object removePropertyValue(java.lang.String aString,
                                                  java.lang.String aString2,
                                                  java.lang.Object anObject)
                                           throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removePropertyValue in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property that is associated with the collection of values.
propertyValue - The object to remove from the collection.

removePropertyValueMapped

public final java.lang.Object removePropertyValueMapped(java.lang.String aString,
                                                        java.lang.String aString2,
                                                        java.lang.String aString3)
                                                 throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removePropertyValueMapped in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
propertykey - The name of the property that is associated with the map.
propertyValue - The map key of the object to remove from the map.

setProperty

public void setProperty(java.lang.String aString,
                        java.lang.Object anObject)
                 throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
setProperty in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
name - The name to associate the value with.
value - The value to associate with the name.

setProperty

public void setProperty(java.lang.String aString,
                        java.lang.String aString2,
                        java.lang.Object anObject)
                 throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
setProperty in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
name - The name to associate the value with.
value - The value to associate with the name.

setSuccessor

public final void setSuccessor(java.lang.String aString,
                               ConfigurableEntity entity)
                        throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
setSuccessor in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.
successor - The scope-level successor used during the search of a property.

set__containingEntity

public final void set__containingEntity(javax.ejb.EJBObject ob)
                                 throws java.lang.UnsupportedOperationException
This method is not supported.

set__mapKey

public final void set__mapKey(java.lang.Object anObject)
                       throws java.lang.UnsupportedOperationException
This method is not supported.

set__containingBelonging

public final void set__containingBelonging(Belonging aBelonging)
                                    throws java.lang.UnsupportedOperationException
This method is not supported.

get__containingBelonging

public final Belonging get__containingBelonging()
                                         throws java.lang.UnsupportedOperationException
This method is not supported.

get__sequenceNumber

public final java.lang.Long get__sequenceNumber()
                                         throws java.lang.UnsupportedOperationException
This method is not supported.

removeSuccessor

public final ConfigurableEntity removeSuccessor(java.lang.String str)
                                         throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removeSuccessor in interface ConfigurableEntity
Tags copied from interface: ConfigurableEntity
Parameters:
scopeName - The name of the scope.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved