Class ecm.widget.search.SearchMoreOptions


Extends dijit._WidgetBase.
Provides a widget that displays additional options for a search. The additional options include the object type, version, join relationship of the property, and text conditions.
Defined in: <ecm\widget\search\SearchMoreOptions.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
The boolean value that controls the visibility of the content size filter.
 
The boolean value that controls the visibility of the file type filter.
 
label 
The label of the widget.
 
The boolean value that controls visibility of the object type option.
 
The boolean value that controls visibility of the property text option.
 
The boolean value that controls visibility of property text readonly option.
 
The boolean value that controls the visibility of the action filter.
<static>  
ecm.widget.search.SearchMoreOptions.VERSION_OPTION 
Version option values.
 
The boolean value that controls visibility of the version option.
 
The boolean value that controls the visibility of the work item filter.

Method Summary

Method Attributes Method Name and Description
 
The constructor.
 
Gets all selected options.
 
Initializes the widget.
 
Returns true if object type option is hidden.
 
Returns true if version option is hidden.
 
onObjectTypeChange(objectType)
Launches when object type is changed.
 
Resizes the widget.
 
Restores all options of the widget.
 
Saves all options of the widget.
 
setSelectedOptions(options, noSummary)
Sets all selected options values.
 
Sets the text property option hidden of not.
 
Sets the version option to disabled or enabled.

Constructor Detail

ecm.widget.search.SearchMoreOptions()

Field Detail

contentSizeOptionHidden

The boolean value that controls the visibility of the content size filter.
Since:
2.0.3.5

fileTypeOptionHidden

The boolean value that controls the visibility of the file type filter.

label

The label of the widget.

objectTypeOptionHidden

The boolean value that controls visibility of the object type option.

propertyTextOptionHidden

The boolean value that controls visibility of the property text option.

propertyTextReadOnlyOptionHidden

The boolean value that controls visibility of property text readonly option.

userActionOptionHidden

The boolean value that controls the visibility of the action filter.

<static> ecm.widget.search.SearchMoreOptions.VERSION_OPTION

Version option values.

versionOptionHidden

The boolean value that controls visibility of the version option.

workOptionHidden

The boolean value that controls the visibility of the work item filter.
Since:
2.0.3

Method Detail

constructor()

The constructor.

getSelectedOptions()

Gets all selected options.
Returns:
An object that contains all selected options as parameters.

initialize()

Initializes the widget.

isObjectTypeOptionHidden()

Returns true if object type option is hidden.
Since:
2.0.3.6

isVersionOptionHidden()

Returns true if version option is hidden.
Since:
2.0.3.6

onObjectTypeChange(objectType)

Launches when object type is changed.
Parameters:
objectType

resize()

Resizes the widget.

restoreOptions()

Restores all options of the widget.

saveOptions()

Saves all options of the widget.

setSelectedOptions(options, noSummary)

Sets all selected options values.
Parameters:
options
A object contains all selected options as parameters.
noSummary
A boolean- if true option value is not summarized otherwise it is.

setTextPropertyOptionHidden(hidden)

Sets the text property option hidden of not.
Parameters:
hidden
Boolean value of the text property option status. true means hidden. false means visible.

setVersionOptionDisabled(disabled)

Sets the version option to disabled or enabled..
Parameters:
disabled
Boolean value of the version option status need to be set. true means disabled. false means enabled.