TSService

Namespace: PP.TS;

Inheritance Hierarchy

Object

PP.Mb.PPService

PP.Exp.EaxMdService

TSService

Description

The TSService class implements service used to work with time series analysis

Syntax

PP.initClass(PP.TS.TSService, PP.Exp.EaxMdService, "WorkbookService");

Constructor

  Constructor name Brief description
TSService The TSService constructor creates an instance of the TSService class.

Methods

  Method name Brief description
addCalculatedRow The addCalculatedRow method adds calculated series.
addColumns The addColumns method adds columns to the workbook.
addNewRevision The addNewRevision method adds a new revision.
addWbkSeries The addWbkSeries method adds series to a workbook.
addWbkSeriesByFactorKeys The addWbkSeriesByFactorKeys method adds series to workbook by factor keys.
changeColumns The changeColumns method changes workbook columns.
changeRubricator The changeRubricator method changes a time series database.
checkCalcFormula The checkCalcFormula method sends a query to server to check correctness of the formula specified in the calculator.
close The close method closes the workbook.
closeHie The closeHie method closes a selected series hierarchy
compressRevision The compressRevision method compresses revisions
copySeries The copySeries method copies series.
createWbkFromRub The createWbkFromRub method creates a workbook based on time series database and opens this workbook.
editAllSeries The editAllSeries method edits all series.
editData The editData method sends a request to edit data in cells of the workbook table.
editSeries The editSeries method changes series
editSeriesView The editSeriesView method changes series display settings.
getAddColumnsSettings The getAddColumnsSettings method returns body of a request to add columns to a workbook.
getAddSeriesSettings The getAddSeriesSettings method returns body of a request to add series to a workbook.
getAllSeriesView The getAllSeriesView method contains a list of series used by wizard.
getCellHistory The getCellHistory method returns revisions for a point (point changes history).
getChangeColumnsSettings The getChangeColumnsSettings method returns body of a request to edit workbook columns.
getDataToStr The getDateToStr method converts date into a string and returns it.
getEditAllSeriesSettings The getEditAllSeriesSettings method returns body of a request to edit all workbook series.
getEditSeriesSettings The getEditSeriesSettings method returns body of a request to edit workbook series.
getHieService The getHieService method returns a service to work with workbook series hierarchy.
getMdOfSeries The getMdOfSeries method loads series and columns metadata
getMetaAttributesSource

The getMetaAttributesSource method returns source of the table included into metadata.

getPinSeriesSettings The getPinSeriesSettings method returns body of a request to pin workbook series.
getRemoveColumnsSettings The getRemoveColumnsSettings method returns body of a request to remove workbook columns.
getRevisions The getRevisions method returns all revisions of time series database with the rubKey key.
getRubFromCube The getRubFromCube method returns a time series database from the cube with the cubeKey key.
getRubMd The getRubMd method sends a request to get metadata for the source with the rubKey key.
getSerieRevisions The getSerieRevisions method returns revisions for the series named "serie".
getSetMetadataSettings The getSetMetadataSettings method returns body of a request to save workbook metadata.
getSetPeriodSettings The getSetPeriodSettings method returns period request body.
getSetSortSettings The getSetSortSettings method returns body of a sorting request.
GroupSeries The GroupSeries method groups workbook series.
loadWbkMd The loadWbkMd method loads metadata to the "report" object
moveSeries The moveSeries method moves series up or down.
openDLDim The openDLDim method opens calendar level dimension.
openRub The openRub method opens a time series database by its key.
openUnitDim The openUnitDim method opens measurement units dictionary.
pinSeries The pinSeries method pins series.
refreshWbk The refreshWbk method refreshes a workbook.
removeColumns The removeColumns method removes columns of workbook attributes.
removeSeries The removeSeries method removes a row from workbook table.
rollbackRevision The rollbackRevision method rolls back revisions.
setAttrsTreeOptions The setAttrsTreeOptions method is used to set up attributes in hierarchy of workbook series.
setAutoUpdate The setAutoUpdate method sets autoupdate.
setChartMetadata

The setChartMetadata method sets chart metadata.

setMetadata The setMetadata method saves workbook metadata to the server.
setObsAttr The setObsAttr method is used to set observation attributes.
setPeriod The setPeriod method sets a period.
setSelectedSeries The setSelectedSeries method sets selected workbook series.
setSeriesAttr The setSeriesAttr method sets series attributes.
setSort The setSort method sets workbook series sorting.
setTableFixHeaders The setTableFixHeaders method is used to set fixed areas in a table.
setTableSelection The setTableSelection method sets selection in a table.
setTableStyle The setTableStyle method is used to set table style.
setWbkMd The setWbkMd method sets metadata to a report object.
UnGroupSeries The UnGroupSeries method ungroups workbook series.
updateCalculatedRow The updateCalculatedRow method changes available calculated series.

Events

   Event name Brief description
MetadataChanged The MetadataChanged event is fired when metadata change is completed
MetadataChangeStart The MetadataChangeStart event is fired on metadata change start
WbkDocumentOpened The WbkDocumentOpened event is fired on opening workbook document
WbkOpened The WbkOpened event is fired on workbook opening

Methods inherited from the class PP.Mb.PPService

  Method name Brief description
addCallbackToLastRqt The addCallbackToLastRqt adds a handler to the last request in the queue.
beginSyncXHR The beginSyncXHR method enables the mode of synchronous requests for an instance of the PPService class.
clearRequests The clearRequests method clears the list of queued requests and removes the current request.
endSyncXHR The endSyncXHR method disables the mode of synchronous requests for an instance of the PPService class.
getCurrentRequest The getCurrentRequest method returns the current service request.
sendRequest The sendRequest method sends a request to web service.

Events inherited from the class PP.Mb.PPService

  Event name Brief description
EndRequest The EndRequest event occurs on finishing the repository connection.
Error The Error event occurs if an error occurs during repository connection.
Executed The Executed event occurs after executing a request to server.
StartRequest The StartRequest event occurs when the system starts executing a request to repository.

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.TS