|
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 |
@ControlInterface public interface EntityPropertyManager
EntityPropertyManager is the remote interface for a session bean that manages persistence of ConfigurableEntity EJB's and their properties. The default implementation uses the WLPS database as its backing store, other implementations may use other datastores such as an LDAP server.
Each ConfigurableEntity must have an ejb-ref in its deployment descriptor that can be used to identify the correct EntityPropertyManager to use.
This control has been deprecated. Instead, use the ProfileControl to get an instance of the EntityPropertyManager associated with that profile manager, and use the API directly on the EntityPropertyManager.
EntityPropertyManager
,
EntityPropertyCache
,
ConfigurableEntity
,
PropertyLocator
Method Summary | |
---|---|
long |
createUniqueId(String jndiHomeName,
String pkString)
Deprecated with no replacement |
String[] |
getDynamicProperties(PropertyLocator locator,
String pkString)
Deprecated with no replacement |
String[] |
getEntityNames(String anEntityId)
Deprecated with no replacement |
EntityPropertyCache |
getProperties(PropertyLocator locator)
Deprecated Use the ProfileControl to get the user or group profile manager, then call getProperties() on that. For example: ProfileControl.getUserProfileManager().getProperties(profileName, propertySetName) |
Object |
getProperty(PropertyLocator locator,
String propertySet,
String propertyName)
Deprecated Use the ProfileControl to get the user or group profile manager, then call getProperties() on that. For example: ProfileControl.getUserProfileManager().getProperty(profileName, propertySet, propertyName) |
PropertyLocator |
getPropertyLocator(long anEntityId)
Deprecated with no replacement |
long |
getUniqueId(String homeName,
String pkString)
Deprecated with no replacement |
void |
removeEntity(PropertyLocator locator)
Deprecated with no replacement |
void |
removeProperties(PropertyLocator locator)
Deprecated with no replacement |
Object |
removeProperty(PropertyLocator locator,
String propertySet,
String propertyName)
Deprecated Use the ProfileControl to get the user or group profile manager, then call getProperties() on that . For example: ProfileControl.getUserProfileManager().removeProperty(profileName, propertySet, propertyName) |
void |
setProperty(PropertyLocator locator,
String propertySet,
String propertyName,
Object value)
Deprecated Use the ProfileControl to get the user or group profile manager, then call setProperty() on that. For example: ProfileControl.getUserProfileManager().setProperty(profileName, propertySet, propertyName, value) |
Method Detail |
---|
long createUniqueId(String jndiHomeName, String pkString) throws P13nControlException
jndiHomeName
- the entity's home namepkString
- the entity's identifier string
P13nControlException
- if there is an error creating the new Configurable
Entity.String[] getDynamicProperties(PropertyLocator locator, String pkString) throws P13nControlException
Dynamic properties could exist if the property set definition has been changed to remove a property but the given entity still has a value for this property. They could also exist if the entity has properties that were set using the property set name as the scope, but the property set definition does not contain the properties.
If the given property set name is null then this method returns the property names that were set for this entity using null for the property set name.
locator
- a PropertyLocator identifying the entity to look uppropertySet
- the propertySet to look up
P13nControlException
- if the Entity cannot be foundString[] getEntityNames(String anEntityId) throws P13nControlException
anEntityId
- the unique id for the entity to look up
P13nControlException
- if database errors occur while attempting the
queryEntityPropertyCache getProperties(PropertyLocator locator) throws P13nControlException
locator
- a PropertyLocator that identifies the entity
P13nControlException
- if the entity is not foundObject getProperty(PropertyLocator locator, String propertySet, String propertyName) throws P13nControlException
If the property does not have a value persisted, then null is returned.
locator
- a PropertyLocator identifying the entity to look uppropertySet
- the name of the property setpropertyName
- the name of the property
P13nControlException
- if the Entity cannot be foundPropertyLocator getPropertyLocator(long anEntityId) throws P13nControlException
anEntityId
- the unique id for the entity to look up
P13nControlException
- if the Entity cannot be foundlong getUniqueId(String homeName, String pkString) throws P13nControlException
If the entity is not found, -1 will be returned.
homeName
- the entity's JNDI home namepkString
- the entity's string identifier
P13nControlException
- if the Entity cannot be foundvoid removeEntity(PropertyLocator locator) throws P13nControlException
locator
- the PropertyLocator identifying the entity to remove
P13nControlException
- if the Entity cannot be foundvoid removeProperties(PropertyLocator locator) throws P13nControlException
locator
- a PropertyLocator identifying the entity to modify
P13nControlException
- if the Entity cannot be foundObject removeProperty(PropertyLocator locator, String propertySet, String propertyName) throws P13nControlException
locator
- a PropertyLocator identifying the entity to modifypropertySet
- the property set containing the property to removepropertyName
- the name of the property to remove
P13nControlException
- if the Entity cannot be foundvoid setProperty(PropertyLocator locator, String propertySet, String propertyName, Object value) throws P13nControlException
locator
- a PropertyLocator identifying the entity to modifypropertySet
- the property set containing the property to modifypropertyName
- the name of the property to modifyvalue
- the value to persist for the given property and entity
P13nControlException
- if the entity cannot be found, or if
the value is not valid for the given property
|
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 |