public class ProfileAssignmentStorageObserver extends Object implements Serviceable, Observer
| Modifier and Type | Field and Description |
|---|---|
private ProfileAssignmentStorageExtensionPoint |
_profileAssignmentStorageEP |
MAX_PRIORITY, MIN_PRIORITY| Constructor and Description |
|---|
ProfileAssignmentStorageObserver() |
| Modifier and Type | Method and Description |
|---|---|
private void |
_onGroupRemoved(Event event) |
private void |
_onProfileRemoved(Event event) |
private void |
_onUserRemoved(Event event) |
int |
getPriority(Event event)
Retrieves the priority to observe this event.
This can be used to process a supported event before others observers. |
void |
observe(Event event,
Map<String,Object> transientVars)
Observes an event.
|
void |
service(ServiceManager manager) |
boolean |
supports(Event event)
Checks if the event is supported.
|
private ProfileAssignmentStorageExtensionPoint _profileAssignmentStorageEP
public ProfileAssignmentStorageObserver()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic boolean supports(Event event)
Observerpublic int getPriority(Event event)
ObservergetPriority in interface Observerevent - the event.public void observe(Event event, Map<String,Object> transientVars) throws Exception
Observerobserve in interface Observerevent - the event.transientVars - transientVars passed from one Observer to another when processing a single Event.
This may allow optimizations between observers.Exception - if an error occurs.
All exceptions will be logged but not propagated, as the observation mechanism should never fail.private void _onProfileRemoved(Event event)
private void _onUserRemoved(Event event)
private void _onGroupRemoved(Event event)