|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.property.AbstractConfigurableEntity com.bea.p13n.property.AbstractHierarchicalEntity
public abstract class AbstractHierarchicalEntity
Lightweight implementation of HierarchicalEntity. Like AbstractConfigurableEntity, this does not provide any persistence for property values, and does not use property sets to validate property values or retrieve default property values. It provides successor functionality by storing references to its successor objects, rather than using the id's like the EJB implementation does. Any lightweight objects that require HierarchicalEntity functionality should extend this class.
Field Summary |
---|
Fields inherited from class com.bea.p13n.property.AbstractConfigurableEntity |
---|
CE_METHOD_CACHE, instanceClass, PREFIX_GET, PREFIX_SET, propertyCache, textFormatter |
Fields inherited from interface com.bea.p13n.property.HierarchicalEntity |
---|
SUCCESSOR |
Fields inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
RESERVED_PROPERTY_SET |
Constructor Summary | |
---|---|
AbstractHierarchicalEntity()
|
Method Summary | |
---|---|
protected Object |
getImplicitProperty(String propertySet,
String propertyName)
Override ConfigurableEntity.getImplicitProperty to do a successor search if the property was not found in this entity |
protected Object |
getImplicitProperty(String propertySet,
String propertyName,
ConfigurableEntity explicitSuccessor)
|
Object |
getProperty(String propertySet,
String propertyName,
ConfigurableEntity successor)
Retrieve the value associated with the named key in the specified property set. |
String |
getPropertyAsString(String propertySet,
String propertyName,
ConfigurableEntity successor)
Convenience method to return the property as a String. |
Object |
getPropertyNoDefault(String propertySet,
String propertyName,
ConfigurableEntity successor)
Retrieve the value associated with the property in the specified property set, but does not return a default value from the property's PropertyDefinition if the property does not exist for the entity or in the hierarchy of successors. |
ConfigurableEntity |
getSuccessor(String propertySet)
Retrieve the successor for the specified property set. |
void |
removeSuccessor(String propertySet)
Remove the successor for the specified propertySet. |
void |
setSuccessor(String propertySet,
ConfigurableEntity successor)
This sets the successor for this object. |
Methods inherited from class com.bea.p13n.property.AbstractConfigurableEntity |
---|
createMapKey, getCachedProperty, getExplicitProperty, getExplicitSetter, getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyCache, getPropertyNoDefault, getUniqueId, hasExplicitGetter, hasExplicitSetter, removeExplicitProperty, removeProperty, setExplicitProperty, setProperty, upcaseFirst |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.bea.p13n.property.ConfigurableEntity |
---|
getJndiName, getPkString, getProperty, getPropertyAsString, getPropertyNoDefault, getUniqueId, removeProperty, setProperty |
Constructor Detail |
---|
public AbstractHierarchicalEntity()
Method Detail |
---|
public Object getProperty(String propertySet, String propertyName, ConfigurableEntity successor) throws RemoteException
getProperty
in interface HierarchicalEntity
propertySet
- The name of the property setpropertyName
- 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.
RemoteException
public String getPropertyAsString(String propertySet, String propertyName, ConfigurableEntity successor) throws RemoteException
getPropertyAsString
in interface HierarchicalEntity
propertySet
- The name of the property setpropertyName
- 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.
RemoteException
public Object getPropertyNoDefault(String propertySet, String propertyName, ConfigurableEntity successor) throws RemoteException
getPropertyNoDefault
in interface HierarchicalEntity
propertySet
- The name of the property setpropertyName
- 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.
RemoteException
protected Object getImplicitProperty(String propertySet, String propertyName) throws RemoteException
getImplicitProperty
in class AbstractConfigurableEntity
propertySet
- The name of the property setpropertyName
- The name of the property to retrieve.
RemoteException
protected Object getImplicitProperty(String propertySet, String propertyName, ConfigurableEntity explicitSuccessor) throws RemoteException
RemoteException
public ConfigurableEntity getSuccessor(String propertySet) throws RemoteException
getSuccessor
in interface HierarchicalEntity
propertySet
- The name of the property set
RemoteException
public void removeSuccessor(String propertySet) throws RemoteException
removeSuccessor
in interface HierarchicalEntity
propertySet
- The name of the property set
RemoteException
public void setSuccessor(String propertySet, ConfigurableEntity successor) throws RemoteException
setSuccessor
in interface HierarchicalEntity
successor
- propertySet
- The name of the property set
RemoteException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |