mocks
Class MockStyleableEmailContentServiceImpl
java.lang.Object
org.kuali.rice.kew.mail.service.impl.BaseEmailContentServiceImpl
org.kuali.rice.kew.mail.service.impl.StyleableEmailContentServiceImpl
mocks.MockStyleableEmailContentServiceImpl
- All Implemented Interfaces:
- MockStyleableEmailContentService, EmailContentService
public class MockStyleableEmailContentServiceImpl
- extends StyleableEmailContentServiceImpl
- implements MockStyleableEmailContentService
This is a class used to substitute for a StyleableEmailContentServiceImpl class
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class org.kuali.rice.kew.mail.service.impl.StyleableEmailContentServiceImpl |
addCDataElement, addDelegatorElement, addDocumentHeaderXML, addObjectXML, addSummarizedActionItem, addTextElement, addTimestampElement, addWorkgroupRequestElement, generateEmailContent, generateReminderForActionItems, getDocumentBuilder, getStyle, setGlobalEmailStyleSheet, setStandardAttributes, setStyleService, transform |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockStyleableEmailContentServiceImpl
public MockStyleableEmailContentServiceImpl()
generateImmediateReminder
public EmailContent generateImmediateReminder(Person user,
ActionItem actionItem,
DocumentType documentType)
- Specified by:
generateImmediateReminder
in interface EmailContentService
- Overrides:
generateImmediateReminder
in class StyleableEmailContentServiceImpl
generateDailyReminder
public EmailContent generateDailyReminder(Person user,
Collection<ActionItem> actionItems)
- Specified by:
generateDailyReminder
in interface EmailContentService
- Overrides:
generateDailyReminder
in class StyleableEmailContentServiceImpl
generateWeeklyReminder
public EmailContent generateWeeklyReminder(Person user,
Collection<ActionItem> actionItems)
- Specified by:
generateWeeklyReminder
in interface EmailContentService
- Overrides:
generateWeeklyReminder
in class StyleableEmailContentServiceImpl
generateFeedback
public EmailContent generateFeedback(FeedbackForm form)
- Specified by:
generateFeedback
in interface EmailContentService
- Overrides:
generateFeedback
in class StyleableEmailContentServiceImpl
getRouteHeader
public DocumentRouteHeaderValue getRouteHeader(ActionItem actionItem)
- This overridden method is used in case the action item has an null route header attached
- Overrides:
getRouteHeader
in class StyleableEmailContentServiceImpl
- See Also:
org.kuali.rice.kew.mail.service.impl.StyleableEmailContentServiceImpl#getRouteHeader(org.kuali.rice.kew.actionitem.ActionItem)
getRouteHeaders
public Map<String,DocumentRouteHeaderValue> getRouteHeaders(Collection<ActionItem> actionItems)
- Overrides:
getRouteHeaders
in class StyleableEmailContentServiceImpl
wasServiceAccessed
public boolean wasServiceAccessed()
- This method returns whether this service is being used
- Specified by:
wasServiceAccessed
in interface MockStyleableEmailContentService
resetServiceAccessed
public void resetServiceAccessed()
- This method returns whether this service is being used
- Specified by:
resetServiceAccessed
in interface MockStyleableEmailContentService
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.