@Component public abstract class GeneralNotifier extends BaseHandler
Modifier and Type | Field and Description |
---|---|
protected static List<ItemPath> |
auxiliaryPaths |
protected NotificationManager |
notificationManager |
protected NotificationsUtil |
notificationsUtil |
protected TextFormatter |
textFormatter |
expressionFactory, prismContext
Constructor and Description |
---|
GeneralNotifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendModifications(StringBuilder body,
ObjectDelta<? extends ObjectType> delta,
List<ItemPath> hiddenPaths,
Boolean showValuesBoolean) |
protected boolean |
checkApplicability(Event event,
GeneralNotifierType generalNotifierType,
OperationResult result) |
protected boolean |
deltaContainsOtherPathsThan(ObjectDelta<? extends ObjectType> delta,
List<ItemPath> paths) |
protected String |
getBody(Event event,
GeneralNotifierType generalNotifierType,
String transport,
OperationResult result) |
protected String |
getBodyFromExpression(Event event,
GeneralNotifierType generalNotifierType,
Map<QName,Object> variables,
OperationResult result) |
protected UserType |
getDefaultRecipient(Event event,
GeneralNotifierType generalNotifierType,
OperationResult result) |
protected Trace |
getLogger() |
protected List<String> |
getRecipientsAddresses(Event event,
GeneralNotifierType generalNotifierType,
Map<QName,Object> variables,
UserType defaultRecipient,
String transportName,
Transport transport,
OperationResult result) |
protected String |
getSubject(Event event,
GeneralNotifierType generalNotifierType,
String transport,
OperationResult result) |
protected String |
getSubjectFromExpression(Event event,
GeneralNotifierType generalNotifierType,
Map<QName,Object> variables,
OperationResult result) |
void |
init() |
protected boolean |
isWatchAuxiliaryAttributes(GeneralNotifierType generalNotifierType) |
boolean |
processEvent(Event event,
EventHandlerType eventHandlerType,
NotificationManager notificationManager,
OperationResult result) |
protected boolean |
quickCheckApplicability(Event event,
GeneralNotifierType generalNotifierType,
OperationResult result) |
evaluateBooleanExpression, evaluateBooleanExpressionChecked, evaluateExpressionChecked, getDefaultVariables, logEnd, logStart, logStart, register
@Autowired protected NotificationManager notificationManager
@Autowired protected NotificationsUtil notificationsUtil
@Autowired protected TextFormatter textFormatter
@PostConstruct public void init()
public boolean processEvent(Event event, EventHandlerType eventHandlerType, NotificationManager notificationManager, OperationResult result) throws SchemaException
SchemaException
protected boolean quickCheckApplicability(Event event, GeneralNotifierType generalNotifierType, OperationResult result)
protected boolean checkApplicability(Event event, GeneralNotifierType generalNotifierType, OperationResult result)
protected String getSubject(Event event, GeneralNotifierType generalNotifierType, String transport, OperationResult result)
protected String getBody(Event event, GeneralNotifierType generalNotifierType, String transport, OperationResult result) throws SchemaException
SchemaException
protected UserType getDefaultRecipient(Event event, GeneralNotifierType generalNotifierType, OperationResult result)
protected Trace getLogger()
protected List<String> getRecipientsAddresses(Event event, GeneralNotifierType generalNotifierType, Map<QName,Object> variables, UserType defaultRecipient, String transportName, Transport transport, OperationResult result)
protected String getSubjectFromExpression(Event event, GeneralNotifierType generalNotifierType, Map<QName,Object> variables, OperationResult result)
protected String getBodyFromExpression(Event event, GeneralNotifierType generalNotifierType, Map<QName,Object> variables, OperationResult result)
protected boolean deltaContainsOtherPathsThan(ObjectDelta<? extends ObjectType> delta, List<ItemPath> paths)
protected boolean isWatchAuxiliaryAttributes(GeneralNotifierType generalNotifierType)
protected void appendModifications(StringBuilder body, ObjectDelta<? extends ObjectType> delta, List<ItemPath> hiddenPaths, Boolean showValuesBoolean)
Copyright © 2013 evolveum. All rights reserved.