Class CustomSiteMessage
- java.lang.Object
-
- fr.paris.lutece.portal.service.message.SiteMessage
-
- fr.paris.lutece.portal.service.message.CustomSiteMessage
-
- All Implemented Interfaces:
Serializable
public class CustomSiteMessage extends SiteMessage
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class fr.paris.lutece.portal.service.message.SiteMessage
TYPE_BUTTON_BACK, TYPE_BUTTON_CANCEL, TYPE_BUTTON_HIDDEN, TYPE_CONFIRMATION, TYPE_ERROR, TYPE_INFO, TYPE_QUESTION, TYPE_STOP, TYPE_WARNING
-
-
Constructor Summary
Constructors Constructor Description CustomSiteMessage(String title, String text, String strUrl, int nType, int nTypeButton, String strBackUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetText(Locale locale)Returns the localized text of the messageStringgetTitle(Locale locale)Returns the localized text of the message-
Methods inherited from class fr.paris.lutece.portal.service.message.SiteMessage
getBackUrl, getRequestParameters, getTarget, getType, getTypeButton, getUrl, setBackUrl, setTypeButton
-
-
-
-
Method Detail
-
getText
public String getText(Locale locale)
Description copied from class:SiteMessageReturns the localized text of the message- Overrides:
getTextin classSiteMessage- Parameters:
locale- The current locale- Returns:
- The localized text of the message
-
getTitle
public String getTitle(Locale locale)
Description copied from class:SiteMessageReturns the localized text of the message- Overrides:
getTitlein classSiteMessage- Parameters:
locale- The current locale- Returns:
- The localized text of the message
-
-