use of teammates.logic.api.EmailSender in project teammates by TEAMMATES.
the class Action method initialiseAttributes.
@SuppressWarnings("unchecked")
protected void initialiseAttributes(HttpServletRequest req) {
request = req;
requestUrl = HttpRequestHelper.getRequestedUrl(request);
logic = new Logic();
gateKeeper = new GateKeeper();
setTaskQueuer(new TaskQueuer());
setEmailSender(new EmailSender());
requestParameters = request.getParameterMap();
session = request.getSession();
sessionToken = CryptoHelper.computeSessionToken(session.getId());
parseAndInitializeRegkeyFromRequest();
// Set error status forwarded from the previous action
isError = getRequestParamAsBoolean(Const.ParamsNames.ERROR);
}
use of teammates.logic.api.EmailSender in project teammates by TEAMMATES.
the class AutomatedAction method initialiseAttributes.
protected void initialiseAttributes(HttpServletRequest request, HttpServletResponse response) {
this.request = request;
this.response = response;
this.logic = new Logic();
setTaskQueuer(new TaskQueuer());
setEmailSender(new EmailSender());
}
Aggregations