public abstract class AbstractTicketContext
extends VelocityContext
| Constructor and Description |
|---|
AbstractTicketContext(CsTicketModel ticket,
CsTicketEventModel event) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildParagraphs(String text) |
protected String |
escapeHtml(String text) |
Collection<CommentAttachmentModel> |
getAttachments() |
CsTicketEventModel |
getEvent() |
String |
getHtmlText()
A version of the text of the email with Html characters escaped and newlines replaced with paragraphs
|
abstract String |
getName() |
String |
getSubject() |
String |
getText()
The text of the event
|
CsTicketModel |
getTicket() |
String |
getTicketId() |
abstract String |
getTo() |
public AbstractTicketContext(CsTicketModel ticket, CsTicketEventModel event)
public abstract String getName()
public abstract String getTo()
public String getTicketId()
public String getText()
public String getHtmlText()
public CsTicketModel getTicket()
public CsTicketEventModel getEvent()
public String getSubject()
public Collection<CommentAttachmentModel> getAttachments()
Copyright © 2017 SAP SE. All Rights Reserved.