public class

AddressDeleteTransform

extends AddressTransform
implements LayoutTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AddressTransform
           ↳ com.microstrategy.web.app.transforms.AddressDeleteTransform

Class Overview

This transform enables a user to delete addresses.

Summary

Constants
String FP_SELECTED_ITEMS
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected String cssClearMessage
protected String cssClearTitle
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
AddressDeleteTransform()
Default constructor.
Public Methods
WebEvent getCancelEvent()
Returns the event used in case the user presses Cancel on delete address.
WebEvent getDeleteEvent()
This returns the event used to delete the addresses.
String getDescription()
Returns the description of this transform.
WebEvent getReturnToEvent()
After this page gets executed for the second time, and after the address has been deleted, we want to return to a previous page.
Class getSupportedBeanType()
Returns the supported bean type for the transform.
void initializeCss()
Initialize the css classes to be used by this transform.
void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
void renderButtonBar(MarkupOutput out)
Renders the dialogue buttons of the transform
void renderConfirmDelete(MarkupOutput out)
Generate the HTML for the Confirm Delete dialog rendered by this transform.
void renderDeleteConfirmation(MarkupOutput out)
Renders the confirmation dialogue of the transform
void renderTitle(MarkupOutput out)
Renders the title of the transform
void transformForRequestSuccessful(MarkupOutput out)
Generates the graphical output for the AddressListBean when the bean is succesfull.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AddressTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Constants

public static final String FP_SELECTED_ITEMS

Constant Value: "selectedItems"

Fields

protected String cssClearMessage

protected String cssClearTitle

Public Constructors

public AddressDeleteTransform ()

Default constructor. Initialize all formal parameters

Public Methods

public WebEvent getCancelEvent ()

Returns the event used in case the user presses Cancel on delete address.

Returns
  • The EnumServletEvents.WebEventNCAddresses event

public WebEvent getDeleteEvent ()

This returns the event used to delete the addresses.

Returns
  • the EnumAddressListBeanEvents.ADDRESS_LIST_EVENT_DELETE event.

public String getDescription ()

Returns the description of this transform.
This is used in the style catalog editor.

Returns
  • The description of this transform.

public WebEvent getReturnToEvent ()

After this page gets executed for the second time, and after the address has been deleted, we want to return to a previous page.
This returns the event to go back to the previous page.

Returns
  • The EnumServletEvents.WebEventNCAddresses event (it assumes we always come from the Address list page).

public Class getSupportedBeanType ()

Returns the supported bean type for the transform.

Returns

public void initializeCss ()

Initialize the css classes to be used by this transform.

public void initializeTransform (Transformable data)

This method initialize the private and protected fields of the transform.
It also invokes the initializeTransform method of the parent. It also initializes the address list for the selected items to delete.

Parameters
data The bean to transform

public void renderButtonBar (MarkupOutput out)

Renders the dialogue buttons of the transform

public void renderConfirmDelete (MarkupOutput out)

Generate the HTML for the Confirm Delete dialog rendered by this transform.

Parameters
out MarkupOutput instance where the contents of this transform will be saved.

public void renderDeleteConfirmation (MarkupOutput out)

Renders the confirmation dialogue of the transform

public void renderTitle (MarkupOutput out)

Renders the title of the transform

public void transformForRequestSuccessful (MarkupOutput out)

Generates the graphical output for the AddressListBean when the bean is succesfull. It calls renderConfirmDelete so the user might confirm the deletion of address values.

Parameters
out The transform's output.