Interface ItemAttributeRepositoryCustom

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> findAllKeysByLaunchFilter​(Queryable launchFilter, org.springframework.data.domain.Pageable launchPageable, boolean isLatest, java.lang.String keyPart, boolean isSystem)
      Retrieves Launch and TestItem ItemAttribute.getKey() by project id and part of the ItemAttribute.getKey().
      java.util.List<java.lang.String> findLaunchAttributeKeys​(java.lang.Long projectId, java.lang.String value, boolean system)
      Retrieves launch attribute keys by project and part of value.
      java.util.List<java.lang.String> findLaunchAttributeValues​(java.lang.Long projectId, java.lang.String key, java.lang.String value, boolean system)
      Retrieves launch attribute values by project, specified key and part of value.
      java.util.List<java.lang.String> findTestItemAttributeKeys​(java.lang.Long launchId, java.lang.String value, boolean system)
      Retrieves test item attribute keys by launch and part of value.
      java.util.List<java.lang.String> findTestItemAttributeValues​(java.lang.Long launchId, java.lang.String key, java.lang.String value, boolean system)
      Retrieves test item attribute values by launch, specified key and part of value.
      int saveByItemId​(java.lang.Long itemId, java.lang.String key, java.lang.String value, boolean isSystem)
      Save item attribute by TestItem.itemId
      int saveMultiple​(java.util.List<ItemAttributePojo> itemAttributes)
      Method for batch inserting of the ItemAttribute.
    • Method Detail

      • findLaunchAttributeKeys

        java.util.List<java.lang.String> findLaunchAttributeKeys​(java.lang.Long projectId,
                                                                 java.lang.String value,
                                                                 boolean system)
        Retrieves launch attribute keys by project and part of value. Used for autocompletion functionality
        Parameters:
        projectId - Id of project
        value - part of key
        Returns:
        List of matched attribute keys
      • findLaunchAttributeValues

        java.util.List<java.lang.String> findLaunchAttributeValues​(java.lang.Long projectId,
                                                                   java.lang.String key,
                                                                   java.lang.String value,
                                                                   boolean system)
        Retrieves launch attribute values by project, specified key and part of value. Used for autocompletion functionality
        Parameters:
        projectId - Id of project
        key - Specified key
        value - Part of value
        Returns:
        List of matched attribute values
      • findTestItemAttributeKeys

        java.util.List<java.lang.String> findTestItemAttributeKeys​(java.lang.Long launchId,
                                                                   java.lang.String value,
                                                                   boolean system)
        Retrieves test item attribute keys by launch and part of value. Used for autocompletion functionality
        Parameters:
        launchId - Id of launch
        value - part of key
        Returns:
        List of matched attribute keys
      • findTestItemAttributeValues

        java.util.List<java.lang.String> findTestItemAttributeValues​(java.lang.Long launchId,
                                                                     java.lang.String key,
                                                                     java.lang.String value,
                                                                     boolean system)
        Retrieves test item attribute values by launch, specified key and part of value. Used for autocompletion functionality
        Parameters:
        launchId - Id of launch
        key - Specified key
        value - Part of value
        Returns:
        List of matched attribute values
      • saveMultiple

        int saveMultiple​(java.util.List<ItemAttributePojo> itemAttributes)
        Method for batch inserting of the ItemAttribute. Used for performance improvement
        Parameters:
        itemAttributes - The List of the ItemAttributePojo
        Returns:
        Number of inserted records