Class SystemComponentService
java.lang.Object
ch.admin.bit.jeap.archrepo.web.service.SystemComponentService
Service class for managing system components.
-
Constructor Summary
ConstructorsConstructorDescriptionSystemComponentService(ch.admin.bit.jeap.archrepo.persistence.TeamRepository teamRepository, ch.admin.bit.jeap.archrepo.persistence.SystemRepository systemRepository, ch.admin.bit.jeap.archrepo.persistence.SystemComponentRepository systemComponentRepository) -
Method Summary
Modifier and TypeMethodDescriptionch.admin.bit.jeap.archrepo.metamodel.system.SystemComponentfindOrCreateSystemComponent(String componentName) Finds or creates a system component based on the given name.Optional<ch.admin.bit.jeap.archrepo.metamodel.System> findSystemAliases(String systemName)
-
Constructor Details
-
SystemComponentService
public SystemComponentService(ch.admin.bit.jeap.archrepo.persistence.TeamRepository teamRepository, ch.admin.bit.jeap.archrepo.persistence.SystemRepository systemRepository, ch.admin.bit.jeap.archrepo.persistence.SystemComponentRepository systemComponentRepository)
-
-
Method Details
-
findOrCreateSystemComponent
@Transactional public ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent findOrCreateSystemComponent(String componentName) Finds or creates a system component based on the given name.- Parameters:
componentName- the name of the system component- Returns:
- the found or newly created SystemComponent
-
findSystemAliases
-