@Component public class GeneralNotifier extends BaseHandler
Modifier and Type | Field and Description |
---|---|
protected AggregatedEventHandler |
aggregatedEventHandler |
protected NotificationManager |
notificationManager |
protected NotificationFuctionsImpl |
notificationsUtil |
protected TextFormatter |
textFormatter |
expressionFactory, prismContext
Constructor and Description |
---|
GeneralNotifier() |
Modifier and Type | Method and Description |
---|---|
protected void |
appendModifications(StringBuilder body,
ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> delta,
List<ItemPath> hiddenPaths,
Boolean showValuesBoolean) |
protected boolean |
checkApplicability(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
OperationResult result) |
protected boolean |
deltaContainsOtherPathsThan(ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> delta,
List<ItemPath> paths) |
String |
formatRequester(Event event,
OperationResult result) |
protected String |
getBody(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
String transport,
Task task,
OperationResult result) |
protected String |
getBodyFromExpression(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
ExpressionVariables variables,
Task task,
OperationResult result) |
protected com.evolveum.midpoint.xml.ns._public.common.common_3.UserType |
getDefaultRecipient(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
OperationResult result) |
protected ExpressionVariables |
getDefaultVariables(Event event,
OperationResult result) |
protected Trace |
getLogger() |
protected List<String> |
getRecipientsAddresses(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
ExpressionVariables variables,
com.evolveum.midpoint.xml.ns._public.common.common_3.UserType defaultRecipient,
String transportName,
Transport transport,
Task task,
OperationResult result) |
protected String |
getSubject(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
String transport,
Task task,
OperationResult result) |
protected String |
getSubjectFromExpression(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
ExpressionVariables variables,
Task task,
OperationResult result) |
void |
init() |
protected boolean |
isWatchAuxiliaryAttributes(com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType) |
boolean |
processEvent(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.EventHandlerType eventHandlerType,
NotificationManager notificationManager,
Task task,
OperationResult parentResult) |
protected boolean |
quickCheckApplicability(Event event,
com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType,
OperationResult result) |
evaluateBooleanExpression, evaluateBooleanExpressionChecked, evaluateExpressionChecked, logEnd, logStart, logStart, register, staticLogStart
@Autowired protected NotificationManager notificationManager
@Autowired protected NotificationFuctionsImpl notificationsUtil
@Autowired protected TextFormatter textFormatter
@Autowired protected AggregatedEventHandler aggregatedEventHandler
@PostConstruct public void init()
public boolean processEvent(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.EventHandlerType eventHandlerType, NotificationManager notificationManager, Task task, OperationResult parentResult) throws SchemaException
SchemaException
protected boolean quickCheckApplicability(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, OperationResult result)
protected boolean checkApplicability(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, OperationResult result)
protected String getSubject(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, String transport, Task task, OperationResult result)
protected String getBody(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, String transport, Task task, OperationResult result) throws SchemaException
SchemaException
protected com.evolveum.midpoint.xml.ns._public.common.common_3.UserType getDefaultRecipient(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, OperationResult result)
protected Trace getLogger()
protected List<String> getRecipientsAddresses(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, ExpressionVariables variables, com.evolveum.midpoint.xml.ns._public.common.common_3.UserType defaultRecipient, String transportName, Transport transport, Task task, OperationResult result)
protected String getSubjectFromExpression(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, ExpressionVariables variables, Task task, OperationResult result)
protected String getBodyFromExpression(Event event, com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType, ExpressionVariables variables, Task task, OperationResult result)
protected boolean deltaContainsOtherPathsThan(ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> delta, List<ItemPath> paths)
protected boolean isWatchAuxiliaryAttributes(com.evolveum.midpoint.xml.ns._public.common.common_3.GeneralNotifierType generalNotifierType)
protected void appendModifications(StringBuilder body, ObjectDelta<? extends com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType> delta, List<ItemPath> hiddenPaths, Boolean showValuesBoolean)
protected ExpressionVariables getDefaultVariables(Event event, OperationResult result)
getDefaultVariables
in class BaseHandler
public String formatRequester(Event event, OperationResult result)
Copyright © 2016 evolveum. All rights reserved.