pvserverhelper
v3.0.5
Published
This is an npm module design to perform common uses with pVelocity's pvserver
Downloads
627
Readme
pvserverhelper
This is an npm module design to perform common uses with pVelocity's pvserver.
Getting Started
Install the pvserverhelper
module.
npm install --save pvserverhelper
Use the require statement to load the module.
var pvh = require('pvserverhelper');
Methods
pvserver
- login
- loginWithUrl
- loginWithSession
- logActivity
- getProviderModelInfo
- getProviderModelUrl
- parseProviderModelUrl
- createSalesforceProviderModel
- createSalesforceProviderModelWithSession
- createMongoProviderModel
- getEntityGroupsAndFields
- convertGroupOrFieldArrayForQueryParams
- removeEntityRelationshipGroupAndFields
- getGroupsOrFieldsFromQueryParams
- getGroupValueFromQueryParams
- getGroupValuesFromQueryParams
- addFiltersToQueryParams
- removeFilterFromQueryParams
- replaceGroupFromQueryParams
- getLastComponentSelections
- getGroupValueFromGroupFilters
- execServlet
- httpMethod - Deprecated
MongoDB
- setupMongoDBUrl
- createMongoDB
- find
- copy
- move
- createCollection
- createIndices - Deprecated
- dropCollection
- dropSomeCollections
- cleanupChildren
- getProperties
- getABOMProperties
- getAggregateProjectMapping
- createExpressionMapping
- aggregateLookup
PVStatus
- getPVStatus
- getResultCode
- getResultMessage
- getResultScriptMessage
- isResultOk
- isResultTruncated
- isResultTooLarge
- isBulkUpsertInProgress
Other
- listFiles
- setupLogger
- getErrorMessage
- isEmptyValue
- convertFile
- convertStream
- exec
- spawn
- setCallbackTimeout
- checkCallbackTimeout
- addOrGetSessionJsapiObject
- getSessionJsapiObject
- removeSessionJsapiObject
- serializePromises
- cleanup
- cleanupForNonCached
- returnImmediately
- scriptErrHandler
- genericErrHandler
License
Copyright (c) 2016, pVelocity Inc
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.