Home Reference Source Repository
import WorkflowJobCollection from 'rodan-client/js/Collections/WorkflowJobCollection.js'
public class | source

WorkflowJobCollection

Extends:

backbone~Backbone.CollectionBaseCollection → WorkflowJobCollection

Collection of WorkflowJob models.

Method Summary

Public Methods
public

Initializes the instance.

Inherited Summary

From class BaseCollection
public get

Returns route.

public

create(options: object): Backbone.Model

Override of create.

public

fetch(options: object)

Override of fetch to allow for generic handling.

public

fetchFilter(filters: array, options: object)

Requests a filtered fetch.

public

fetchPage(page: integer, options: object)

Requests a page to be fetched.

public

fetchSort(ascending: boolean, field: string, options: object)

Requests a sorted fetch.

public

getEnumerations(): array

Returns enumerations of this Collection.

public

Returns pagination object for this Collection.

public

parse(response: object): object

Parse results.

public

Parses ID out of URL.

public

Syncs the Collection while preserving the last used fetch options.data.

public

url(): string

Returns the URL associated with this Collection.

Public Methods

public initialize() source

Initializes the instance.