public class

AdminFolderViewTransform

extends FolderViewTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
           ↳ com.microstrategy.web.app.transforms.AbstractFolderTransform
             ↳ com.microstrategy.web.app.transforms.FolderViewTransform
               ↳ com.microstrategy.web.app.transforms.AdminFolderViewTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.FolderViewTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.FolderViewTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
AdminFolderViewTransform()
Public Methods
boolean canDelete(WebObjectInfo object)
Checks if all privileges and access control are enabled to delete this object.
boolean canEdit(WebObjectInfo object)
Checks if all privileges and access control are enabled to edit this object.
WebEvent getDeleteEvent(WebObjectInfo object)
Returns an initialized WebEvent to delete an object.
WebEvent getEditEvent(WebObjectInfo object)
Returns an initialized WebEvent to edit an object.
void renderDeleteInfo(MarkupOutput out, WebObjectInfo object, boolean renderLinkAsText)
Write out delete information for a single object, as a link based on the event generated by the getDeleteEvent() method and the user privileges.
Protected Methods
String getDeleteConfirmationMessage(WebObjectInfo object)
String getDeleteTooltip(WebObjectInfo object)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.FolderViewTransform
From class com.microstrategy.web.app.transforms.AbstractFolderTransform
From class com.microstrategy.web.app.transforms.AbstractObjectInfoListTransform
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

Public Constructors

public AdminFolderViewTransform ()

Public Methods

public boolean canDelete (WebObjectInfo object)

Checks if all privileges and access control are enabled to delete this object.

Parameters
object the corresponding WebObjectInfo

public boolean canEdit (WebObjectInfo object)

Checks if all privileges and access control are enabled to edit this object.

Parameters
object the corresponding WebObjectInfo

public WebEvent getDeleteEvent (WebObjectInfo object)

Returns an initialized WebEvent to delete an object.

Parameters
object the WebObjectInfo instance of the object to delete.
Returns
  • the WebEvent instance initialized if possible, null if the application doesn't support it.

public WebEvent getEditEvent (WebObjectInfo object)

Returns an initialized WebEvent to edit an object.

Parameters
object the WebObjectInfo instance of the object to edit.
Returns
  • the WebEvent instance initialized if possible, null if the application doesn't support it.

public void renderDeleteInfo (MarkupOutput out, WebObjectInfo object, boolean renderLinkAsText)

Write out delete information for a single object, as a link based on the event generated by the getDeleteEvent() method and the user privileges. with CSS class defined as del.

Parameters
out MarkupOutput instance where to save the contents to display
object WebObjectInfo to be rendered.
renderLinkAsText boolean determine whether to render the URL as text. (otherwise it is rendered as an image).

Protected Methods

protected String getDeleteConfirmationMessage (WebObjectInfo object)

protected String getDeleteTooltip (WebObjectInfo object)