API Docs for: 0.9.1
Show:

ServiceEndPoint Class

Methods

_getChildOptions

() Object private

Gets the options for children

Returns:

getAllItems

(
  • [options]
)
Promise

Gets a list of items

Parameters:

Returns:

Promise:

With {ServiceList}

getFieldInfo

(
  • field
)
Object

Gets details field information

Parameters:

Returns:

getFields

() String[]

Gets a list of fields available

Returns:

getItem

(
  • id
)
Promise

Gets an item

Parameters:

Returns:

Promise:

With {ServiceEntry}

getOptions

() Object

Gets all options supplied when created

Returns:

getPluralModuleName

() String

Gets the plural module identifier

Returns:

getRequest

() ServiceRequest

Gets the request object

Returns:

getService

() ServiceLookup

Gets the service object

Returns:

getSingularModuleName

() String

Gets the singular module identifier

Returns:

hasField

(
  • field
)
Boolean

Checks if a field is available

Parameters:

Returns:

initialize

()

Initializes the data-object

loadEntry

(
  • entry
  • [options]
)
ServiceEntry

Retrieves an entry object

Parameters:

Returns:

loadList

(
  • items
  • [options]
)
ServiceList

Retrieves a list object

Parameters:

Returns:

newEntry

(
  • [entry]
)
ServiceEntry

Retrieves a new entry object

Parameters:

Returns:

queryItems

(
  • query
  • [options]
)
Promise

Queries a list of items

Parameters:

Returns:

Promise:

With {ServiceList}

removeItem

(
  • id
)
Promise

Removes an item

Parameters:

Returns:

Promise:

With {string} id

Properties

TYPE

String static