| ITicketTypeManager Interface |
[This is preliminary documentation and is subject to change.]
Namespace: Netadmin.Management.Ticketing
public interface ITicketTypeManager : IManager<ITicketType>, ICruddableWithCompany<ITicketType>, ICreateableWithCompany<ITicketType>, IDetailsable<ITicketType>, IUpdateable<ITicketType>, IDeletable<ITicketType>, IUniqueName<ITicketType>, IGetAllableWithCompany<ITicketType>, IDetailsableBatch<ITicketType>
The ITicketTypeManager type exposes the following members.
| Name | Description | ||
|---|---|---|---|
| Int64 | Create(T, Int64) |
Creates a new instance of the entity on the specified company
(Inherited from ICreateableWithCompanyT.) | |
| void | Delete(Int64) |
Deletes an entity with a specific Id
(Inherited from IDeletableT.) | |
| ITicketType | Details(Int64) |
Get details for entity with specified Id
(Inherited from IDetailsableT.) | |
| 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.) | |
| IEnumerableT | GetAll(Int64) |
Retrieves every entity for a specific company
(Inherited from IGetAllableWithCompanyT.) | |
| IEnumerableT, T: ITicketType | GetAll(IEnumerableInt64) |
Returns all ticket type for specific companies
| |
| Boolean | IsNameUnique(T) |
Checks if the name of a dto is unique
(Inherited from IUniqueNameT.) | |
| Boolean | IsTicketTypeValidForCompany(Int64, Int64) |
Checks if a ticket type is valid for a specific company
| |
| void | ReplaceType(Int64, Int64) |
Will replace a ticket type with another type by updating references on tickets and posts.
| |
| void | Update(T) |
Updates an entity with new values.
(Inherited from IUpdateableT.) |
| Name | Description | ||
|---|---|---|---|
| ITicketType | DetailsAllITicketType(Int64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| IReadOnlyDictionaryTKey, TValue, T: Int64 | DetailsAllITicketType(IEnumerableInt64) | Overloaded. (Defined by DetailsableBatchExtensions.) | |
| ITicketType | DetailsAnyITicketType(Int64) | IDetailsableBatchT
Returns details of entity with id 'id', or null if not found
Thrown if any id zero or less. (Defined by DetailsableBatchExtensions.) |