© 2001 BEA Systems, Inc.

com.beasys.commerce.foundation
Class AbstractConfigurableEntity

java.lang.Object
  |
  +--com.beasys.commerce.foundation.AbstractConfigurableEntity
All Implemented Interfaces:
BusinessPolicyManager, ConfigurableEntity
Direct Known Subclasses:
Event

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

Abstract implementation of ConfigurableEntity for classes that need to mimic partial ConfigurableEntity behavior (usually getProperty). All methods throw UnsupportedOperationException, but can be overriden.


Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Constructor Summary
AbstractConfigurableEntity()
           
 
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.
 BusinessPolicy getBusinessPolicy(java.lang.String aString)
          This method is not supported.
 PersistableHandle getPersistableHandle()
          This method is not supported.
 java.lang.Object getProperty(java.lang.String aKey, java.lang.Object aDefault)
          This method is not supported.
 java.lang.Object getProperty(java.lang.String theScopeName, java.lang.String theKey, ConfigurableEntity theSuccessor, java.lang.Object theDefaultValue)
          This method is not supported.
 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.
 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 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

AbstractConfigurableEntity

public AbstractConfigurableEntity()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String theScopeName,
                                    java.lang.String theKey,
                                    ConfigurableEntity theSuccessor,
                                    java.lang.Object theDefaultValue)
                             throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getProperty in interface ConfigurableEntity
Following copied from interface: com.beasys.commerce.foundation.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 value to return if that property is not set.

addPropertyValue

public 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
Following copied from interface: com.beasys.commerce.foundation.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 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
Following copied from interface: com.beasys.commerce.foundation.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.

getPersistableHandle

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

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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.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 ConfigurableEntity getSuccessor(java.lang.String aString)
                                throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getSuccessor in interface ConfigurableEntity
Following copied from interface: com.beasys.commerce.foundation.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

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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.ConfigurableEntity
Parameters:
scopeName - The name of the scope.
key - The name of the property to remove.

removePropertyValue

public 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
Following copied from interface: com.beasys.commerce.foundation.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 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
Following copied from interface: com.beasys.commerce.foundation.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.

removeSuccessor

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

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
Following copied from interface: com.beasys.commerce.foundation.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
Following copied from interface: com.beasys.commerce.foundation.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 void setSuccessor(java.lang.String aString,
                         ConfigurableEntity entity)
                  throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
setSuccessor in interface ConfigurableEntity
Following copied from interface: com.beasys.commerce.foundation.ConfigurableEntity
Parameters:
scopeName - The name of the scope.
successor - The scope-level successor used during the search of a property.

addBusinessPolicy

public void addBusinessPolicy(java.lang.String aString,
                              BusinessPolicy aPolicy)
                       throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
addBusinessPolicy in interface BusinessPolicyManager

getBusinessPolicy

public BusinessPolicy getBusinessPolicy(java.lang.String aString)
                                 throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
getBusinessPolicy in interface BusinessPolicyManager

removeBusinessPolicy

public BusinessPolicy removeBusinessPolicy(java.lang.String aString)
                                    throws java.lang.UnsupportedOperationException
This method is not supported.
Specified by:
removeBusinessPolicy in interface BusinessPolicyManager

© 2001 BEA Systems, Inc.

Copyright © 2001 BEA Systems, Inc. All Rights Reserved