Interface to retrieve and manage the style groups in the system.
Adds a new style group. A group must have a name, the id will be autocalculated.
The style group to add - it must match the StyleGroup interface.
The added style group or null if it could not add it.
Returns an array with all available style groups.
All available style groups
Return a style group by its id.
The id of the style group to return.
The style group with the given id or null if not found.
Returns a style group by its name, where the name can be an exact match or a partial match.
The name of the style group to return.
Optional
exactMatch: booleanFlag to indicate if the name must be an exact match or a partial match.
The style group with the given name or null if not found.
Deletes a style group from the listing. This will not update any fields with that group applied - as they still will have the original style applied.
The style group or the id of the style group to delete.
True if the style group was deleted, false otherwise.
The style group to update. The id must match an existing style group. This will not update any fields with that grou appliedp - as they still will have the original style applied.
The updated style group
The updated style group or null if it could not update it.
Interface to retrieve and manage the style items in the system.
Returns a style item by its name, where the name can be an exact match or a partial match.
The name of the style item to return.
Optional
exactMatch: booleanFlag to indicate if the name must be an exact match or a partial match.
The style item with the given name or null if not found.
Deletes a style item from the listing. This will also clear the style from any text fields it is assigned to.
The style item or the id of the style item to delete.
True if the style item was deleted, false otherwise.
The style item to update. The id must match an existing style item. If the style is assigned to text fields, the changes will be reflected on the text fields.
The updated style item
The updated style item or null if it could not update it.
Generated using TypeDoc
Interface for the style items and style groups