DimensionFilter

Namespace: PP.Mb;

Inheritance hierarchy

Object

ElsFilter

DimensionFilter

Description

The DimensionFilter class implements filter of dimension elements.

Syntax

PP.initClass(PP.Mb.DimensionFilter, PP.Mb.ElsFilter, "PP.Mb.DimensionFilter");

Constructor

   Name Brief description
DimensionFilter The DimensionFilter constructor creates an instance of the DimensionFilter class.

Properties

   Property name Brief description
OnlySelected The OnlySelected property determines filtering of only selected dimension elements.
OnlyWithData The OnlyWithData property determines only filtering of dimension elements with data.
OrderBy The OrderBy property determines sorting settings for dimension elements.

Methods

   Method name Brief description
getOrderByJSON The getOrderByJSON method returns sorting settings for dimension elements in JSON format.

Properties inherited from the class ElsFilter

  Property name Brief description
IncludeParents The IncludeParents property determines including of the parent elements to filtering result.
IncludeParentsWithSiblings The IncludeParentsWithSiblings property determines including of parent elements and their neighbor elements to filtering result.
MbJSONDelegate The MbJSONDelegate property determines JSON generation handler by the ElsFilter.getFilterJSON method.
TextAttributes The TextAttributes property returns array of attributes' identifiers, by which filtering is executed.
TextCaseSensitive The TextCaseSensitive method determines whether filtering by attributes is case-sensitive.
TextValue The TextValue method determines search bar on filtering by attributes.
TextWholeWordsOnly The TextWholeWordsOnly property determines search only by whole words on element filtering.

Methods inherited from the class ElsFilter

  Method name Brief description
getFilterJSON The getFilterJSON method returns filtering settings in the format: tns_PP7_SOM:ElsFilter.
getHash The getHash method returns an hash string that contains filtering parameters.
IsCustomHash The isCustomHash method determines whether hash is set by the user.
setCustomHash The setCustomHash method sets hash string of filter.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Mb