class sap.m.p13n.QueryPanel

Control sample: sap.m.p13n.QueryPanel
Visiblity: restricted
UX Guidelines:
Implements:
Available since: N/A
Module: sap/m/p13n/QueryPanel
Application Component: CA-UI5-CTR

This control serves as base class for a query builder like personalization implementation.


Constructor

Constructor for a new QueryPanel.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject#constructor for a general description of the syntax of the settings object.

new sap.m.p13n.QueryPanel(sId?, mSettings?)
Param Type Default Value Description
sId? string

ID for the new control, generated automatically if no ID is given

mSettings? object

Initial settings for the new control


Properties

Name Type Default Value Description
queryLimit int -1 Visibility: public

Borrowed Properties

Name Type Default Value Description
enableReorder boolean true

Determines whether the reordering of personalization items should be enabled.

Visibility: public

Borrowed Aggregations

Name Cardinality Type Description
messageStrip 0..1 sap.m.MessageStrip

Defines an optional message strip to be displayed in the content area


Methods Overview

Method Description
sap.m.p13n.QueryPanel.extend

Creates a new subclass of class sap.m.p13n.QueryPanel with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.p13n.BasePanel.extend.

sap.m.p13n.QueryPanel.getMetadata

Returns a metadata object for class sap.m.p13n.QueryPanel.

getQueryLimit

Gets current value of property queryLimit.

Default value is -1.

setQueryLimit

Sets a new value for property queryLimit.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is -1.

sap.m.p13n.QueryPanel.extend

Creates a new subclass of class sap.m.p13n.QueryPanel with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.m.p13n.BasePanel.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

sap.m.p13n.QueryPanel.getMetadata

Returns a metadata object for class sap.m.p13n.QueryPanel.

getQueryLimit

Gets current value of property queryLimit.

Default value is -1.

setQueryLimit

Sets a new value for property queryLimit.

When called with a value of null or undefined, the default value of the property will be restored.

Default value is -1.

Param Type DefaultValue Description
iQueryLimit int -1

New value for property queryLimit