|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.foundation.AbstractConfigurableEntity
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 |
public AbstractConfigurableEntity()
Method Detail |
public java.lang.Object getProperty(java.lang.String theScopeName, java.lang.String theKey, ConfigurableEntity theSuccessor, java.lang.Object theDefaultValue) throws java.lang.UnsupportedOperationException
getProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public void addPropertyValue(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject) throws java.lang.UnsupportedOperationException
addPropertyValue
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public void addPropertyValueMapped(java.lang.String aString, java.lang.String aString2, java.lang.String aString3, java.lang.Object anObject) throws java.lang.UnsupportedOperationException
addPropertyValueMapped
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public PersistableHandle getPersistableHandle() throws java.lang.UnsupportedOperationException
getPersistableHandle
in interface ConfigurableEntity
public java.lang.Object getProperty(java.lang.String aKey, java.lang.Object aDefault) throws java.lang.UnsupportedOperationException
getProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public java.lang.String getPropertyAsString(java.lang.String aString, java.lang.String aString2) throws java.lang.UnsupportedOperationException
getPropertyAsString
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
key
- The name of the property to retrieve.defaultValue
- The String to return if that property is not set.ConfigurableEntity.getProperty(String key, Object defaultValue)
public java.lang.String getPropertyAsString(java.lang.String aString, java.lang.String aString2, ConfigurableEntity entity, java.lang.String aString3) throws java.lang.UnsupportedOperationException
getPropertyAsString
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.ConfigurableEntity.getProperty(String scopeName, String key, ConfigurableEntity successor, Object defaultValue)
public java.lang.Object getPropertyDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor) throws java.lang.UnsupportedOperationException
getPropertyDefault
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public java.lang.Object getPropertyNoDefault(java.lang.String scopeName, java.lang.String key, ConfigurableEntity successor) throws java.lang.UnsupportedOperationException
getPropertyNoDefault
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public ConfigurableEntity getSuccessor(java.lang.String aString) throws java.lang.UnsupportedOperationException
getSuccessor
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
scopeName
- The name of the scope.public long getUniqueId() throws java.lang.UnsupportedOperationException
getUniqueId
in interface ConfigurableEntity
public java.lang.Object removeProperty(java.lang.String aString) throws java.lang.UnsupportedOperationException
removeProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
key
- The name of the property to remove.public java.lang.Object removeProperty(java.lang.String aString, java.lang.String aString2) throws java.lang.UnsupportedOperationException
removeProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
scopeName
- The name of the scope.key
- The name of the property to remove.public java.lang.Object removePropertyValue(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject) throws java.lang.UnsupportedOperationException
removePropertyValue
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public java.lang.Object removePropertyValueMapped(java.lang.String aString, java.lang.String aString2, java.lang.String aString3) throws java.lang.UnsupportedOperationException
removePropertyValueMapped
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
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.public ConfigurableEntity removeSuccessor(java.lang.String str) throws java.lang.UnsupportedOperationException
removeSuccessor
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
scopeName
- The name of the scope.public void setProperty(java.lang.String aString, java.lang.Object anObject) throws java.lang.UnsupportedOperationException
setProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
name
- The name to associate the value with.value
- The value to associate with the name.public void setProperty(java.lang.String aString, java.lang.String aString2, java.lang.Object anObject) throws java.lang.UnsupportedOperationException
setProperty
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
scopeName
- The name of the scope.name
- The name to associate the value with.value
- The value to associate with the name.public void setSuccessor(java.lang.String aString, ConfigurableEntity entity) throws java.lang.UnsupportedOperationException
setSuccessor
in interface ConfigurableEntity
com.beasys.commerce.foundation.ConfigurableEntity
scopeName
- The name of the scope.successor
- The scope-level successor used during the
search of a property.public void addBusinessPolicy(java.lang.String aString, BusinessPolicy aPolicy) throws java.lang.UnsupportedOperationException
addBusinessPolicy
in interface BusinessPolicyManager
public BusinessPolicy getBusinessPolicy(java.lang.String aString) throws java.lang.UnsupportedOperationException
getBusinessPolicy
in interface BusinessPolicyManager
public BusinessPolicy removeBusinessPolicy(java.lang.String aString) throws java.lang.UnsupportedOperationException
removeBusinessPolicy
in interface BusinessPolicyManager
|
© 2001 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |