Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

apexRestUrl

apexRestUrl: string

Apex Rest URL that handles this request.

apexRestUrlAWS

apexRestUrlAWS: string

apiNamespace

apiNamespace: string = ...

Salesforce organization.

Optional contentType

contentType: string = "application/json"

domain

domain: string

language

language: string

remoteClass

remoteClass: string

Remote class that handles this request.

remoteMethod

remoteMethod: string

Remote method that handles this request.

restUrl

restUrl: string

Rest URL that handles this request.

Optional secureServerEndPointUrl

secureServerEndPointUrl: string

optional input param used as secure Server rest URL end point when Proxy SDK is used

Optional sobjectFieldNames

sobjectFieldNames: string[]

Optional sobjectNames

sobjectNames: string[]

Optional textToTranslate

textToTranslate: string[]

Methods

getApexRestEndPoint

  • getApexRestEndPoint(): string
  • A method that returns the end point with apex rest url with namepsace if defined.

    Returns string

    • endpoint with apex rest url with apiNamespace if defined.

getEndPointWithNamespace

  • getEndPointWithNamespace(): string
  • A method that returns the end point with rest url and or namepsace.

    Returns string

    • endpoint with rest url and or apiNamespace.

paramsArray

  • paramsArray(): string[]
  • Construct the paramsArray for ApexRemote call.

    Returns string[]

    array of args to be supplied to ApexRemote Call. The sequence of the element corresponds to the arguments of the Apex @RemoteAction method.

uriEncodedTextToTranslate

  • uriEncodedTextToTranslate(labels: any): string
  • URI Encoded each label (in this.textToTranslated) to be translated and join them into a comma separated string.

    Parameters

    • labels: any

    Returns string

    comma separated string of labels to be translated.

Generated using TypeDoc