Class StepService
- All Implemented Interfaces:
TaskTideMapper<Step,WorkItem>, TaskTideService<Step>
public class StepService
extends AbstractTaskTideService<Step>
implements TaskTideMapper<Step,WorkItem>
Service to provide
A step has a list of
Service methods include providing Step, list of them. Getting list of WorkItems be useful, means composing repo though.
Implementing the
Step interactions to backend DB (TaskTideRepository).
A step has a list of
WorkItem associated with it.
Service methods include providing Step, list of them. Getting list of WorkItems be useful, means composing repo though.
Implementing the
TaskTideMapper allows mapping of Step to WorkItem-
Field Summary
Fields inherited from class AbstractTaskTideService
repo, resultSetSize -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetThroughLink(TaskTideService<WorkItem> mappingServ, Step model) toString()Represent service as stringviewStepsByName(String stepName) Fetch steps having nameMethods inherited from class AbstractTaskTideService
appendModel, dropById, extendModel, fetchById, getRepo, getResultSetSize, isConfigured, save, setResultSetSize, updateModel, viewAll, viewAllToTaskTideModel, viewByField, viewByFieldForGroup
-
Constructor Details
-
StepService
Construct with repo for testing- Parameters:
repo-
-
-
Method Details
-
viewStepsByName
-
getThroughLink
- Specified by:
getThroughLinkin interfaceTaskTideMapper<Step,WorkItem> - Parameters:
mappingServ-model-- Returns:
- List-
WorkItem
-
toString
-