Class SearchSimpleTransform
- java.lang.Object
-
- com.microstrategy.web.transform.AbstractTransform
-
- com.microstrategy.web.transform.AbstractLayoutTransform
-
- com.microstrategy.web.app.transforms.AbstractAppTransform
-
- com.microstrategy.web.app.transforms.SearchSimpleTransform
-
- All Implemented Interfaces:
AppTransform
,LayoutTransform
,Transform
- Direct Known Subclasses:
SearchSuggestTransform
public class SearchSimpleTransform extends AbstractAppTransform implements LayoutTransform
Transform for the search page- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
AbstractAppTransform.Context
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
CLASS_FOLDER_NAME
protected static java.lang.String
CLASS_INVALID_FIELD
protected static java.lang.String
CLASS_REQUIRED
protected static java.lang.String
CLASS_SECTION_NAME
protected static java.lang.String
DIV_DATES
protected static java.lang.String
DIV_DESCRIPTION
protected static java.lang.String
DIV_LOCATION
protected static java.lang.String
DIV_LOCATION_TITLE
protected static java.lang.String
DIV_NAME
protected static java.lang.String
DIV_NAME_OPTIONS
protected static java.lang.String
DIV_OWNER
protected static java.lang.String
DIV_TYPES
FormalParameter
imgCalendar
Specifies the image file name used by the transform to display the calendar button in DHTML mode.-
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 SearchSimpleTransform()
Default no-args constructor, initialize formal parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected AnchorTag
generateAnchor(WebEvent event)
Creates an<a>
tag from the EventManager.GGCalendar
getCalendar(java.lang.String imgCalendar)
getCalendarprotected WebEvent
getCancelEvent()
java.lang.String
getDescription()
Returns a textual description of the transform.protected WebEvent
getNewSearchEvent()
protected WebEvent
getRefreshEvent()
protected SearchBean
getSearchBean()
java.lang.Class
getSupportedBeanType()
Returns the supported bean type.protected WebEvent
getSwitchSearchModeEvent()
boolean
hasCurrentSearchFolder()
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.boolean
isTypeSelected(int type)
void
renderAdvancedNameSection(MarkupOutput out)
Renders the advanced search name input box including the string contraints dorpdown box.void
renderDateAdvancedFindAllObjectsWithSpecifiedDates(MarkupOutput out)
Renders the Find All Objects with Dates in Dates sectionvoid
renderDateForPreviousTimeUnits(MarkupOutput out)
Renders the "During Previous ## Hours/Days/Weeks/Months/Years"void
renderDateSimpleFindAllObject(MarkupOutput out)
Renders the simple option of find all objects without the specific datesvoid
renderDatesSection(MarkupOutput out)
Renders the date sectionvoid
renderDateStartAndEndDate(MarkupOutput out)
Renders the start date and end datevoid
renderDateTitle(MarkupOutput out)
Renders the title for dates sectionvoid
renderDescriptionSection(MarkupOutput out)
Renders the complete description sectionvoid
renderDescriptionTextArea(MarkupOutput out)
Renders the text area for description sectionvoid
renderDescriptionTitle(MarkupOutput out)
, Renders the description section titlevoid
renderDivEnd(MarkupOutput out, java.lang.String name)
Renders a transform'sDIV
tag end, i.e.:</DIV>
To work properly, thename
argument must be one of the of theDIV_
constants of this transform.void
renderDivStart(MarkupOutput out, java.lang.String name)
Renders a transform'sDIV
tag start.void
renderFieldName(MarkupOutput out, java.lang.String field)
Renders the name of a search field.void
renderFieldName(MarkupOutput out, java.lang.String field, java.lang.String forField)
Renders the name of a search field.void
renderFindAllObjectsWithCreatedOrModified(MarkupOutput out)
Renders the advanced option for Find All Objects with the Created/Modified combo boxvoid
renderFullAdvancedLocationSection(MarkupOutput out)
Renders the complete location section for advanced searchvoid
renderFullSimpleLocationSection(MarkupOutput out)
Renders the complete location section for simple searchvoid
renderImage(MarkupOutput out, java.lang.String image)
Renders a transform's imagevoid
renderJavaScriptFooter(MarkupOutput out)
Renders javascript variables at the bottom of the transform to be used in DHTML mode.void
renderLocationRadioButtons(MarkupOutput out)
Renders the available search locations as radio buttonsvoid
renderLocationSection(MarkupOutput out)
Deprecated.Please use renderFullSimpleLocationSection or renderFullAdvancedLocationSectionvoid
renderLocationTitle(MarkupOutput out)
Renders the location section with the horizontal divider i.e. used for advanced search formvoid
renderNameSection(MarkupOutput out)
Deprecated.Please use renderSimpleNameSection or renderAdvancedNameSectionvoid
renderNewSearchLink(MarkupOutput out)
Render a link that will clean the user's search criteria.void
renderOwnerCreatedByAnyUser(MarkupOutput out)
Renders the option of "created by any user" in the owner sectionvoid
renderOwnerCreatedOnlyByMe(MarkupOutput out)
Renders the option of "created only by me" in the owner secctionvoid
renderOwnerSection(MarkupOutput out)
Renders the complete owner sectionvoid
renderOwnerTitle(MarkupOutput out)
Renders the owner section titleprotected void
renderProcessingButton(MarkupOutput out, WebEvent event, java.lang.String buttonDescriptor)
Overwrites the super's implementation to make the buttons on the wait page use Typical state.void
renderProcessingButtons(MarkupOutput out)
Renders the buttons displayed to the end user when the request is still processing (for example, in the wait page).void
renderProcessingInfo(MarkupOutput out)
Transform when the status is "In Processing".void
renderRequiredLabelForSearchName(MarkupOutput out)
Renders the "Required" label for the search namevoid
renderSearchDetails(MarkupOutput out)
Displays the details of the criteria used for the search.void
renderSearchLocationAllFolders(MarkupOutput out)
Renders the search location option for all foldersvoid
renderSearchLocationCurrentFolder(MarkupOutput out)
Renders the search location option for the current foldervoid
renderSearchLocationMyReportFolder(MarkupOutput out)
Renders the search location option for "my report" foldervoid
renderSearchLocationSharedReportsFolder(MarkupOutput out)
Renders the search location option for "Shared Report" foldervoid
renderSearchNameTextInputBox(MarkupOutput out)
Renders the search string input text boxvoid
renderSearchNameTitle(MarkupOutput out)
Renders the title for the name sectionvoid
renderSearchObjectTypeCustomGroups(MarkupOutput out)
Renders the search object type option for filtersvoid
renderSearchObjectTypeDocuments(MarkupOutput out)
Renders the search object type option for Documentsvoid
renderSearchObjectTypeFilters(MarkupOutput out)
Renders the search object type option for filtersvoid
renderSearchObjectTypeFolders(MarkupOutput out)
Renders the search object type option for foldersvoid
renderSearchObjectTypeGroups(MarkupOutput out)
Renders the search object type option for groupsvoid
renderSearchObjectTypeHTMLDocuments(MarkupOutput out)
Renders the search object type option for HTML Documentsvoid
renderSearchObjectTypePrompts(MarkupOutput out)
Renders the search object type option for Documentsvoid
renderSearchObjectTypeReports(MarkupOutput out)
Renders the search object type option for Reportsvoid
renderSearchObjectTypeSecurityRoles(MarkupOutput out)
Renders the search object type option for security rolesvoid
renderSearchObjectTypeShortcuts(MarkupOutput out)
Renders the search object type option for Documentsvoid
renderSearchObjectTypeTemplates(MarkupOutput out)
Renders the search object type option for templatesvoid
renderSearchObjectTypeUsers(MarkupOutput out)
Renders the search object type option for usersvoid
renderSearchOptionsDerefrenceShortcut(MarkupOutput out)
, Renders the search option DerefrenceShortcut checkboxesvoid
renderSearchOptionsTitle(MarkupOutput out)
, Renders the search options section titlevoid
renderSearchStringConstraintsComboBox(MarkupOutput out)
Renders the string constraints dropdown for the name sectionvoid
renderSearchTypeLink(MarkupOutput out)
void
renderSimpleNameSection(MarkupOutput out)
Renders the search name input box without the string constraints drop down box, ie.contains, begins with and etc.void
renderSpanEnd(MarkupOutput out, java.lang.String className)
Renders a transform'sSPAN
tag end, i.e.:</DIV >
void
renderSpanStart(MarkupOutput out, java.lang.String className)
Renders a transform'sSPAN
tag start.void
renderTypesSection(MarkupOutput out)
Renders the complete search type sectionvoid
renderTypeTitle(MarkupOutput out)
Renders the type section titlevoid
transformForRequestSuccessful(MarkupOutput out)
Transform when the status is "Successful".-
Methods inherited from class com.microstrategy.web.app.transforms.AbstractAppTransform
addContactInfo, addDynamicScriptClass, addDynamicScriptFile, addFormalParameter, checkLevel, checkProcessingButtonsFlag, checkProcessingInfoFlag, checkStatus, displayError, displayError, displayError, emptyCell, excludeStaticTags, generateAnchorForExport, generateHiddenInputsForEvent, generateIFrameTag, getAppContext, getArgumentName, getAttributesShellDiv, getBeanPath, getBoneId, getClientSideHelper, getContainerServices, getContext, 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, getRequestKeys, getResourcesFolder, getScriptClass, getStringValue, getStyleRequestContext, getStyleShellDiv, getTagsFactory, getTimeFormat, getUnitsLabel, getWebBeanErrorInfo, hasSubBlock, initHeightAndWidthFromPreferences, initializeCss, initializeWebComponent, is508, isBlockMode, isContextMenusEnabled, isDhtml, isDialog, isDormant, isFeatureAvailable, isIFrameDisplayMode, isIFrameEnabled, isIFrameRequest, isJobExpired, isModal, isOpen, isPortlet, isTrue, localIsIFrameDisplayMode, newContext, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, redirectToDisplayError, redirectToDisplayError, renderBean, renderBean, renderBean, renderBean, renderCancelButton, renderContextMenus, renderCssLink, renderDescriptor, renderDescriptor, renderErrorButton, renderHiddenInputFromRequest, renderLayout, renderProcessingButton, renderProcessingButton, renderProcessingButtonForGet, renderProcessingButtonForGet, 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.LayoutTransform
getLayoutDefinition, setLayoutDefinition
-
Methods inherited from interface com.microstrategy.web.transform.Transform
canTransform, getFormalParams, getID, getPreview, isPreviewAvailable, isResolved, supports, supports, transform
-
-
-
-
Field Detail
-
imgCalendar
public FormalParameter imgCalendar
Specifies the image file name used by the transform to display the calendar button in DHTML mode.
This image should be contained in the images folder of the application.
Usage:
For example, if you want to specify a different image for the calendar button, you would need to copy it to the images folder and then specify its name in this formal parameter.
-
CLASS_SECTION_NAME
protected static final java.lang.String CLASS_SECTION_NAME
- See Also:
- Constant Field Values
-
CLASS_FOLDER_NAME
protected static final java.lang.String CLASS_FOLDER_NAME
- See Also:
- Constant Field Values
-
CLASS_REQUIRED
protected static final java.lang.String CLASS_REQUIRED
- See Also:
- Constant Field Values
-
CLASS_INVALID_FIELD
protected static final java.lang.String CLASS_INVALID_FIELD
- See Also:
- Constant Field Values
-
DIV_NAME
protected static final java.lang.String DIV_NAME
- See Also:
- Constant Field Values
-
DIV_NAME_OPTIONS
protected static final java.lang.String DIV_NAME_OPTIONS
- See Also:
- Constant Field Values
-
DIV_LOCATION
protected static final java.lang.String DIV_LOCATION
- See Also:
- Constant Field Values
-
DIV_LOCATION_TITLE
protected static final java.lang.String DIV_LOCATION_TITLE
- See Also:
- Constant Field Values
-
DIV_TYPES
protected static final java.lang.String DIV_TYPES
- See Also:
- Constant Field Values
-
DIV_DATES
protected static final java.lang.String DIV_DATES
- See Also:
- Constant Field Values
-
DIV_OWNER
protected static final java.lang.String DIV_OWNER
- See Also:
- Constant Field Values
-
DIV_DESCRIPTION
protected static final java.lang.String DIV_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSearchBean
protected SearchBean getSearchBean()
-
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.
-
renderProcessingInfo
public void renderProcessingInfo(MarkupOutput out)
Transform when the status is "In Processing".- Overrides:
renderProcessingInfo
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.transformForRequestProcessing(com.microstrategy.web.beans.MarkupOutput)
-
renderProcessingButtons
public void renderProcessingButtons(MarkupOutput out)
Description copied from class:AbstractAppTransform
Renders the buttons displayed to the end user when the request is still processing (for example, in the wait page). By default renders a "Check Status" button, associated with a EnumPageEvents.WebEventRefresh event, and a "Cancel this Request" buttons associated with a EnumServletEvents.WebEventCancel event.- Overrides:
renderProcessingButtons
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.transformForRequestProcessing(com.microstrategy.web.beans.MarkupOutput)
-
renderProcessingButton
protected void renderProcessingButton(MarkupOutput out, WebEvent event, java.lang.String buttonDescriptor)
Overwrites the super's implementation to make the buttons on the wait page use Typical state.- Overrides:
renderProcessingButton
in classAbstractAppTransform
- Parameters:
out
- the output for the transformevent
- event for the buttonbuttonDescriptor
- the buton's descriptor- Since:
- MicroStrategy Web 8.1.0
-
getCancelEvent
protected WebEvent getCancelEvent()
- Overrides:
getCancelEvent
in classAbstractAppTransform
- Returns:
WebEvent
instance initialized with the information for cancelling a request- Since:
- MicroStrategy Web 8.1.0
-
getRefreshEvent
protected WebEvent getRefreshEvent()
- Overrides:
getRefreshEvent
in classAbstractAppTransform
- Returns:
WebEvent
instance initialized with the information for refreshing the request- Since:
- MicroStrategy Web 8.1.0
-
transformForRequestSuccessful
public void transformForRequestSuccessful(MarkupOutput out)
Transform when the status is "Successful".- Specified by:
transformForRequestSuccessful
in classAbstractAppTransform
- Parameters:
out
- output by this transform- See Also:
AbstractAppTransform.checkStatus(com.microstrategy.web.beans.MarkupOutput)
-
generateAnchor
protected AnchorTag generateAnchor(WebEvent event)
Description copied from class:AbstractAppTransform
Creates an<a>
tag from the EventManager.- Overrides:
generateAnchor
in classAbstractAppTransform
- Parameters:
event
- the WebEvent to generate the link with the request- Returns:
AnchorTag
instance initialized with the information from the event- Since:
- MicroStrategy Web 8.0.0
-
renderNewSearchLink
public void renderNewSearchLink(MarkupOutput out)
Render a link that will clean the user's search criteria.- Since:
- MicroStrategy Web 8.0.0
-
getNewSearchEvent
protected WebEvent getNewSearchEvent()
- Since:
- MicroStrategy Web 9.0.0
-
getSwitchSearchModeEvent
protected WebEvent getSwitchSearchModeEvent()
- Since:
- MicroStrategy Web 8.0.1
-
renderSearchTypeLink
public void renderSearchTypeLink(MarkupOutput out)
- Since:
- MicroStrategy Web 8.0.0
-
renderJavaScriptFooter
public void renderJavaScriptFooter(MarkupOutput out)
Renders javascript variables at the bottom of the transform to be used in DHTML mode.- Parameters:
out
- where to write the output of the method.
-
renderNameSection
@Deprecated public void renderNameSection(MarkupOutput out)
Deprecated.Please use renderSimpleNameSection or renderAdvancedNameSectionRenders the name section- Parameters:
out
-
-
renderSimpleNameSection
public void renderSimpleNameSection(MarkupOutput out)
Renders the search name input box without the string constraints drop down box, ie.contains, begins with and etc.- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderAdvancedNameSection
public void renderAdvancedNameSection(MarkupOutput out)
Renders the advanced search name input box including the string contraints dorpdown box.- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderRequiredLabelForSearchName
public void renderRequiredLabelForSearchName(MarkupOutput out)
Renders the "Required" label for the search name- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchNameTextInputBox
public void renderSearchNameTextInputBox(MarkupOutput out)
Renders the search string input text box- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchNameTitle
public void renderSearchNameTitle(MarkupOutput out)
Renders the title for the name section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchStringConstraintsComboBox
public void renderSearchStringConstraintsComboBox(MarkupOutput out)
Renders the string constraints dropdown for the name section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderLocationSection
@Deprecated public void renderLocationSection(MarkupOutput out)
Deprecated.Please use renderFullSimpleLocationSection or renderFullAdvancedLocationSectionRenders the location section- Parameters:
out
-
-
renderFullSimpleLocationSection
public void renderFullSimpleLocationSection(MarkupOutput out)
Renders the complete location section for simple search- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderFullAdvancedLocationSection
public void renderFullAdvancedLocationSection(MarkupOutput out)
Renders the complete location section for advanced search- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderLocationRadioButtons
public void renderLocationRadioButtons(MarkupOutput out)
Renders the available search locations as radio buttons- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchLocationMyReportFolder
public void renderSearchLocationMyReportFolder(MarkupOutput out)
Renders the search location option for "my report" folder- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchLocationSharedReportsFolder
public void renderSearchLocationSharedReportsFolder(MarkupOutput out)
Renders the search location option for "Shared Report" folder- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchLocationCurrentFolder
public void renderSearchLocationCurrentFolder(MarkupOutput out)
Renders the search location option for the current folder- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
hasCurrentSearchFolder
public boolean hasCurrentSearchFolder()
- Returns:
- boolean
- Since:
- MicroStrategy Web 8.0.1
-
renderSearchLocationAllFolders
public void renderSearchLocationAllFolders(MarkupOutput out)
Renders the search location option for all folders- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderLocationTitle
public void renderLocationTitle(MarkupOutput out)
Renders the location section with the horizontal divider i.e. used for advanced search form- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderTypesSection
public void renderTypesSection(MarkupOutput out)
Renders the complete search type section- Parameters:
out
-
-
renderTypeTitle
public void renderTypeTitle(MarkupOutput out)
Renders the type section title- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeTemplates
public void renderSearchObjectTypeTemplates(MarkupOutput out)
Renders the search object type option for templates- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeFilters
public void renderSearchObjectTypeFilters(MarkupOutput out)
Renders the search object type option for filters- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeCustomGroups
public void renderSearchObjectTypeCustomGroups(MarkupOutput out)
Renders the search object type option for filters- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeFolders
public void renderSearchObjectTypeFolders(MarkupOutput out)
Renders the search object type option for folders- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeHTMLDocuments
public void renderSearchObjectTypeHTMLDocuments(MarkupOutput out)
Renders the search object type option for HTML Documents- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeDocuments
public void renderSearchObjectTypeDocuments(MarkupOutput out)
Renders the search object type option for Documents- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypePrompts
public void renderSearchObjectTypePrompts(MarkupOutput out)
Renders the search object type option for Documents- Parameters:
out
-- Since:
- MicroStrategy Web 9.0.0
-
renderSearchObjectTypeReports
public void renderSearchObjectTypeReports(MarkupOutput out)
Renders the search object type option for Reports- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchObjectTypeUsers
public void renderSearchObjectTypeUsers(MarkupOutput out)
Renders the search object type option for users- Parameters:
out
-- Since:
- MicroStrategy Web 9.0.0
-
renderSearchObjectTypeGroups
public void renderSearchObjectTypeGroups(MarkupOutput out)
Renders the search object type option for groups- Parameters:
out
-- Since:
- MicroStrategy Web 9.0.0
-
renderSearchObjectTypeSecurityRoles
public void renderSearchObjectTypeSecurityRoles(MarkupOutput out)
Renders the search object type option for security roles- Parameters:
out
-- Since:
- MicroStrategy Web 9.0.0
-
renderSearchObjectTypeShortcuts
public void renderSearchObjectTypeShortcuts(MarkupOutput out)
Renders the search object type option for Documents- Parameters:
out
-- Since:
- MicroStrategy Web 9.0.0
-
isTypeSelected
public boolean isTypeSelected(int type)
-
renderDatesSection
public void renderDatesSection(MarkupOutput out)
Renders the date section- Parameters:
out
-
-
renderDateAdvancedFindAllObjectsWithSpecifiedDates
public void renderDateAdvancedFindAllObjectsWithSpecifiedDates(MarkupOutput out)
Renders the Find All Objects with Dates in Dates section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDateStartAndEndDate
public void renderDateStartAndEndDate(MarkupOutput out)
Renders the start date and end date- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDateForPreviousTimeUnits
public void renderDateForPreviousTimeUnits(MarkupOutput out)
Renders the "During Previous ## Hours/Days/Weeks/Months/Years"- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderFindAllObjectsWithCreatedOrModified
public void renderFindAllObjectsWithCreatedOrModified(MarkupOutput out)
Renders the advanced option for Find All Objects with the Created/Modified combo box- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDateSimpleFindAllObject
public void renderDateSimpleFindAllObject(MarkupOutput out)
Renders the simple option of find all objects without the specific dates- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDateTitle
public void renderDateTitle(MarkupOutput out)
Renders the title for dates section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderOwnerSection
public void renderOwnerSection(MarkupOutput out)
Renders the complete owner section- Parameters:
out
-
-
renderOwnerCreatedOnlyByMe
public void renderOwnerCreatedOnlyByMe(MarkupOutput out)
Renders the option of "created only by me" in the owner secction- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderOwnerCreatedByAnyUser
public void renderOwnerCreatedByAnyUser(MarkupOutput out)
Renders the option of "created by any user" in the owner section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderOwnerTitle
public void renderOwnerTitle(MarkupOutput out)
Renders the owner section title- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDescriptionSection
public void renderDescriptionSection(MarkupOutput out)
Renders the complete description section- Parameters:
out
-
-
renderDescriptionTextArea
public void renderDescriptionTextArea(MarkupOutput out)
Renders the text area for description section- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderDescriptionTitle
public void renderDescriptionTitle(MarkupOutput out)
, Renders the description section title- Parameters:
out
-- Since:
- MicroStrategy Web 8.0.1
-
renderSearchOptionsTitle
public void renderSearchOptionsTitle(MarkupOutput out)
, Renders the search options section title- Parameters:
out
-- Since:
- MicroStrategy Web 9.1.0
-
renderSearchOptionsDerefrenceShortcut
public void renderSearchOptionsDerefrenceShortcut(MarkupOutput out)
, Renders the search option DerefrenceShortcut checkboxes- Parameters:
out
-- Since:
- MicroStrategy Web 9.1.0
-
renderSearchDetails
public void renderSearchDetails(MarkupOutput out)
Displays the details of the criteria used for the search.- Parameters:
out
- output by this transform
-
renderImage
public void renderImage(MarkupOutput out, java.lang.String image)
Renders a transform's image- Overrides:
renderImage
in classAbstractAppTransform
- Parameters:
out
- where to write the output of the method.image
- the image name
-
renderFieldName
public void renderFieldName(MarkupOutput out, java.lang.String field, java.lang.String forField)
Renders the name of a search field. This function checks if the field is valid and if it is required. To work properly, theclassName
argument must be one of the of theSearchBean
FIELD_
constants.- Parameters:
out
- where to write the output of the method.field
- the field's nameforField
- the for attribute in the label *- Since:
- MicroStrategy Web 8.0.0
-
renderFieldName
public void renderFieldName(MarkupOutput out, java.lang.String field)
Renders the name of a search field. This function checks if the field is valid and if it is required. To work properly, theclassName
argument must be one of the of theSearchBean
FIELD_
constants.- Parameters:
out
- where to write the output of the method.field
- the field's name
-
renderSpanStart
public void renderSpanStart(MarkupOutput out, java.lang.String className)
Renders a transform'sSPAN
tag start. For all tags it generates:
<SPAN CLASS="className">
This method automatically adds the prefix to all the classNames.
To work properly, theclassName
argument must be one of the of theCLASS_
constants of this transform.- Parameters:
out
- where to write the output of the method.className
- the css class to use with this span
-
renderSpanEnd
public void renderSpanEnd(MarkupOutput out, java.lang.String className)
Renders a transform'sSPAN
tag end, i.e.:</DIV >
- Parameters:
out
- where to write the output of the method.className
- the css class to use with this span
-
renderDivStart
public void renderDivStart(MarkupOutput out, java.lang.String name)
Renders a transform'sDIV
tag start. For all tags it generates:
<DIV ID="name">
To work properly, thename
argument must be one of the of theDIV_
constants of this transform.
DIV
tags will not be rended in HTML only mode.- Parameters:
out
- where to write the output of the method.name
- the id to use with this div
-
renderDivEnd
public void renderDivEnd(MarkupOutput out, java.lang.String name)
Renders a transform'sDIV
tag end, i.e.:</DIV>
To work properly, thename
argument must be one of the of theDIV_
constants of this transform.- Parameters:
out
- where to write the output of the method.name
- the id to use with this div
-
initializeImages
public void initializeImages()
Initialize the images to be used by this transform.- Overrides:
initializeImages
in classAbstractAppTransform
-
getCalendar
public GGCalendar getCalendar(java.lang.String imgCalendar)
getCalendar
-
getDescription
public java.lang.String getDescription()
Description copied from interface:Transform
Returns a textual description of the transform.- Specified by:
getDescription
in interfaceTransform
- Returns:
- The textual description of the transform.
-
getSupportedBeanType
public java.lang.Class getSupportedBeanType()
Description copied from class:AbstractAppTransform
Returns the supported bean type. This abstract Transform supports allWebComponents
so every sub-class should override this method to return the class of theBean
the Transform is expecting, for example:public class CustomReportClass extends AbstractAppTransform { public Class getSupportedBeanType() { //This Transform is expected to work only with a ReportBean, //therefore this method needs to return this class: return ReportBean.class; } }
- Specified by:
getSupportedBeanType
in interfaceTransform
- Overrides:
getSupportedBeanType
in classAbstractAppTransform
- Returns:
- a root class/interface supported by this transform.
-
-