Interface IKanbanDataRepository
Kanban repository interface
Namespace: Simplic.Kanban
Assembly: Simplic.Kanban.dll
Syntax
public interface IKanbanDataRepository
Methods
| Improve this Doc View SourceAppend(KanbanData)
Append a new kanaban entry to the end of the pipline
Declaration
bool Append(KanbanData data)
Parameters
Type | Name | Description |
---|---|---|
KanbanData | data | KanbanData |
Returns
Type | Description |
---|---|
System.Boolean | success |
Find(Guid, Guid)
Find a instance data entry in a kanban
Declaration
IEnumerable<KanbanData> Find(Guid kanbanId, Guid instanceDataId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | kanbanId | Kanban board id |
System.Guid | instanceDataId | Instance data id |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<KanbanData> | Enumerable of kanban data |
Get(Guid)
Get kanab data by its unique id
Declaration
KanbanData Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique id |
Returns
Type | Description |
---|---|
KanbanData | Kanban instance if exists |
GetAll(Guid)
Get all KanbanData for kanban board
Declaration
IEnumerable<KanbanData> GetAll(Guid kanbanId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | kanbanId | Kanban board id |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<KanbanData> | Enumerable of data items |
GetAllTilesInPipeline(Guid, Guid)
Gets all tiles in a pipeline
Declaration
IEnumerable<KanbanData> GetAllTilesInPipeline(Guid kanbanId, Guid pipelineId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | kanbanId | Kanban id |
System.Guid | pipelineId | Pipeline id |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<KanbanData> | Enumerable of kanban data |
GetChanges(Guid, Session.Session)
Get all live changes
Declaration
IList<KanbanData> GetChanges(Guid kanbanId, Session.Session userSession)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | kanbanId | Kanban id |
Session.Session | userSession | Session to get the changes for |
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<KanbanData> | Enumerable of changes |
Remove(KanbanData)
Remove data from kanban board
Declaration
bool Remove(KanbanData data)
Parameters
Type | Name | Description |
---|---|---|
KanbanData | data | Kanban board data |
Returns
Type | Description |
---|---|
System.Boolean | True if removing was successfull |
Save(KanbanData)
Add to kanban board
Declaration
bool Save(KanbanData data)
Parameters
Type | Name | Description |
---|---|---|
KanbanData | data | Data to add |
Returns
Type | Description |
---|---|
System.Boolean | True if adding was successfull |
SaveDataSortOrder(IDictionary<Guid, Int32>)
Saves the sort order for the selected items
Declaration
void SaveDataSortOrder(IDictionary<Guid, int> sortOrder)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.Guid, System.Int32> | sortOrder |
TrackChanges(KanbanData, Boolean)
Track kanban data changes
Declaration
void TrackChanges(KanbanData data, bool executeFlowEvent)
Parameters
Type | Name | Description |
---|---|---|
KanbanData | data | Changed data |
System.Boolean | executeFlowEvent | If set to true, a flow event will be created |