BEA Systems, Inc.

com.beasys.commerce.foundation
Interface ConfigurableEntityRemote

All Known Subinterfaces:
ContentRemote, DocumentRemote, GroupRemote, UnifiedUser, UserRemote

public interface ConfigurableEntityRemote
extends ConfigurableEntity, Entity

The ConfigurableEntity provides the interface to an Entity that can be configured at runtime by associating properties via name-value pairs. The values are permanently associated with the entity by use of the EntityPropertyManager.

The name to associate the value with is made of an optional scope name and a key. The scope name defines a namespace for keys. Duplicates keys are allowed in different scopes and not specifying the scope name means the default scope.

The Configurable also describes an interface by which Entities can be included in a hierachy of successors. The resulting hierarchy is searched upward when getting Properties and BusinessPolicies. This design pattern models the Chain of Responsibility Pattern (Gamma et al).

Entities that derive from ConfigurableEntity will require that the EntitPropertyManager and SchemaGroupName environment variables be set. The EntityPropertyManager is a stateless session bean that is used to persist the runtime properties. That bean in turn can be configured to persist its properties in a separate set of tables.

See Also:
EntityPropertyManager, ConfigurableEntityImpl, BusinessPolicy

Fields inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
RESERVED_SCOPE_NAME
 
Methods inherited from interface com.beasys.commerce.foundation.ConfigurableEntity
addPropertyValue, addPropertyValueMapped, getPersistableHandle, getProperty, getProperty, getPropertyAsString, getPropertyAsString, getPropertyDefault, getPropertyNoDefault, getSuccessor, getUniqueId, removeProperty, removeProperty, removePropertyValue, removePropertyValueMapped, removeSuccessor, setProperty, setProperty, setSuccessor
 
Methods inherited from interface com.beasys.commerce.foundation.BusinessPolicyManager
addBusinessPolicy, getBusinessPolicy, removeBusinessPolicy
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 
Methods inherited from interface com.beasys.commerce.foundation.RemoteRelationalReference
get__classIdentifier, get__containingBelonging, get__containingEntity, get__mapKey, get__sequenceNumber, set__containingBelonging, set__containingEntity, set__mapKey
 


BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved