|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.service.message.AdminMessage
public class AdminMessage
The class provides a bean to hold message box informations
| Field Summary | |
|---|---|
static int |
TYPE_CONFIRMATION
|
static int |
TYPE_ERROR
|
static int |
TYPE_INFO
|
static int |
TYPE_QUESTION
|
static int |
TYPE_STOP
|
static int |
TYPE_WARNING
|
| Constructor Summary | |
|---|---|
AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton)
Creates a new instance of AppMessage |
|
AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton,
java.util.Map<java.lang.String,java.lang.Object> requestParameters)
Creates a new instance of AppMessage with request parameters |
|
AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton,
java.util.Map<java.lang.String,java.lang.Object> requestParameters,
java.lang.String strBackUrl)
Creates a new instance of AppMessage with request parameters |
|
| Method Summary | |
|---|---|
java.lang.String |
getBackUrl()
|
java.util.Map<java.lang.String,java.lang.Object> |
getRequestParameters()
Return the request parameters |
java.lang.String |
getTarget()
Returns the Url of the message box Ok button |
java.lang.String |
getText(java.util.Locale locale)
Returns the localized text of the message |
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized text of the message |
int |
getType()
Return the type of message |
java.lang.String |
getUrl()
Returns the Url of the message box Ok button |
boolean |
isCancel()
Return if the cancel button is display |
void |
setBackUrl(java.lang.String _strBackUrl)
set the back url |
void |
setCancel(boolean bCancel)
Set the display of cancel button |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_INFO
public static final int TYPE_QUESTION
public static final int TYPE_ERROR
public static final int TYPE_WARNING
public static final int TYPE_CONFIRMATION
public static final int TYPE_STOP
| Constructor Detail |
|---|
public AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton)
strTextKey - The message KeystrUrl - The default Button URLmessageArgs - The message argumentsstrTitleKey - The Title keystrTarget - The targetnType - The message TypebCancelButton - Add a Cancel Button
public AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton,
java.util.Map<java.lang.String,java.lang.Object> requestParameters)
strTextKey - The message KeystrUrl - The default Button URLmessageArgs - The message argumentsstrTitleKey - The Title keystrTarget - The targetnType - The message TypebCancelButton - Add a Cancel ButtonrequestParameters - The Request parameters in a map
public AdminMessage(java.lang.String strTextKey,
java.lang.Object[] messageArgs,
java.lang.String strTitleKey,
java.lang.String strUrl,
java.lang.String strTarget,
int nType,
boolean bCancelButton,
java.util.Map<java.lang.String,java.lang.Object> requestParameters,
java.lang.String strBackUrl)
strTextKey - The message KeystrUrl - The default Button URLmessageArgs - The message argumentsstrTitleKey - The Title keystrTarget - The targetnType - The message TypebCancelButton - Add a Cancel ButtonrequestParameters - The Request parameters in a mapstrBackUrl - the back url| Method Detail |
|---|
public int getType()
public boolean isCancel()
public void setCancel(boolean bCancel)
bCancel - the new bCancelpublic java.lang.String getText(java.util.Locale locale)
locale - The current locale
public java.lang.String getTitle(java.util.Locale locale)
locale - The current locale
public java.lang.String getUrl()
public java.lang.String getTarget()
public java.util.Map<java.lang.String,java.lang.Object> getRequestParameters()
public void setBackUrl(java.lang.String _strBackUrl)
_strBackUrl - the back urlpublic java.lang.String getBackUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||