Home Reference Source
public class | source

CopyNoteService

Extends:

BaseService → CopyNoteService

Copy notes live in the editor's metdata and so are only tracked via an internal, read-only, stack here.

You shouldn't need to interact with this outside the NoteViewer component.

Method Summary

Public Methods
public

add(uid: *, id: *, val: *, user: *, icon: *, email: *, version: *, created_at: *): *

public

remove(uid: *): *

public

reset(): *

public
public

update(uid: *, id: *, val: *): *

public

updateNotes(notes: *): *

public

updateSelection(id: *): *

Inherited Summary

From class BaseService
public

Preform a DELETE action

public

get(url: string, params: object): object

Preform a GET action

public

post(url: string, data: object, params: object): object

Preform a POST action

public

postUpload(url: string, data: object, params: object): object

Preform a POST action

public

put(url: string, data: object): object

Preform a PUT action

Public Methods

public add(uid: *, id: *, val: *, user: *, icon: *, email: *, version: *, created_at: *): * source

Params:

NameTypeAttributeDescription
uid *
id *
val *
user *
icon *
email *
version *
created_at *

Return:

*

public remove(uid: *): * source

Params:

NameTypeAttributeDescription
uid *

Return:

*

public reset(): * source

Return:

*

public setLastSelectedNote(id: *): * source

Params:

NameTypeAttributeDescription
id *

Return:

*

public update(uid: *, id: *, val: *): * source

Params:

NameTypeAttributeDescription
uid *
id *
val *

Return:

*

public updateNotes(notes: *): * source

Params:

NameTypeAttributeDescription
notes *

Return:

*

public updateSelection(id: *): * source

Params:

NameTypeAttributeDescription
id *

Return:

*