public interface ProfileUpdater
Modifier and Type | Method and Description |
---|---|
boolean |
createProfile(ProfileTransaction transaction)
Create a new profile.
|
boolean |
deleteProfile(ProfileTransaction transaction)
Delete a profile and all associated objects.
|
ProfileTransaction |
newProfile()
Returns a ProfileTransaction which can be used to create a new profile.
|
boolean |
updateProfile(ProfileTransaction transaction)
This will update all modified profile articles and the
profile owner.
|
boolean updateProfile(ProfileTransaction transaction) throws PersistentStoreException, IllegalOperationException
transaction
- The profile to updatePersistentStoreException
- if something went wrong when committing changes to database or LDAP.IllegalOperationException
- if the update can not be performed.ProfileTransaction newProfile()
boolean createProfile(ProfileTransaction transaction) throws PersistentStoreException, IllegalOperationException
transaction
- Create a new profile with information from transaction.PersistentStoreException
- if something went wrong when committing changes to database or LDAP.IllegalOperationException
- if the update can not be performed.boolean deleteProfile(ProfileTransaction transaction) throws PersistentStoreException, IllegalOperationException
transaction
- The profile to delete.PersistentStoreException
IllegalOperationException
© 1998- 2021 Escenic AS