Class SystemComponentService

java.lang.Object
ch.admin.bit.jeap.archrepo.web.service.SystemComponentService

@Component public class SystemComponentService extends Object
Service class for managing system components.
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent
    Finds or creates a system component based on the given name.
    Optional<ch.admin.bit.jeap.archrepo.metamodel.System>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public Optional<ch.admin.bit.jeap.archrepo.metamodel.System> findSystemAliases(String systemName)