public interface

ConfirmOverwriteDialogBean

implements ViewBeanParserBean
com.microstrategy.web.app.beans.ConfirmOverwriteDialogBean

Summary

[Expand]
Inherited Constants
From interface com.microstrategy.web.app.beans.AppComponent
Public Methods
abstract boolean getCanOverwrite()
Returns whether the current dialog should allow overwriting.
abstract String getConfirmMessageId()
Returns the confirmation message ID.
abstract String getMessage()
This method is deprecated. message could be retrieved from getConfirmMessageId() and getRejectMessageId() and it should be part of transform as it can by styled.
abstract String getRejectMessageId()
Returns the rejection message ID.
abstract SaveObjectAsDialogBean getSaveAsBean()
abstract void setCanOverwrite(boolean canOver)
Sets whether the dialog will let user confirm overwriting or warn user that it can not overwriting.
abstract void setConfirmMessageId(String msg)
Sets the Confirmation Message ID to show in this dialog.
abstract void setRejectMessageId(String msg)
Sets the Rejection Message ID to show in this dialog.
[Expand]
Inherited Methods
From interface com.microstrategy.web.app.beans.AppComponent
From interface com.microstrategy.web.app.beans.ViewBeanParserBean
From interface com.microstrategy.web.beans.Transformable
From interface com.microstrategy.web.beans.WebComponent

Public Methods

public abstract boolean getCanOverwrite ()

Returns whether the current dialog should allow overwriting.

Returns
  • true if this dialog should allow overwriting. Otherwise, return false

public abstract String getConfirmMessageId ()

Returns the confirmation message ID. If user has not set any message, it will return the internal pre-set message id.

Returns
  • The confirmation message.

public abstract String getMessage ()

This method is deprecated.
message could be retrieved from getConfirmMessageId() and getRejectMessageId() and it should be part of transform as it can by styled.

Returns the message for this dialog. When property canOverwrite is true, the confirmation message corresponding to the confirm message ID will be shown; When property canOverwrite is false, the rejection message corresponding to the reject message ID will be shown

Returns
  • The message.

public abstract String getRejectMessageId ()

Returns the rejection message ID. If user has not set any message, it will return the internal pre-set message ID.

Returns
  • The rejection message.

public abstract SaveObjectAsDialogBean getSaveAsBean ()

public abstract void setCanOverwrite (boolean canOver)

Sets whether the dialog will let user confirm overwriting or warn user that it can not overwriting.

Parameters
canOver Whether the message shown as a warning message or confirmation message.

public abstract void setConfirmMessageId (String msg)

Sets the Confirmation Message ID to show in this dialog. If nothing set, internal pre-set message will be shown. When property canOverwrite is true, this message will be shown.

Parameters
msg The String to shown in the dialog to confirm whether user would like to perform the overwrite.

public abstract void setRejectMessageId (String msg)

Sets the Rejection Message ID to show in this dialog. If nothing set, internal pre-set message will be shown. When property canOverwrite is false, this message will be used.

Parameters
msg The String to shown in the dialog when an overwrite will not be allowed to perform.