Interface ICleaningPreOrderRepository
Repository to save, load and delete cleaning pre orders.
Namespace: Simplic.Logistics.Cleaning
Assembly: Simplic.Logistics.Cleaning.dll
Syntax
public interface ICleaningPreOrderRepository
Methods
| Improve this Doc View SourceGetAllContainerNumbers()
Gets all previously used extern container numbers.
Declaration
IEnumerable<string> GetAllContainerNumbers()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | List of numbers |
GetAllDriverNames()
Get all available driver names used in orders
Declaration
IEnumerable<string> GetAllDriverNames()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | List of names |
GetAllTractorUnitRegistrationIdentifiers()
Gets all previously used tractor unit registration identifiers.
Declaration
IEnumerable<string> GetAllTractorUnitRegistrationIdentifiers()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | List of identifiers |
GetAllTrailerRegistrationIdentifiers()
Gets all previously used trailer registration identifiers.
Declaration
IEnumerable<string> GetAllTrailerRegistrationIdentifiers()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | List of identifiers |
GetCleaningPreOrderByContactId(Guid, Guid, DateTime)
Gets all cleaning pre orders by a given contact id, which have bin updated after a given time.
Declaration
IEnumerable<CleaningPreOrder> GetCleaningPreOrderByContactId(Guid contactId, Guid tenantId, DateTime updateDateTime)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contactId | |
System.Guid | tenantId | |
System.DateTime | updateDateTime |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CleaningPreOrder> |
GetCleaningPreOrderByContactIdByKanbanColumns(Guid, Guid, DateTime, String, Nullable<Guid>, Nullable<Int32>)
Gets all cleaning pre orders for a given contact, tenant, past a given updateDateTime, lane, and stateguid. Also fetches only a given amount, if set.
Declaration
IEnumerable<CleaningPreOrder> GetCleaningPreOrderByContactIdByKanbanColumns(Guid contactId, Guid tenantId, DateTime updateDateTime, string lane, Guid? statusId, int? fetchItemLimit)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contactId | |
System.Guid | tenantId | |
System.DateTime | updateDateTime | |
System.String | lane | |
System.Nullable<System.Guid> | statusId | |
System.Nullable<System.Int32> | fetchItemLimit |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CleaningPreOrder> |
GetDefaultCleaningStationId()
Gets the first cleaning station.
Declaration
Guid GetDefaultCleaningStationId()
Returns
Type | Description |
---|---|
System.Guid | The id of the default cleaning station. |
UpdateCleaningKanbanOrderIndex(Guid, Int32)
Updates a given preorder to a given index.
Declaration
void UpdateCleaningKanbanOrderIndex(Guid id, int index)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | |
System.Int32 | index |
UpdateMultipleCleaningKanbanOrderIndexes(Dictionary<Guid, Int32>)
Updates a given list of preorders and thier indexes to be updated.
Declaration
void UpdateMultipleCleaningKanbanOrderIndexes(Dictionary<Guid, int> Guid2Index)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.Guid, System.Int32> | Guid2Index |
UpdateState(Guid, Guid)
Updates given preorder to a given state.
Declaration
void UpdateState(Guid preOrderId, Guid stateId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | preOrderId | |
System.Guid | stateId |