public class ObjectProfileEntity
extends java.lang.Object
| Constructor and Description |
|---|
ObjectProfileEntity(ObjectProfile profile)
Constructs an ObjectProfileEntity with a value object.
|
| Modifier and Type | Method and Description |
|---|---|
DistinguishedName |
getDistinguishedName()
Returns the distinguished name of the profile.
|
ObjectProfile |
getProfile()
Returns the ObjectProfile value object for this entity.
|
void |
remove()
Removes the entity from the data store.
|
void |
update()
Updates the ObjectProfile in the data store with the given
ObjectProfile value object with recorded changes.
|
void |
update(ObjectProfile profile)
Deprecated.
use update()
|
public ObjectProfileEntity(ObjectProfile profile)
profile - ObjectProfile object holding the attributes of the profile.public DistinguishedName getDistinguishedName()
public ObjectProfile getProfile()
public void update(ObjectProfile profile) throws ObjectNotFoundException, ModelCommunicationException
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to a data integrity
problem, or the entity may have been removed by another
client.public void update()
throws ObjectNotFoundException,
ModelCommunicationException
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to a data integrity
problem, or the entity may have been removed by another
client.public void remove()
throws ModelCommunicationException,
ModelRemoveException,
ObjectNotFoundException
ModelCommunicationException - Thrown if unable to communicate
with the data store.ObjectNotFoundException - Thrown if unable to locate the
entity in the data store. This may be due to a data integrity
problem, or the entity may have already been removed by
another client.ModelRemoveException - Thrown if unable to remove the entity
of the data store.