| IMessageTemplateManager Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Messaging
public interface IMessageTemplateManager : IManager<IMessageTemplate>, ICruddableBatch<IMessageTemplate>, ICreateableBatch<IMessageTemplate>, IDetailsableBatch<IMessageTemplate>, IUpdateableBatch<IMessageTemplate>, IDeletableBatch<IMessageTemplate>, IFilterable<IMessageTemplate, IMessageTemplateFilter>, ITop100<IMessageTemplate>, IUniqeueNames<IMessageTemplate>
The IMessageTemplateManager type exposes the following members.
| Name | Description | ||
|---|---|---|---|
| IEnumerableT | Create(IEnumerableT) |
Creates multiple entities in one operation
(Inherited from ICreateableBatchT.) | |
| void | Delete(IEnumerableInt64) |
Deletes multiple entities in one operation
(Inherited from IDeletableBatchT.) | |
| IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAny(IEnumerableInt64) |
Attempts to get details on multiple ids. If an id is not found, it will not be included in the returned dictionary
(Inherited from IDetailsableBatchT.) | |
| IPaginationT | Filter(TFilterDtoInterface, PaginationRequestTDToInterface) |
Searches for entities using a filter and returnes a pagination based on the supplied request
(Inherited from IFilterableTDToInterface, TFilterDtoInterface.) | |
| IReadOnlyDictionaryTKey, TValue, T: String | GetAnyByNames(IEnumerableString) |
Attempts to get enties by their names
(Inherited from IUniqeueNamesT.) | |
| IEnumerableT, T: String | GetDuplicateNames(IEnumerableKeyValuePairInt64, String) |
Checks for duplicates for ids and names
(Inherited from IUniqeueNamesT.) | |
| IReadOnlyDictionaryTKey, TValue, T: String | GetTop100(ExpressionFuncT, String, String) |
Retrieves the first 100 matches of the search string. For each string, a maximum of 100 ids are returned. Please see the interface for the manager for documentation on supported properties and additional information
(Inherited from ITop100T.) | |
| String | ReplaceVariablesForTemplate(String, IMessageListCustomer) |
Used to replace variables in the content string with values from the given customer
| |
| Guid | SendTestEmailMessage(Int64, Int64, String) |
Generate and send a test email message using a specific template.
The given customer will be used for everything (replace variables, reciever name etc)
except the reciever address which is entered separately
| |
| Guid | SendTestSmsMessage(Int64, Int64, String) |
Generate and send a test SMS message using a specific template.
The given customer will be used for everything (replace variables, reciever name etc)
except the reciever number which is entered separately
| |
| void | Update(IEnumerableT) |
Updates multiple entities in one operation
(Inherited from IUpdateableBatchT.) |
| Name | Description | ||
|---|---|---|---|
| IMessageTemplate | CreateIMessageTemplate(IMessageTemplate) | (Defined by CreateableBatchExtensions.) | |
| void | DeleteIMessageTemplate(Int64) | (Defined by DeletableBatchExtensions.) | |
| IMessageTemplate | DetailsAllIMessageTemplate(Int64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAllIMessageTemplate(IEnumerableInt64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| IMessageTemplate | DetailsAnyIMessageTemplate(Int64) | IDetailsableBatchT
Returns details of entity with id 'id', or null if not found
Thrown if any id zero or less. (Defined by DetailsableBatchExtensions.) | |
| IReadOnlyDictionaryTKey, TValue, T: String | GetAnyByNamesIMessageTemplate(String) | (Defined by UniqueNamesExtensions.) | |
| void | UpdateIMessageTemplate(IMessageTemplate) | (Defined by UpdateableBatchExtensions.) |