Interface ICustom

Hierarchy

Index

Methods

Methods

public addRestangularMethod(name: string, operation: string, path?: string, params?: any, headers?: any, elem?: any): IPromise

Parameters

  • name: string
  • operation: string
  • path?: string optional
  • params?: any optional
  • headers?: any optional
  • elem?: any optional

Returns

IPromise

public customDELETE(path: string, params?: any, headers?: any): IPromise

Parameters

  • path: string
  • params?: any optional
  • headers?: any optional

Returns

IPromise

public customGET(path: string, params?: any, headers?: any): IPromise

Parameters

  • path: string
  • params?: any optional
  • headers?: any optional

Returns

IPromise

public customGETLIST(path: string, params?: any, headers?: any): ICollectionPromise

Parameters

  • path: string
  • params?: any optional
  • headers?: any optional

Returns

ICollectionPromise

public customOperation(operation: string, path: string, params?: any, headers?: any, elem?: any): IPromise

Parameters

  • operation: string
  • path: string
  • params?: any optional
  • headers?: any optional
  • elem?: any optional

Returns

IPromise

public customPOST(elem?: any, path?: string, params?: any, headers?: any): IPromise

Parameters

  • elem?: any optional
  • path?: string optional
  • params?: any optional
  • headers?: any optional

Returns

IPromise

public customPUT(elem?: any, path?: string, params?: any, headers?: any): IPromise

Parameters

  • elem?: any optional
  • path?: string optional
  • params?: any optional
  • headers?: any optional

Returns

IPromise