Object <- RuleAction <- CollectContactsAction |
|
|
ChooseContactsToCollect PerformRule |
Class CollectContactsAction defines no new attributes.
Fields
| Field | Type | |
|---|---|---|
| CollectContactsAction: | collectSender: | Boolean |
| collectToRecipients: | Boolean | |
| collectCopyRecipients: | Boolean | |
| collectBlindCopyRecipients: | Boolean | |
| collectReplyTo: | Boolean |
instance CollectContactsAction tag; collectSender: false; collectToRecipients: false; collectCopyRecipients: false; collectBlindCopyRecipients: false; collectReplyTo: false; end instance;
Define Class CollectContactsAction; inherits from RuleAction; field collectSender: Boolean; // set if the sender's contact should be collected field collectToRecipients: Boolean; // set if contacts for the recipients should be collected field collectCopyRecipients: Boolean; // set if contacts for cc recipients should be collected field collectBlindCopyRecipients: Boolean; // set if contacts for bcc recipients should be collected field collectReplyTo: Boolean; // set if contacts in the reply-to list should be collected overrides PerformRule; // overridden to collect contacts chosen by ChooseCardsToCollect. // Ensures that each contact is unique so ChooseCardsToCollect doesn't have to operation ChooseContactsToCollect(incoming: Telecard; collection: ObjectList); // fills collection with desired contacts from incoming cards. // override to choose contacts some way other than using the boolean fields end class;