DimSource

Namespace: PP.Mb;

Inheritance Hierarchy

PP.Object

    PP.Mb.Descriptor

        PP.Mb.Object

            PP.Mb.DimSource

Description

The DimSource class implements the dictionary model.

Syntax

PP.initClass(PP.Mb.DimSource, PP.Mb.Object, "PP.Mb.DimSource");

Constructor

  Constructor name Brief description
sub_image.gif DimSource The DimSource constructor creates an instance of the DimSource class.

Methods

  Method name Brief description
addSelection The addSelection method adds a moniker to work with alternative dimension selection.
clearDimItems The clearDimItems method clears the list of uploaded dictionary elements.
getActiveGroup The getActiveGroup method returns active dimension group.
getActiveHierarchy The getActiveHierarchy method returns active alternative dimension hierarchy.
getActiveSchema The getActiveSchema method returns active dimension selection schema.
getAllSelections The getAllSelections method returns array of stored dimension selections in the moniker string of repository object.
getAttributeIndex The getAttributeIndex method returns index of dictionary attribute by identifier.
getAttributes The getAttributes method returns array of dictionary attributes.
getCalendarLevels The getCalendarLevels method returns selection of calendar dimension elements.
getChildEls The getChildEls method returns children elements array of selected element by key.
getChildrenCount The getChildrenCount method returns number of dictionary children elements.
getDefaultFilter The getDefaultFilter method returns basic filter of dimension elements.
getElem The getElem method returns JSON object of the dictionary element.
getElems The getElems method returns arrays of loaded dictionary elements.
getErrorInfo The getErrorInfo method returns information about error in dimension structure.
getFirstSelectedText The getFirstSelectedText method returns text of the first selected element.
getGroups The getGroups method returns information about all groups of dictionary elements.
getHierarchies The getHierarchies method returns description of alternative hierarchies for dictionary.
getIndexes The getIndexes method returns dictionary elements indexes.
getIsAllElsLoaded The getIsAllElsLoaded method returns all dictionary elements with children ones.
getIsDataLoading The getIsDataLoading method returns result of dictionary elements loading.
getIsElUpdated The getIsElUpdated method returns dictionary element state by key.
getIsEmpty The getIsEmpty method returns results checking whether there are elements in dictionary.
getIsPlain The getIsPlain method returns result of checking whether there are children elements in MDM dictionary.
getIsSelInfoUpdated The getIsSelInfoUpdated method returns synchronization result of dimension selection.
getIsStateLoading The getIsStateLoading method returns loading state of dimension elements.
getLastSelectedText The getLastSelectedText method returns text of the last selected element.
getLevels The getLevels method returns array of dictionary levels.
getLoadedAttributes The getLoadedAttributes method returns list of loaded attributes to dimension models.
getPredefinedAttributeId The getPredefinedAttributeId method returns identifier of predefined attribute in dimension model.
getPredefinedAttributes The getPredefinedAttributes method returned predefined attributes in dimension model.
getSchemas The getSchemas method returns information about all available selection schemas for the dictionary.
getSelectedCount The getSelectedCount method returns the number of selected segments of dimension selection.
getSelectedGroup The getSelectedGroup method returns selected group of dimension elements.
getSelectionInfo The getSelectionInfo method returns information about selected elements of dimension selection.
getTotalCount The getTotalCount method returns maximum number of dictionary elements.
increaseState The increaseState increases state counter of dimension model.
isCalendar The isCalendar method returns attribute of calendar dimension.
isCompoundSelection The isCompoundSelection method returns whether dimension selection is composite dimension selection.
isElemsExist The isElemsExist method returns checking result of loaded elements to dimension models.
isMdLoaded The isMdLoaded method returns checking result of dimension model whether it contains metadata required for work.
isNameAttributesLoaded The isNameAttributesLoaded method returns loading result of displayed attributes to dimension model.
isSelectionExist The isSelectionExist method returns whether selected elements of dimension selection exist.
removeSelection The removeSelection method deselects all dimension elements.
setAllElements The setAllElements method adds new elements to dimension model.
setChildEls The setChildEls method sets children elements array of selected element by key.
setIsDataLoading The setIsDataLoading method sets full or partial loading of dictionary elements.
setIsStateLoading The setIsStateLoading method sets loading state of dimension elements.
setSelectionInfo The setSelectionInfo method sets information about dimension selection.
setTotalCount The setTotalCount method sets maximum number of dictionary elements.
updateEls The updateEls method updates dimension elements state and dictionary attributes data.

Methods inherited from the class PP.Object

  Method name Brief description
clone The clone method creates a copy of object. It is not implemented in PP.Ui.Control.
dispose The dispose method deletes the component.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.

Methods inherited from the class PP.Mb.Descriptor

  Method name Brief description
getClass The getClass method returns class of repository object.
getHasChildren The getHasChildren method determines whether an object has child objects.
getIsShortcut The getIsShortcut method indicates whether an object is a shortcut.
getParentKey The getParentKey method returns key of the parent object.
getState The getState method returns object descriptor metadata: values of all properties of the Descriptor class.

Methods inherited from the class PP.Mb.Object

  Method name Brief description
getReadOnly The getReadOnly method determines whether an object is available for editing.

Events

  Property name Brief description
MetadataChanged The MetadataChanged event occurs after changing repository object metadata.

See also:

PP.Mb