Class: Group


new Group()

Group describes a group which can trigger on certain events (signals)

Name Type Description
name string

the group name

itemFlags array

the groups item flags

kitFlags array

the groups kit flags

customerFlags array

the groups customer flags

orderFlags array

the groups order flags

reservationFlags array

the groups reservation flags

itemFields array

the groups item fields

kitFields array

the groups kit fields

customerFields array

the groups customer fields

reservationFields array

the groups reservation fields

orderFields array

the groups order fields

itemLabels array

the groups item labels

kitLabels array

the groups kit labels

customerLabels array

the groups customer labels

reservationLabels array

the groups reservation labels

orderLabels array

the groups order labels



inherited create(skipRead){promise}

Creates an object by the default api.create

Name Type Description

skips reading the response via _fromJson (false)

inherited delete(){promise}

Deletes an object by the default api.delete

inherited discardChanges(){promise}

Discards any changes made to the object from the previously loaded raw response or resets it when no old raw response was found

inherited existsInDb(){boolean}

Checks if the document exists in the database

inherited get(_fields){promise}

Gets an object by the default api.get

Name Type Description

inherited isDirty(){boolean}

Checks if the object needs to be saved We don't check any of the keyvalues (or comments, attachments) here

inherited isEmpty(){boolean}

Checks if the object is empty

inherited isValid(){boolean}

Checks if the object is valid


Checks if name is valid

inherited reload(_fields){promise}

Reloads the object from db

Name Type Description

inherited reset(){promise}

Resets the object

inherited update(skipRead){promise}

Updates an object by the default api.update

Name Type Description

skips reading the response via _fromJson (false)