Constructors
SpmCustomerList()
Methods
addRecipient(Integer)
Adds a recipient to the list.The recipient must exist as a customer in the database.
delete()
Deletes the current recipients list.It is not possible to delete a list that currently is in use.
load(Integer)
Loads an existing customer list.removeRecipients()
If you have loaded a valid customer list, this method will remove all recipients both from the database and any you may have added using “addRecipient”. Be aware that even if you do not save the list, the recipients will still be removed from the database.save()
Saves the current list. If the list does not already exist in the database, it will be created.setFolderId(Integer)
Sets the folder for this list.setName(String)
Sets the name of the list.Used only in the GUI when viewing the lists.