public class MockStyleableEmailContentServiceImpl extends StyleableEmailContentServiceImpl implements MockStyleableEmailContentService
DEFAULT_EMAIL_STYLESHEET_RESOURCE_LOC, globalEmailStyleSheet, routeHeaderService, styleHelper, styleService
defaultEmailFromAddress, deploymentEnvironment
Constructor and Description |
---|
MockStyleableEmailContentServiceImpl() |
Modifier and Type | Method and Description |
---|---|
EmailContent |
generateDailyReminder(Person user,
Collection<ActionItem> actionItems) |
EmailContent |
generateFeedback(FeedbackForm form) |
EmailContent |
generateImmediateReminder(Person user,
ActionItem actionItem,
DocumentType documentType) |
EmailContent |
generateWeeklyReminder(Person user,
Collection<ActionItem> actionItems) |
DocumentRouteHeaderValue |
getRouteHeader(ActionItem actionItem)
This overridden method is used in case the action item has an null route header attached
|
Map<String,DocumentRouteHeaderValue> |
getRouteHeaders(Collection<ActionItem> actionItems) |
void |
resetServiceAccessed()
This method returns whether this service is being used
|
boolean |
wasServiceAccessed()
This method returns whether this service is being used
|
addCDataElement, addDelegatorElement, addDocumentHeaderXML, addObjectXML, addSummarizedActionItem, addTextElement, addTimestampElement, addWorkgroupRequestElement, generateEmailContent, generateReminderForActionItems, getDocumentBuilder, getStyle, setGlobalEmailStyleSheet, setStandardAttributes, setStyleService, transform
getActionListUrl, getApplicationEmailAddress, getCustomEmailAttribute, getDeploymentEnvironment, getDocumentTypeEmailAddress, getPreferencesUrl, getRouteLogUrl, setDefaultEmailFromAddress, setDeploymentEnvironment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicationEmailAddress, getDocumentTypeEmailAddress
public MockStyleableEmailContentServiceImpl()
public EmailContent generateImmediateReminder(Person user, ActionItem actionItem, DocumentType documentType)
generateImmediateReminder
in interface EmailContentService
generateImmediateReminder
in class StyleableEmailContentServiceImpl
public EmailContent generateDailyReminder(Person user, Collection<ActionItem> actionItems)
generateDailyReminder
in interface EmailContentService
generateDailyReminder
in class StyleableEmailContentServiceImpl
public EmailContent generateWeeklyReminder(Person user, Collection<ActionItem> actionItems)
generateWeeklyReminder
in interface EmailContentService
generateWeeklyReminder
in class StyleableEmailContentServiceImpl
public EmailContent generateFeedback(FeedbackForm form)
generateFeedback
in interface EmailContentService
generateFeedback
in class StyleableEmailContentServiceImpl
public DocumentRouteHeaderValue getRouteHeader(ActionItem actionItem)
getRouteHeader
in class StyleableEmailContentServiceImpl
org.kuali.rice.kew.mail.service.impl.StyleableEmailContentServiceImpl#getRouteHeader(org.kuali.rice.kew.actionitem.ActionItem)
public Map<String,DocumentRouteHeaderValue> getRouteHeaders(Collection<ActionItem> actionItems)
getRouteHeaders
in class StyleableEmailContentServiceImpl
public boolean wasServiceAccessed()
wasServiceAccessed
in interface MockStyleableEmailContentService
public void resetServiceAccessed()
resetServiceAccessed
in interface MockStyleableEmailContentService
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.