Collections

This topic applies to

Applies to

SuiteCommerce Advanced

Collections are sets of models. Define the data object that contains the set of models. Define methods that perform actions when thep data in a model changes. They can also perform actions on all models within the collection.

SuiteCommerce Advanced often uses collections within displaying lists of items. The Case module, for example, uses the Case.Collection to load a list of support cases assigned to a user. The Case.List.View uses the collection to display the list.