public class CorrespondenceRenderer
extends <any>
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CUSTOMER_MSG_TEXTBOX_STYLE |
protected static String |
CUSTOMER_SERVICE_STYLE_BOX |
protected static String |
CUSTOMER_STYLE_BOX |
protected static String |
MSG_TEXTBOX_STYLE_CLOSE |
protected static String |
MSG_TEXTBOX_STYLE_REOPEN |
protected static String |
PRIVATE_MSG_TEXTBOX_STYLE |
protected static String |
PUBLIC_MSG_TEXTBOX_STYLE |
protected static String |
SEND_BUTTON_STYLE |
protected static String |
SEND_TEXTBOX_STYLE |
protected static String |
STATUS_MSG_TEXTBOX_STYLE |
| Constructor and Description |
|---|
CorrespondenceRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected EventListener |
addReplyToComboEventListener(Radiogroup replyToTypeRadioGroup,
Combobox contactTypeCombo) |
protected EventListener |
addReplyToRadioEventListener(Radiogroup replyToTypeRadioGroup,
Combobox contactTypeCombo) |
protected void |
addSendArea(Component parent) |
protected Combobox |
configureContactTypeCombo() |
protected Radiogroup |
configureReplyToRadioGroup() |
protected A |
createAttachmentLink(MediaModel mediaModel) |
protected Component |
createCommentBox(CsTicketEventModel csTicketEventModel) |
protected Component |
createEntryChangeBox(CsTicketEventModel csTicketEventModel) |
protected Component |
createFooter(CsTicketEventModel ticket) |
protected MediaModel |
createMediaModel(Media media,
UserModel customer) |
protected String |
getAllowedUploadedFormats() |
protected Set<MediaModel> |
getAttachments() |
protected ModelService |
getModelService() |
protected TicketAttachmentsService |
getTicketAttachmentsService() |
protected TicketBusinessService |
getTicketBusinessService() |
protected TicketService |
getTicketService() |
protected EventListener |
handleButtonClick(Combobox contactTypeCombo)
Handles the button click events for the reply messages.
|
protected boolean |
hasMatchingStatusEvent(Set<CsTicketChangeEventEntryModel> ticketEventEntries,
CsTicketState oldState,
CsTicketState newState) |
protected void |
highlightReplyTextBox(CsInterventionType selectedInterventionType)
Adds CSS class to the replyTextbox to highlight the color based on selection of the radio / combo item
|
protected void |
removeSaveButton(Component component) |
void |
render(Component component,
AbstractPanel abstractPanel,
CsTicketModel csTicketModel,
DataType dataType,
WidgetInstanceManager widgetInstanceManager) |
void |
setAllowedUploadedFormats(String allowedUploadedFormats) |
void |
setModelService(ModelService modelService) |
void |
setTicketAttachmentsService(TicketAttachmentsService ticketAttachmentsService) |
void |
setTicketBusinessService(TicketBusinessService ticketBusinessService) |
void |
setTicketService(TicketService ticketService) |
protected static final String CUSTOMER_SERVICE_STYLE_BOX
protected static final String CUSTOMER_STYLE_BOX
protected static final String SEND_BUTTON_STYLE
protected static final String SEND_TEXTBOX_STYLE
protected static final String PRIVATE_MSG_TEXTBOX_STYLE
protected static final String PUBLIC_MSG_TEXTBOX_STYLE
protected static final String STATUS_MSG_TEXTBOX_STYLE
protected static final String CUSTOMER_MSG_TEXTBOX_STYLE
protected static final String MSG_TEXTBOX_STYLE_CLOSE
protected static final String MSG_TEXTBOX_STYLE_REOPEN
public void render(Component component,
AbstractPanel abstractPanel,
CsTicketModel csTicketModel,
DataType dataType,
WidgetInstanceManager widgetInstanceManager)
protected Component createFooter(CsTicketEventModel ticket)
protected Component createCommentBox(CsTicketEventModel csTicketEventModel)
protected Component createEntryChangeBox(CsTicketEventModel csTicketEventModel)
protected boolean hasMatchingStatusEvent(Set<CsTicketChangeEventEntryModel> ticketEventEntries, CsTicketState oldState, CsTicketState newState)
protected void removeSaveButton(Component component)
protected void addSendArea(Component parent)
protected EventListener handleButtonClick(Combobox contactTypeCombo)
contactTypeCombo - protected void highlightReplyTextBox(CsInterventionType selectedInterventionType)
selectedInterventionType - protected EventListener addReplyToComboEventListener(Radiogroup replyToTypeRadioGroup,
Combobox contactTypeCombo)
contactTypeCombo - replyToTypeRadioGroup - protected EventListener addReplyToRadioEventListener(Radiogroup replyToTypeRadioGroup,
Combobox contactTypeCombo)
contactTypeCombo - replyToTypeRadioGroup - protected MediaModel createMediaModel(Media media, UserModel customer) throws IOException
IOExceptionprotected A createAttachmentLink(MediaModel mediaModel)
protected Combobox configureContactTypeCombo()
protected Radiogroup configureReplyToRadioGroup()
protected TicketBusinessService getTicketBusinessService()
public void setTicketBusinessService(TicketBusinessService ticketBusinessService)
protected TicketService getTicketService()
public void setTicketService(TicketService ticketService)
protected Set<MediaModel> getAttachments()
public void setModelService(ModelService modelService)
protected ModelService getModelService()
protected TicketAttachmentsService getTicketAttachmentsService()
public void setTicketAttachmentsService(TicketAttachmentsService ticketAttachmentsService)
protected String getAllowedUploadedFormats()
public void setAllowedUploadedFormats(String allowedUploadedFormats)
Copyright © 2017 SAP SE. All Rights Reserved.