Interface: User

User

Methods

addCartItem(entityType, entityId, options) → {Promise.<Cart>}

Parameters:
Name Type Description
entityType string
entityId number
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

addCartItem(entityType, entityId, timeout) → {Promise.<Cart>}

Parameters:
Name Type Description
entityType string
entityId number
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<Cart>

addCartItem(entityType, entityId) → {Promise.<Cart>}

Parameters:
Name Type Description
entityType string
entityId number
Source:
Returns:
Type
Promise.<Cart>

addCartItems(items, options) → {Promise.<Cart>}

Parameters:
Name Type Description
items array
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

addCartItems(timeout, items) → {Promise.<Cart>}

Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
items array
Source:
Returns:
Type
Promise.<Cart>

addCartItems(items) → {Promise.<Cart>}

Parameters:
Name Type Description
items array
Source:
Returns:
Type
Promise.<Cart>

cart(options) → {Promise.<Cart>}

Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

cart(timeout) → {Promise.<Cart>}

Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<Cart>

cart() → {Promise.<Cart>}

Source:
Returns:
Type
Promise.<Cart>

deleteAllCartItems(options) → {Promise.<Cart>}

Parameters:
Name Type Description
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

deleteAllCartItems(timeout) → {Promise.<Cart>}

Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<Cart>

deleteAllCartItems() → {Promise.<Cart>}

Source:
Returns:
Type
Promise.<Cart>

deleteCartItem(id, options) → {Promise.<Cart>}

Parameters:
Name Type Description
id string | number
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

deleteCartItem(id, timeout) → {Promise.<Cart>}

Parameters:
Name Type Description
id string | number
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<Cart>

deleteCartItem(id) → {Promise.<Cart>}

Parameters:
Name Type Description
id string | number
Source:
Returns:
Type
Promise.<Cart>

deleteCartItems(items, options) → {Promise.<Cart>}

Parameters:
Name Type Description
items array
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

deleteCartItems(timeout, items) → {Promise.<Cart>}

Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
items array
Source:
Returns:
Type
Promise.<Cart>

deleteCartItems(items) → {Promise.<Cart>}

Parameters:
Name Type Description
items array
Source:
Returns:
Type
Promise.<Cart>

deleteDownload(id, options) → {Promise}

Parameters:
Name Type Description
id string | number
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise

deleteDownload(id, timeout) → {Promise}

Parameters:
Name Type Description
id string | number
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise

deleteDownload(id) → {Promise}

Parameters:
Name Type Description
id string | number
Source:
Returns:
Type
Promise

downloads(queryOffset, options) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
queryOffset array any JPQL from the where clause onwards
options object as specified in the Angular documentation
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads(timeout, queryOffset) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
queryOffset array any JPQL from the where clause onwards
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads(queryOffset) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
queryOffset array any JPQL from the where clause onwards
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads(timeout, queryOffset) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
queryOffset string any JPQL from the where clause onwards
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads(queryOffset) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
queryOffset string any JPQL from the where clause onwards
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads(timeout) → {Promise.<Array.<object>>}

Returns the current user's downloads.
Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

downloads() → {Promise.<Array.<object>>}

Returns the current user's downloads.
Source:
Returns:
a deferred list of downloads
Type
Promise.<Array.<object>>

setDownloadStatus(id, status, options) → {Promise}

Parameters:
Name Type Description
id string | number
status string can be 'ONLINE', 'ARCHIVE' or 'RESTORING'
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise

setDownloadStatus(timeout, id, status) → {Promise}

Parameters:
Name Type Description
timeout Promise if resolved will cancel the request
id string | number
status string can be 'ONLINE', 'ARCHIVE' or 'RESTORING'
Source:
Returns:
Type
Promise

setDownloadStatus(id, status) → {Promise}

Parameters:
Name Type Description
id string | number
status string can be 'ONLINE', 'ARCHIVE' or 'RESTORING'
Source:
Returns:
Type
Promise

submitCart(fileName, transport, email, options) → {Promise.<Cart>}

Parameters:
Name Type Description
fileName string
transport string
email string
options object as specified in the Angular documentation
Source:
Returns:
Type
Promise.<Cart>

submitCart(fileName, transport, email, timeout) → {Promise.<Cart>}

Parameters:
Name Type Description
fileName string
transport string
email string
timeout Promise if resolved will cancel the request
Source:
Returns:
Type
Promise.<Cart>

submitCart(fileName, transport, email) → {Promise.<Cart>}

Parameters:
Name Type Description
fileName string
transport string
email string
Source:
Returns:
Type
Promise.<Cart>