Class EnvironmentLabelApiImpl

  • All Implemented Interfaces:
    com.xebialabs.xlrelease.api.ApiService, com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi

    @Controller
    public class EnvironmentLabelApiImpl
    extends java.lang.Object
    implements com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
    • Field Summary

      • Fields inherited from interface com.xebialabs.xlrelease.api.ApiService

        DEFAULT_RESULTS_PER_PAGE, DEFAULT_RESULTS_PER_PAGE_STRING, DEPTH, ORDER_BY, PAGE, PAGE_IS_OFFSET, RESULTS_PER_PAGE, ROLE_IDS_DATA
    • Constructor Summary

      Constructors 
      Constructor Description
      EnvironmentLabelApiImpl​(com.xebialabs.xlrelease.environments.service.EnvironmentLabelService environmentLabelService, com.xebialabs.xlrelease.environments.service.EnvironmentSecurity environmentSecurity)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.xebialabs.xlrelease.domain.environments.EnvironmentLabel create​(com.xebialabs.xlrelease.domain.environments.EnvironmentLabel environmentLabel)  
      com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView createLabel​(com.xebialabs.xlrelease.api.v1.form.EnvironmentLabelForm labelForm)  
      void delete​(java.lang.String environmentLabelId)  
      com.xebialabs.xlrelease.domain.environments.EnvironmentLabel getById​(java.lang.String id)  
      com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView getLabelById​(java.lang.String environmentLabelId)  
      java.util.List<com.xebialabs.xlrelease.domain.environments.EnvironmentLabel> search​(com.xebialabs.xlrelease.api.v1.filter.EnvironmentLabelFilters filters)  
      java.util.List<com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView> searchLabels​(com.xebialabs.xlrelease.api.v1.filter.EnvironmentLabelFilters filters)  
      com.xebialabs.xlrelease.domain.environments.EnvironmentLabel update​(com.xebialabs.xlrelease.domain.environments.EnvironmentLabel environmentLabel)  
      com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView updateLabel​(java.lang.String environmentLabelId, com.xebialabs.xlrelease.api.v1.form.EnvironmentLabelForm labelForm)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi

        serviceName
    • Constructor Detail

      • EnvironmentLabelApiImpl

        @Autowired
        public EnvironmentLabelApiImpl​(com.xebialabs.xlrelease.environments.service.EnvironmentLabelService environmentLabelService,
                                       com.xebialabs.xlrelease.environments.service.EnvironmentSecurity environmentSecurity)
    • Method Detail

      • createLabel

        @Timed
        public com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView createLabel​(com.xebialabs.xlrelease.api.v1.form.EnvironmentLabelForm labelForm)
        Specified by:
        createLabel in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • getLabelById

        @Timed
        public com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView getLabelById​(java.lang.String environmentLabelId)
        Specified by:
        getLabelById in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • updateLabel

        @Timed
        public com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView updateLabel​(java.lang.String environmentLabelId,
                                                                                     com.xebialabs.xlrelease.api.v1.form.EnvironmentLabelForm labelForm)
        Specified by:
        updateLabel in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • searchLabels

        @Timed
        public java.util.List<com.xebialabs.xlrelease.api.v1.views.EnvironmentLabelView> searchLabels​(com.xebialabs.xlrelease.api.v1.filter.EnvironmentLabelFilters filters)
        Specified by:
        searchLabels in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • delete

        @Timed
        public void delete​(java.lang.String environmentLabelId)
        Specified by:
        delete in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • create

        @Timed
        public com.xebialabs.xlrelease.domain.environments.EnvironmentLabel create​(com.xebialabs.xlrelease.domain.environments.EnvironmentLabel environmentLabel)
        Specified by:
        create in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • getById

        @Timed
        public com.xebialabs.xlrelease.domain.environments.EnvironmentLabel getById​(java.lang.String id)
        Specified by:
        getById in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • update

        @Timed
        public com.xebialabs.xlrelease.domain.environments.EnvironmentLabel update​(com.xebialabs.xlrelease.domain.environments.EnvironmentLabel environmentLabel)
        Specified by:
        update in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi
      • search

        @Timed
        public java.util.List<com.xebialabs.xlrelease.domain.environments.EnvironmentLabel> search​(com.xebialabs.xlrelease.api.v1.filter.EnvironmentLabelFilters filters)
        Specified by:
        search in interface com.xebialabs.xlrelease.api.v1.EnvironmentLabelApi