Class DataExplorerTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.DataExplorerTransform
-
- All Implemented Interfaces:
AppTransform
,Transform
public class DataExplorerTransform extends AbstractAppTransform
- Since:
- MicroStrategy Web 9.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DataExplorerTransform.DisplayUnitContext
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description FormalParameter
checkImage
Formal parameter: The icon to use to submit the parent folders select box in HTML mode.FormalParameter
contextID
Formal parameter: The context for the object browser fodler linksstatic java.lang.String
FP_CHECK_IMAGE
Name for the formal parameter:checkImage
static java.lang.String
FP_CONTEXT_ID
Name for the formal parameter:contextID
static java.lang.String
FP_INCREMENTAL_FETCH_NAV_TYPE
Constant specifying the name of the formal parameter for defining the navigation type for incremental fetch.static java.lang.String
FP_INCREMENTAL_FETCH_PAGE_BLOCK
Constant specifying the name of the formal parameter for defining the page block size for incremental fetch.static java.lang.String
FP_LEVEL_CHANGE_JS
Name for the formal parameter:levelChangeJS
static java.lang.String
FP_RENDER_FORM
Name for the formal parameter:renderForm
protected static int
INCREMENTAL_FETCH_NEXT
protected static int
INCREMENTAL_FETCH_PREVIOUS
protected FormalParameter
incrementalFetchNavigationType
Formal parameter that specifies which type of incremental fetch navigation will be enabled.FormalParameter
incrementalFetchPageBlock
Indicates the number of pages to show per block for incremental fetch.FormalParameter
levelChangeJS
Formal parameter: The javascript function to execute when you change the folder levelFormalParameter
renderForm
Indicates whether the transform will render it's own HTML formprotected TreeView
tree
TreeView that is used to render the tree once it's populated-
Fields inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
_bean, _componentBlock, _cssPrefix, _imgBlank, _imgWait, _selfOutput, _subOutput, appliesTo, CLASS_INPUT, CLASS_MESSAGE, contextMenus, cssFile, cssPrefix, debugErrorFlags, debugFlags, dragMode, extraInput, extraUrl, FP_APPLIES_TO, FP_CONTEXT_MENUS, FP_CSS_ERROR_MESSAGE, FP_CSS_ERROR_TITLE, FP_CSS_FILE, FP_CSS_PREFIX, FP_DEBUG_ERROR_FLAGS, FP_DEBUG_FLAGS, FP_DRAG_MODE, FP_EXTRA_INPUT, FP_EXTRA_URL, FP_HEIGHT, FP_IFRAME_ENABLED, FP_IMG_WAIT, FP_INITIAL_INDENT, FP_ORIENTATION, FP_ORIENTATIONS_ALLOWED, FP_PARTIAL_IFRAME_UPDATE, FP_PROCESSING_BUTTONS_FLAGS, FP_PROCESSING_INFO_FLAGS, FP_RESIZE_LEVEL, FP_SCRIPT_CLASS, FP_TYPE, FP_USE_DHTML, FP_WIDTH, globalCssErrorMessage, globalCssErrorTitle, height, iframeEnabled, imgWait, indent, initialIndent, isDHTML, orientation, orientationsAllowed, partialIframeUpdate, PROCESSING_BUTTONS_ALL, PROCESSING_BUTTONS_CANCEL, PROCESSING_BUTTONS_HISTORY_LIST, PROCESSING_BUTTONS_REFRESH, PROCESSING_BUTTONS_VIEW_DETAILS, PROCESSING_INFO_ALL, PROCESSING_INFO_DESCRIPTION, PROCESSING_INFO_LAST_UPDATE, PROCESSING_INFO_NAME, PROCESSING_INFO_NONE, PROCESSING_INFO_STATUS, processingButtonsFlags, processingInfoFlags, RESIZE_ALL, RESIZE_HORIZONTAL, RESIZE_NONE, RESIZE_VERTICAL, resizeLevel, scriptClass, scriptEndTagEncoder, type, useDHTML, width
-
-
Constructor Summary
Constructors Constructor Description DataExplorerTransform()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TreeNode
createNewNode(java.lang.Object childObj, boolean isExpanded)
Creates a new tree node with the information about the object.protected TreeNode
generateIncrementalFetchNode(int direction)
protected int
getBlockPosition()
protected int
getBlockSize()
protected WebEvent
getBrowseEvent()
Returns the browse event associated with the DataExplorer Browser.protected WebEvent
getBrowseWithPathEvent()
Returns the Data Explorer's browse with path event.protected WebEvent
getChangeDisplayFormatEvent()
Returns a new instance of the event use to toggle the display formatprotected int
getChildCount()
protected TransformContext
getContext()
Returns the instance of TransformContext with context information for this Transform.protected java.lang.String
getCssName(WebDisplayUnit unit)
Returns the css class name which helps in getting the image associated with the different object types in the Data Explorer.java.lang.String
getDescription()
Returns a textual description of the transform.java.lang.String
getDisplayUnitName(WebDisplayUnit unit)
Returns the display name of the object being passed in as a parameter.WebEvent
getEvent(WebDisplayUnit unit)
Returns the Data Explorer's browse event associated with the different object types (ex.java.util.ArrayList
getFolderLinkList()
protected Tag
getForm(Tag content)
Creates and returns a HTML FORMTag
with the contents and hidden inputs for all the associated events.int
getGoToArgument()
Returns the block begin parameter to be used in data explorer browsing.WebEvent
getGoToEvent()
Returns the browse event associated with the DataExplorer Browser.protected java.util.ArrayList
getHiddenInputsEventList()
Returns the list of events that will be included in the hidden inputs section.protected java.lang.String
getImageName(WebDisplayUnit unit)
Returns the image path name which helps in getting the image associated with the different object types in the Data Explorer.protected java.lang.String
getImageTooltip(WebDisplayUnit unit)
Returns the image tooltip which helps in getting the image associated with the different object types in the Data Explorer.protected IncrementalFetch
getIncrementalFetchComponent()
protected java.lang.String
getSearchCSSClassName()
protected WebEvent
getSearchEvent()
Returns theWebEvent
associated with the DataExplorer's Search.protected WebSearch
getSearchObject()
protected java.lang.String
getSearchPatternArgument(WebEvent searchEvent)
java.lang.Class
getSupportedBeanType()
Get the class of objects this transform is able to handle.WebEvent
getTreeNodeEvent(WebDisplayUnit unit, boolean includeCurrent)
Returns the Data Explorer's browse event for Tree Nodes associated with the different object types (ex.java.util.Map
getUnitAttributes(WebDisplayUnit unit)
Returns a map of the different HTML attributes that would be added to the HTML tags denoting each item on the Data Explorer.void
initializeCss()
Initializes the Css Classes to use.void
initializeImages()
Initialize the images to be used by this transform.void
initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform, such as width and height.protected boolean
isRenderAsTree()
protected boolean
isSearchDefined()
protected TreeNode
newTreeNode(WebDisplayUnit object)
Creates and populates a single tree nodeprotected void
populateTreeNodes(WebDisplayUnits children, TreeNode parentNode)
void
renderAncestorsSelector(MarkupOutput out)
Renders a HTML pulldown which contains information of the currently browsed object's ancestors.void
renderBrowser(MarkupOutput out)
Renders the Project Browser based on the information provided by the fodler bean.void
renderBrowserContent(MarkupOutput out)
Renders the Project Browser's elements based on the information provided by the Data Explorer bean.void
renderDisplayFormatIcon(MarkupOutput out)
Renders a link to change the display format of the object browser contentvoid
renderFolderLinkOptions(MarkupOutput out)
Renders shortcuts to predefined Folder Links as HTML option tags in the Data Explorer's ancestor pull down.void
renderHiddenInputs(MarkupOutput out)
Renders hidden input tags for each of the events as a part of a form.void
renderIncrementalFetch(MarkupOutput out)
Renders the incremental fetch links for the browse list, including the images.void
renderLayeredIconInfo(MarkupOutput out, WebDisplayUnit unit)
To generate layered icon for attribute item generate a SPAN tag which host background image and an inner SPAN for the layering effect in case an additional image has to be included on top of the original (for example, a shortcut arrow, a red error sign, etc).void
renderList(MarkupOutput out)
Renders the DataExplorer in it's list format.void
renderNameInfo(MarkupOutput out, WebDisplayUnit unit)
Renders HTML tags which contain the name and other related information of the object being rendered on the Data Explorer.void
renderObjectCount(MarkupOutput out)
Renders the number of objects currently being displayed on the Data Explorer.void
renderOpenParentLink(MarkupOutput out)
void
renderSearchBox(MarkupOutput out)
Renders the search box for the project browservoid
renderSearchButton(MarkupOutput out)
Renders a Magnifier image as the search/filter button of the browservoid
renderSearchSection(MarkupOutput out)
Renders a text box which allows the user to perform a search on the Data Explorer.void
renderUnit(MarkupOutput out, WebDisplayUnit unit)
Renders an item on the Data Explorer Browser.void
transformForRequestSuccessful(MarkupOutput out)
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestSuccessful
.-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchor, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getCancelEvent, getClientSideHelper, getContainerServices, getContextMenu, getContextMenuManager, getContextMenuManagerName, getContextMenusDefinition, getCssPrefix, getDateFormat, getDebugOut, getDescriptor, getDescriptor, getDescriptor, getDescriptor, getDisplayMode, getDisplayName, getErrorMessage, getErrorMessage, getErrorTitle, getErrorTitle, getEventManager, getFirstDayOfWeek, getFloatValue, getHelpPath, getID, getIntValue, getJSNameSpace, getLayoutContext, getLocale, getLocale, getPreferenceValue, getProjectID, getRefreshEvent, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderImage, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, renderProcessingButtons, renderProcessingInfo, renderProcessingInfoData, renderProcessingInfoImage, renderProcessingInfoSubtitle, renderProcessingInfoTitle, renderProcessingObjectName, renderRefreshButton, renderRegisterBone, renderSelf, renderShell, renderSubBlock, renderUserHelpAnchor, setBoneProperties, setDisplayMode, setHasSubBlock, setHeight, setIFrameDisplayMode, setIsDormant, setRenderSubBlock, setShellAttributeOnClosedComponent, setWidth, shouldDisplay, transform, transformForRequestCanceled, transformForRequestInError, transformForRequestNotInited, transformForRequestProcessing, transformForRequestWaitingForUserInput
-
Methods inherited from class com.microstrategy.web.transform.AbstractLayoutTransform
getLayoutDefinition, setLayoutDefinition, transformUsingLayout
-
Methods inherited from class com.microstrategy.web.transform.AbstractTransform
addFormalParam, canTransform, getEvents, getFormalParams, getPreview, isPreviewAvailable, isResolved, removeFormalParam, setAnnotation, setDeprecated, supports, supports
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getPreview, isPreviewAvailable, isResolved, supports, supports
-
-
-
-
Field Detail
-
INCREMENTAL_FETCH_PREVIOUS
protected static final int INCREMENTAL_FETCH_PREVIOUS
- See Also:
- Constant Field Values
-
INCREMENTAL_FETCH_NEXT
protected static final int INCREMENTAL_FETCH_NEXT
- See Also:
- Constant Field Values
-
tree
protected TreeView tree
TreeView that is used to render the tree once it's populated
-
renderForm
public FormalParameter renderForm
Indicates whether the transform will render it's own HTML form
-
checkImage
public FormalParameter checkImage
Formal parameter: The icon to use to submit the parent folders select box in HTML mode. Used only in HTML mode. For DHTML mode, the CSS contains the image
-
levelChangeJS
public FormalParameter levelChangeJS
Formal parameter: The javascript function to execute when you change the folder level
-
FP_CHECK_IMAGE
public static final java.lang.String FP_CHECK_IMAGE
Name for the formal parameter:checkImage
- See Also:
- Constant Field Values
-
contextID
public FormalParameter contextID
Formal parameter: The context for the object browser fodler links
-
FP_CONTEXT_ID
public static final java.lang.String FP_CONTEXT_ID
Name for the formal parameter:contextID
- See Also:
- Constant Field Values
-
FP_LEVEL_CHANGE_JS
public static final java.lang.String FP_LEVEL_CHANGE_JS
Name for the formal parameter:levelChangeJS
- See Also:
- Constant Field Values
-
incrementalFetchNavigationType
protected FormalParameter incrementalFetchNavigationType
Formal parameter that specifies which type of incremental fetch navigation will be enabled. Allowed values: a valid bitwise combination ofEnumIncrementalFetchProperties.NAVIGATION_BUTTONS_FIRST_LAST
and/orEnumIncrementalFetchProperties.NAVIGATION_BUTTONS_PREVIOUS_NEXT
-
incrementalFetchPageBlock
public FormalParameter incrementalFetchPageBlock
Indicates the number of pages to show per block for incremental fetch.
Default value is 5, so the incremental fetch will render the navigation arrows for moving up and down five pages at the time.
-
FP_INCREMENTAL_FETCH_NAV_TYPE
public static final java.lang.String FP_INCREMENTAL_FETCH_NAV_TYPE
Constant specifying the name of the formal parameter for defining the navigation type for incremental fetch. Value is incrementalFetchNavigationType.- See Also:
- Constant Field Values
-
FP_INCREMENTAL_FETCH_PAGE_BLOCK
public static final java.lang.String FP_INCREMENTAL_FETCH_PAGE_BLOCK
Constant specifying the name of the formal parameter for defining the page block size for incremental fetch. Value is incrementalFetchPageBlock.- See Also:
- Constant Field Values
-
FP_RENDER_FORM
public static final java.lang.String FP_RENDER_FORM
Name for the formal parameter:renderForm
- See Also:
- Constant Field Values
-
-
Method Detail
-
initializeTransform
public void initializeTransform(Transformable data)
Description copied from class:AbstractAppTransform
This method initialize the private and protected fields of the transform, such as width and height. It also invokes the
This method is automatically called from theinitializeWebComponent
,initializeImages
andinitializeCss
methods.transform
method. Transforms which would like to invoke other methods in this instance directly (for example, to invoke some render methods), need first to call this method to guarantee that the Transform is ready to generate output.- Specified by:
initializeTransform
in interfaceAppTransform
- Overrides:
initializeTransform
in classAbstractAppTransform
- Parameters:
data
- the bean to transform.
-
initializeCss
public void initializeCss()
Initializes the Css Classes to use. For each one of the css classes to use, the prefix indicated on the formal parameter is added to the name of the class to use.- Overrides:
initializeCss
in classAbstractAppTransform
-
initializeImages
public void initializeImages()
Description copied from class:AbstractAppTransform
Initialize the images to be used by this transform.- Overrides:
initializeImages
in classAbstractAppTransform
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Description copied from class:AbstractAppTransform
Generates the output when the bean's status isEnumRequestStatus.WebBeanRequestSuccessful
. This is the main entry point to generate the output for those Transforms that just want to render the "regular" bean case.
This is an abstract method. All classes need to implement it.- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Transform
Returns a textual description of the transform.- Returns:
- The textual description of the transform.
-
renderBrowser
public void renderBrowser(MarkupOutput out) throws WebBeanException, WebObjectsException
Renders the Project Browser based on the information provided by the fodler bean.- Parameters:
out
- MarkupOutput- Throws:
WebBeanException
WebObjectsException
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Get the class of objects this transform is able to handle.- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractAppTransform
- Returns:
- a
Class
instance with the information about the beans this transform is able to manipulate.
-
renderHiddenInputs
public void renderHiddenInputs(MarkupOutput out)
Renders hidden input tags for each of the events as a part of a form.- Parameters:
out
-MarkupOutput
-
getForm
protected Tag getForm(Tag content)
Creates and returns a HTML FORMTag
with the contents and hidden inputs for all the associated events.
-
getHiddenInputsEventList
protected java.util.ArrayList getHiddenInputsEventList()
Returns the list of events that will be included in the hidden inputs section.- Returns:
- ArrayList
-
renderBrowserContent
public void renderBrowserContent(MarkupOutput out) throws WebObjectsException, WebBeanException
Renders the Project Browser's elements based on the information provided by the Data Explorer bean. This method is called by the renderBrowser method.- Parameters:
out
- MarkupOutput- Throws:
WebObjectsException
WebBeanException
-
renderDisplayFormatIcon
public void renderDisplayFormatIcon(MarkupOutput out)
Renders a link to change the display format of the object browser content- Parameters:
out
- MarkupOutput
-
getGoToEvent
public WebEvent getGoToEvent()
Returns the browse event associated with the DataExplorer Browser.- Returns:
WebEvent
-
getGoToArgument
public int getGoToArgument()
Returns the block begin parameter to be used in data explorer browsing.- Returns:
Integer
-
getBrowseEvent
protected WebEvent getBrowseEvent()
Returns the browse event associated with the DataExplorer Browser.- Returns:
WebEvent
-
getBrowseWithPathEvent
protected WebEvent getBrowseWithPathEvent()
Returns the Data Explorer's browse with path event.- Returns:
WebEvent
-
getSearchEvent
protected WebEvent getSearchEvent()
Returns theWebEvent
associated with the DataExplorer's Search.- Returns:
WebEvent
-
getChangeDisplayFormatEvent
protected WebEvent getChangeDisplayFormatEvent()
Returns a new instance of the event use to toggle the display format- Returns:
- WebEvent
-
getEvent
public WebEvent getEvent(WebDisplayUnit unit)
Returns the Data Explorer's browse event associated with the different object types (ex. Attributes, Elements)- Parameters:
unit
- The object who's browse event has to be retrieved.- Returns:
WebEvent
-
getTreeNodeEvent
public WebEvent getTreeNodeEvent(WebDisplayUnit unit, boolean includeCurrent)
Returns the Data Explorer's browse event for Tree Nodes associated with the different object types (ex. Attributes, Elements)- Parameters:
unit
- The object who's browse event has to be retrieved.includeCurrent
-- Returns:
WebEvent
-
renderList
public void renderList(MarkupOutput out)
Renders the DataExplorer in it's list format.- Parameters:
out
-MarkupOutput
-
renderUnit
public void renderUnit(MarkupOutput out, WebDisplayUnit unit)
Renders an item on the Data Explorer Browser.- Parameters:
out
-MarkupOutput
unit
- aWebDisplayUnit
which has to be displayed on the Data Explorer.
-
renderLayeredIconInfo
public void renderLayeredIconInfo(MarkupOutput out, WebDisplayUnit unit)
To generate layered icon for attribute item generate a SPAN tag which host background image and an inner SPAN for the layering effect in case an additional image has to be included on top of the original (for example, a shortcut arrow, a red error sign, etc).- Parameters:
out
-MarkupOutput
instance where to save the contents to displayunit
-WebDisplayUnit
to be rendered.
-
getUnitAttributes
public java.util.Map getUnitAttributes(WebDisplayUnit unit)
Returns a map of the different HTML attributes that would be added to the HTML tags denoting each item on the Data Explorer. The attributes include information like the type, tooltip information, css classes etc.- Parameters:
unit
-WebDisplayUnit
whose information is needed to create the attribute Map- Returns:
Map
-
getCssName
protected java.lang.String getCssName(WebDisplayUnit unit)
Returns the css class name which helps in getting the image associated with the different object types in the Data Explorer.- Parameters:
unit
-WebDisplayUnit
whose type has to be checked to retrieve the css class name.- Returns:
String
-
getImageName
protected java.lang.String getImageName(WebDisplayUnit unit)
Returns the image path name which helps in getting the image associated with the different object types in the Data Explorer.- Parameters:
unit
-WebDisplayUnit
whose type has to be checked to retrieve the image path name.- Returns:
String
-
getImageTooltip
protected java.lang.String getImageTooltip(WebDisplayUnit unit)
Returns the image tooltip which helps in getting the image associated with the different object types in the Data Explorer.- Parameters:
unit
-WebDisplayUnit
whose type has to be checked to generate the tooltip information.- Returns:
String
-
renderNameInfo
public void renderNameInfo(MarkupOutput out, WebDisplayUnit unit)
Renders HTML tags which contain the name and other related information of the object being rendered on the Data Explorer.- Parameters:
out
-MarkupOutput
unit
-WebDisplayUnit
whose name and other information is being rendered.
-
getDisplayUnitName
public java.lang.String getDisplayUnitName(WebDisplayUnit unit)
Returns the display name of the object being passed in as a parameter.- Parameters:
unit
-WebDisplayUnit
whose name has to be retrieved- Returns:
String
-
renderAncestorsSelector
public void renderAncestorsSelector(MarkupOutput out)
Renders a HTML pulldown which contains information of the currently browsed object's ancestors. It will show all the available parents of the currently browsed object in indented format.- Parameters:
out
-MarkupOutput
-
getFolderLinkList
public java.util.ArrayList getFolderLinkList()
-
renderFolderLinkOptions
public void renderFolderLinkOptions(MarkupOutput out)
Renders shortcuts to predefined Folder Links as HTML option tags in the Data Explorer's ancestor pull down.- Parameters:
out
-MarkupOutput
-
renderOpenParentLink
public void renderOpenParentLink(MarkupOutput out)
-
renderSearchSection
public void renderSearchSection(MarkupOutput out)
Renders a text box which allows the user to perform a search on the Data Explorer.- Parameters:
out
-MarkupOutput
-
renderSearchButton
public void renderSearchButton(MarkupOutput out)
Renders a Magnifier image as the search/filter button of the browser- Parameters:
out
- MarkupOutput
-
renderSearchBox
public void renderSearchBox(MarkupOutput out)
Renders the search box for the project browser- Parameters:
out
- MarkupOutput
-
isSearchDefined
protected boolean isSearchDefined()
-
getSearchObject
protected WebSearch getSearchObject()
-
getSearchPatternArgument
protected java.lang.String getSearchPatternArgument(WebEvent searchEvent)
-
getSearchCSSClassName
protected java.lang.String getSearchCSSClassName()
-
getIncrementalFetchComponent
protected IncrementalFetch getIncrementalFetchComponent()
-
renderIncrementalFetch
public void renderIncrementalFetch(MarkupOutput out)
Renders the incremental fetch links for the browse list, including the images.- Parameters:
out
-MarkupOutput
instance which includes the HTML for the header of the table to be used on the transform
-
getBlockPosition
protected int getBlockPosition()
-
getBlockSize
protected int getBlockSize()
-
getChildCount
protected int getChildCount()
-
renderObjectCount
public void renderObjectCount(MarkupOutput out)
Renders the number of objects currently being displayed on the Data Explorer.- Parameters:
out
-MarkupOutput
-
isRenderAsTree
protected boolean isRenderAsTree()
-
populateTreeNodes
protected void populateTreeNodes(WebDisplayUnits children, TreeNode parentNode)
-
generateIncrementalFetchNode
protected TreeNode generateIncrementalFetchNode(int direction)
-
createNewNode
protected TreeNode createNewNode(java.lang.Object childObj, boolean isExpanded)
Creates a new tree node with the information about the object. This is called when the Data Explorer is displayed in the tree format.- Parameters:
childObj
-Object
whose information is used to create the new tree node.isExpanded
- a boolean parameter which tells us whether the newly created node has to be left expanded or collapsed.- Returns:
TreeNode
-
newTreeNode
protected TreeNode newTreeNode(WebDisplayUnit object)
Creates and populates a single tree node
-
getContext
protected TransformContext getContext()
Description copied from class:AbstractAppTransform
Returns the instance of TransformContext with context information for this Transform.- Overrides:
getContext
in classAbstractAppTransform
- See Also:
AbstractAppTransform.getContextMenu(java.lang.String)
-
-