Interface CatalogVersionDao

    • Method Detail

      • findCatalogVersions

        java.util.Collection<CatalogVersionModel> findCatalogVersions​(java.lang.String catalogId,
                                                                      java.lang.String version)
        Returns for the given catalogId and version a collection with the found CatalogVersionModel.
        Returns:
        a collection with the found CatalogVersionModel or empty collection is nothing was found.
      • findAllCatalogVersions

        java.util.Collection<CatalogVersionModel> findAllCatalogVersions()
        Returns all CatalogVersionModels defined in the system.
        Returns:
        an empty collection if no catalog version was found
      • findAllCategoriesCount

        java.lang.Integer findAllCategoriesCount​(CatalogVersionModel catalogVersion)
        Returns the count of CategoryModels which are assigned to this CatalogVersionModel.
        Parameters:
        catalogVersion - the CatalogVersionModel
        Returns:
        the number of CategoryModels which are assigned to this CatalogVersionModel
      • findAllProductsCount

        java.lang.Integer findAllProductsCount​(CatalogVersionModel catalogVersion)
        Returns the count of ProductModels which are assigned to this CatalogVersionModel.
        Parameters:
        catalogVersion - the CatalogVersionModel
        Returns:
        the number of CategoryModels which are assigned to this CatalogVersionModel
      • findAllMediasCount

        java.lang.Integer findAllMediasCount​(CatalogVersionModel catalogVersion)
        Returns the count of MediaModels which are assigned to this CatalogVersionModel.
        Parameters:
        catalogVersion - the CatalogVersionModel
        Returns:
        the number of MediaModels which are assigned to this CatalogVersionModel
      • findAllKeywordsCount

        java.lang.Integer findAllKeywordsCount​(CatalogVersionModel catalogVersion)
        Returns the count of KeywordModels which are assigned to this CatalogVersionModel.
        Parameters:
        catalogVersion - the CatalogVersionModel
        Returns:
        the number of KeywordModels which are assigned to this CatalogVersionModel
      • findDuplicatedIds

        java.util.Collection<DuplicatedItemIdentifier> findDuplicatedIds​(CatalogVersionModel catalogVersion)
        Returns collection of duplicated identifiers (and their count) which are assigned to this CatalogVersionModel
        Parameters:
        catalogVersion -
        Returns:
        collection of duplicated item identifiers data objects