Control
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.
Related Topics
EntityPropertyManager
EntityPropertyCache
ConfigurableEntity
PropertyLocator
Control
, Control
, Serializable
Method Summary |
public long |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public long |
|
public void |
|
public void |
|
public |
|
public void |
|
Method Detail |
DEPRECATED with no replacement
public long createUniqueId(Create a record for a new ConfigurableEntity, as identified by the given jndiHomeName and pkString.String
jndiHomeName,String
pkString)
throwsP13nControlException
P13nControlException
DEPRECATED with no replacement
publicReturns a list of dynamically assigned properties for the given entity, that have been named with the given property set name. Dynamic properties are properties that have values persisted, and may even have a property set name, but are not actually defined in a property set.String
[] getDynamicProperties(PropertyLocator
locator,String
pkString)
throwsP13nControlException
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.
P13nControlException
DEPRECATED with no replacement
publicGet the PropertyLocator for the entity identified by the given entity idString
[] getEntityNames(String
anEntityId)
throwsP13nControlException
P13nControlException
DEPRECATED Use the ProfileControl to get the user or group profile manager, then call getProperties() on that. For example: ProfileControl.getUserProfileManager().getProperties(profileName, propertySetName)
publicReturns an EntityPropertyCache full of all properties that are persisted for the given ConfigurableEntityEntityPropertyCache
getProperties(PropertyLocator
locator)
throwsP13nControlException
P13nControlException
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)
publicReturns the value of the property defined for the specified property and property set.Object
getProperty(PropertyLocator
locator,String
propertySet,String
propertyName)
throwsP13nControlException
If the property does not have a value persisted, then null is returned.
P13nControlException
DEPRECATED with no replacement
publicGet the PropertyLocator for the entity identified by the given entity idPropertyLocator
getPropertyLocator(long anEntityId)
throwsP13nControlException
P13nControlException
DEPRECATED with no replacement
public long getUniqueId(Returns the number that uniquely identifies the entity specified by the home name and the pk string.String
homeName,String
pkString)
throwsP13nControlException
If the entity is not found, -1 will be returned.
P13nControlException
DEPRECATED with no replacement
public void removeEntity(Remove all properties, and the entity record, for the entity identified by the given property locatorPropertyLocator
locator)
throwsP13nControlException
P13nControlException
DEPRECATED with no replacement
public void removeProperties(Removes all property values associated with the entity specified by the property locator.scopePropertyLocator
locator)
throwsP13nControlException
P13nControlException
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)
publicRemoves a specific property value from the entity specified by the property locator.Object
removeProperty(PropertyLocator
locator,String
propertySet,String
propertyName)
throwsP13nControlException
P13nControlException
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)
public void setProperty(Sets the property identified by the given property set and property name to the given value for the entity specified by the given property locator.PropertyLocator
locator,String
propertySet,String
propertyName,Object
value)
throwsP13nControlException
P13nControlException