BaltradDex
BALTRAD Data Exchange System
Loading...
Searching...
No Matches
eu.baltrad.dex.net.controller.util.ModelMessageHelper Class Reference
Inheritance diagram for eu.baltrad.dex.net.controller.util.ModelMessageHelper:
eu.baltrad.dex.net.controller.util.MessageSetter

Public Member Functions

 ModelMessageHelper (MessageResourceUtil util)
 
 ModelMessageHelper (MessageResourceUtil util, boolean logDex)
 
void setSuccessMessage (Model model, String msgkey, Object...msgValues)
 
void setSuccessDetailsMessage (Model model, String msgkey, String details, Object...msgValues)
 
void setErrorMessage (Model model, String msgkey, Object...msgValues)
 
void setTextErrorMessage (Model model, String txt)
 
void setErrorDetailsMessage (Model model, String msgkey, String details, Object...msgValues)
 
void setKeyMessage (Model model, String key, String msgkey, Object...msgValues)
 
String getMessage (String key, Object...msgValues)
 
void setMessage (Model model, String messageKey, String message)
 
void setMessage (Model model, String messageKey, String detailsKey, String message, String details)
 

Protected Member Functions

void setMessageResources (MessageResourceUtil util)
 
MessageResourceUtil getMessageResources ()
 
void setLogDex (boolean logDex)
 
boolean getLogDex ()
 

Additional Inherited Members

- Static Public Attributes inherited from eu.baltrad.dex.net.controller.util.MessageSetter
static final String ERROR_MSG_KEY = "error_message"
 
static final String ERROR_DETAILS_KEY = "error_details"
 
static final String SUCCESS_MSG_KEY = "success_message"
 
static final String SUCCESS_DETAILS_KEY = "success_details"
 

Member Function Documentation

◆ setMessage() [1/2]

void eu.baltrad.dex.net.controller.util.ModelMessageHelper.setMessage ( Model model,
String messageKey,
String detailsKey,
String message,
String details )
inline

◆ setMessage() [2/2]

void eu.baltrad.dex.net.controller.util.ModelMessageHelper.setMessage ( Model model,
String messageKey,
String message )
inline

The documentation for this class was generated from the following file: