Package | Description |
---|---|
metricapp.service.controller |
Controller package contains logic and business controllers
|
metricapp.service.repository |
Repository package contains direct implementation of repositories.
|
metricapp.service.spec.controller | |
metricapp.service.spec.repository |
Modifier and Type | Method and Description |
---|---|
AssumptionDTO |
ExternalElementsGetterController.getAssumptionByPointerBus(PointerBus pointerBus) |
ContextFactorDTO |
ExternalElementsGetterController.getContextFactorByPointerBus(PointerBus pointerBus) |
InstanceProjectDTO |
ExternalElementsGetterController.getInstanceProjectByPointerBus(PointerBus pointerBus) |
ExternalElementsDTO |
ExternalElementsGetterController.getMeasurementGoalExternalElements(java.lang.String measurementGoalId)
this method fills the return dto with every external informations that are related to
a Measurement Goal.
|
MetricDTO |
MetricCRUDController.getMetricByIdLastApprovedVersion(java.lang.String id) |
MetricCrudDTO |
MetricCRUDController.getMetricCrudDTOByIdLastApprovedVersion(java.lang.String id) |
OrganizationalGoalDTO |
ExternalElementsGetterController.getOrganizationalGoalByPointerBus(PointerBus pointerBus) |
QuestionDTO |
QuestionCRUDController.getQuestionByIdLastApprovedVersion(java.lang.String id) |
QuestionCrudDTO |
QuestionCRUDController.getQuestionCrudDTOByIdLastApprovedVersion(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
BusRepository.create(RichPointerBus pointerBus)
this method permits to interact with the bus through a create request.
|
java.util.ArrayList<java.lang.String> |
BusRepository.delete(PointerBus pointerBus)
this method permits to interact with the bus through a delete request.
|
Element |
BusApprovedElementRepository.fromRichPointerBusToElement(RichPointerBus pointer)
this method gets from RichPointerBus, typically received from the bus after an Update or a create action,
and maps it to an Element like MeasurementGoal, Metric, Question.
|
<T extends Element> |
BusApprovedElementRepository.getApprovedElement(PointerBus pointerBus,
java.lang.Class<T> clazz)
This function gathers Elements like MeasurementGoal, Metric and Question from the bus.
|
<T extends Element> |
BusApprovedElementRepository.getApprovedElements(PointerBus pointerBus,
java.lang.Class<T> clazz)
This function gathers an Array of Elements like MeasurementGoal, Metric and Question from the bus.
|
Assumption |
ExternalElementsRepository.getAssumptionByIdAndVersion(java.lang.String id,
java.lang.String version)
this is the simple method to grab an assumption, version value could be null (last version is received)
|
java.util.ArrayList<Assumption> |
ExternalElementsRepository.getAssumptionsByIdList(java.util.List<java.lang.String> list)
this method is a loop of version and id getter.
|
java.util.ArrayList<Assumption> |
ExternalElementsRepository.getAssumptionsByPointerBusList(java.util.List<PointerBus> list)
this method is a loop of version and id getter.If there's an error, function returns empty List
|
ContextFactor |
ExternalElementsRepository.getContextFactorByIdAndVersion(java.lang.String id,
java.lang.String version)
* this is the simple method to grab a context factor, version value could be null (last version is received)
|
java.util.ArrayList<ContextFactor> |
ExternalElementsRepository.getContextFactorsByIdList(java.util.List<java.lang.String> list)
this method is a loop of version and id getter.If there's an error, function returns empty List
|
java.util.ArrayList<ContextFactor> |
ExternalElementsRepository.getContextFactorsByPointerBusList(java.util.List<PointerBus> list)
this method is a loop of version and id getter.If there's an error, function returns empty List
|
InstanceProject |
ExternalElementsRepository.getInstanceProjectByIdAndVersion(java.lang.String id,
java.lang.String version)
* this is the simple method to grab an instance project, version value could be null (last version is received)
|
<T extends Element> |
BusApprovedElementRepository.getLastApprovedElement(java.lang.String id,
java.lang.Class<T> clazz,
Entity typeObj)
this function returns the last approved version of element with a id in the bus
|
OrganizationalGoal |
ExternalElementsRepository.getOrganizationalGoalByIdAndVersion(java.lang.String id,
java.lang.String version)
* this is the simple method to grab an organizational goal, version value could be null (last version is received)
|
private java.util.ArrayList<java.lang.String> |
BusRepository.rawPost(java.util.ArrayList<java.lang.String> content)
lowest level method to interact with bus, it requires only the type of request and the content. there's no "null check"
|
java.util.ArrayList<java.lang.String> |
BusRepository.read(PointerBus pointerBus)
this method permits to interact with the bus through a read request.
|
java.util.ArrayList<java.lang.String> |
BusRepository.rollback(PointerBus pointerBus)
this method permits to interact with the bus through a rollback request.
|
<T extends Element> |
BusApprovedElementRepository.sendApprovedElement(Element element,
java.lang.Class<T> clazz)
This function send an approved Element like to Bus.
|
java.util.ArrayList<java.lang.String> |
BusRepository.update(RichPointerBus pointerBus)
this method permits to interact with the bus through a update request.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
BusInterface.create(RichPointerBus pointerBus) |
java.util.ArrayList<java.lang.String> |
BusInterface.delete(PointerBus pointerBus) |
Element |
BusApprovedElementInterface.fromRichPointerBusToElement(RichPointerBus pointer) |
<T extends Element> |
BusApprovedElementInterface.getApprovedElement(PointerBus pointerBus,
java.lang.Class<T> clazz) |
<T extends Element> |
BusApprovedElementInterface.getApprovedElements(PointerBus pointerBus,
java.lang.Class<T> clazz) |
Assumption |
ExternalElementsRepositoryInterface.getAssumptionByIdAndVersion(java.lang.String id,
java.lang.String version) |
java.util.ArrayList<Assumption> |
ExternalElementsRepositoryInterface.getAssumptionsByIdList(java.util.List<java.lang.String> list) |
java.util.ArrayList<Assumption> |
ExternalElementsRepositoryInterface.getAssumptionsByPointerBusList(java.util.List<PointerBus> list) |
ContextFactor |
ExternalElementsRepositoryInterface.getContextFactorByIdAndVersion(java.lang.String id,
java.lang.String version) |
java.util.ArrayList<ContextFactor> |
ExternalElementsRepositoryInterface.getContextFactorsByIdList(java.util.List<java.lang.String> list) |
java.util.ArrayList<ContextFactor> |
ExternalElementsRepositoryInterface.getContextFactorsByPointerBusList(java.util.List<PointerBus> list) |
InstanceProject |
ExternalElementsRepositoryInterface.getInstanceProjectByIdAndVersion(java.lang.String id,
java.lang.String version) |
<T extends Element> |
BusApprovedElementInterface.getLastApprovedElement(java.lang.String id,
java.lang.Class<T> clazz,
Entity typeObj) |
OrganizationalGoal |
ExternalElementsRepositoryInterface.getOrganizationalGoalByIdAndVersion(java.lang.String id,
java.lang.String version) |
java.util.ArrayList<java.lang.String> |
BusInterface.read(PointerBus pointerBus) |
java.util.ArrayList<java.lang.String> |
BusInterface.rollback(PointerBus pointerBus) |
<T extends Element> |
BusApprovedElementInterface.sendApprovedElement(Element element,
java.lang.Class<T> clazz) |
java.util.ArrayList<java.lang.String> |
BusInterface.update(RichPointerBus pointerBus) |