Skip to content

[32015][PR to 2.4-develop] Marked Catalog*, Checkout, Cms, ConfigurableProduct interfaces as API #32725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 35 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
117fe4d
Mark Catalog interfaces as API
vlmed Feb 10, 2021
bdff3f8
Fixed static tests. Mark Catalog/Model/ResourceModel/Product/Indexer/…
vlmed Feb 24, 2021
ce71c85
Mark UrlRewriteGraphQl, User, Vault, Webapi, Widget and Wishlist inte…
vlmed Feb 10, 2021
dad0fc3
Static test has been fixed
engcom-Hotel Feb 24, 2021
1e8836a
refactoring
engcom-Hotel Feb 25, 2021
5d994f6
Marked Factory classes as API
vlmed Feb 10, 2021
90fdf5f
Fixed Satic test. Mark lib/internal/Magento/Framework/Api/ExtensionAt…
vlmed Feb 24, 2021
559575e
Fixed static tests. Marked as API lib/internal/Magento/Framework/DB/L…
vlmed Feb 24, 2021
81ec7c9
Mark Framework interfaces as API part 9
mrtuvn Feb 23, 2021
cc3329e
Mark Framework interfaces as API part 8
mrtuvn Feb 11, 2021
7e9365b
Mark Framework interfaces as API part 7
mrtuvn Feb 11, 2021
eedf8fc
Mark Framework Interfaces as API part 3
mrtuvn Feb 26, 2021
61f8d7e
Mark Framework interfaces as API part 1
mrtuvn Feb 20, 2021
6815764
Mark Various Modules interfaces as API
mrtuvn Feb 13, 2021
47ce030
Mark classes and interfaces as API part 5
mrtuvn Apr 6, 2021
90f00d8
Mark classes and interfaces as API part 4
mrtuvn Apr 6, 2021
3f89f03
Mark classes and interfaces as API part 6
mrtuvn Apr 7, 2021
70d5524
Update Config.php
mrtuvn Apr 8, 2021
3baab6e
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
e526fd7
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
c9a14b1
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
47cc32d
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
8da2b9f
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
e1eb785
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
0a21b87
marked as api
Usik2203 Feb 15, 2021
b0db38c
minor adjustments
Usik2203 Feb 25, 2021
39c20d2
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
382c055
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
b4dc47a
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
5708a54
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
e679c2b
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
e19766a
Merge remote-tracking branch 'magento-engcom/imported-magento-magento…
Apr 13, 2021
04e674b
Merge pull request #6786 from magento-commerce/imported-magento-comme…
gabrieldagama Apr 13, 2021
93a7a95
Merge branch 'api-changes-develop' into 32015-api-242
Usik2203 Apr 15, 2021
1386866
Merge branch '2.4-develop' into 32015-api-242
Usik2203 Apr 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Block/Product/AwareInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Class Product Aware interface
*
* @api
*/
interface AwareInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Block/Product/ImageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@

/**
* Create imageBlock from product and view.xml
*
* @api
*/
class ImageFactory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Block\Product\ReviewRendererInterface
*
* @api
*/
interface ReviewRendererInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/**
* Interface \Magento\Catalog\Controller\Adminhtml\Product\Initialization\Helper\HandlerInterface
*
* @api
*/
interface HandlerInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

/**
* Marker interface for controllers on product view page
*
* @api
*/
namespace Magento\Catalog\Controller\Product\View;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/**
* Interface \Magento\Catalog\Model\Attribute\LockValidatorInterface
*
* @api
*/
interface LockValidatorInterface
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/**
* Catalog config model.
*
* @api
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.TooManyFields)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Interface ProductPriceOptionsInterface
*
* @api
*/
interface ProductPriceOptionsInterface extends OptionSourceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/**
* Interface \Magento\Catalog\Model\Entity\Product\Attribute\Group\AttributeMapperInterface
*
* @api
*/
interface AttributeMapperInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Interface TableDataInterface
*
* @api
*/
interface TableDataInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\CollectionFilterInterface
*
* @api
*/
interface CollectionFilterInterface
{
Expand Down
7 changes: 4 additions & 3 deletions app/code/Magento/Catalog/Model/Layer/Filter/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Catalog\Model\Layer\Filter;

/**
* Filter item model
*
* @author Magento Core Team <[email protected]>
* @api
*/
namespace Magento\Catalog\Model\Layer\Filter;

class Item extends \Magento\Framework\DataObject
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\FilterableAttributeListInterface
*
* @api
*/
interface FilterableAttributeListInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\ItemCollectionProviderInterface
*
* @api
*/
interface ItemCollectionProviderInterface
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Layer/StateKeyInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\Layer\StateKeyInterface
*
* @api
*/
interface StateKeyInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/**
* Interface \Magento\Catalog\Model\Product\Condition\ConditionInterface
*
* @api
*/
interface ConditionInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
* Interface of product configurational item option
*
* @api
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Model\Product\Configuration\Item\Option;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/**
* Interface \Magento\Catalog\Model\Product\Media\ConfigInterface
*
* @api
*/
interface ConfigInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Interface resolver checks whether product available for sale
*
* @api
*/
interface SalableResolverInterface
{
Expand Down
6 changes: 4 additions & 2 deletions app/code/Magento/Catalog/Model/Product/Type/Price/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
* See COPYING.txt for license details.
*/

namespace Magento\Catalog\Model\Product\Type\Price;

/**
* Product type price factory
*
* @api
*/
namespace Magento\Catalog\Model\Product\Type\Price;

class Factory
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\ProductLink\CollectionProviderInterface
*
* @api
*/
interface CollectionProviderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/**
* Interface \Magento\Catalog\Model\ProductLink\Converter\ConverterInterface
*
* @api
*/
interface ConverterInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Criteria for finding lists.
*
* @api
*/
interface ListCriteriaInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Result of finding a list of links.
*
* @api
*/
interface ListResultInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

/**
* Provide link data for products.
*
* @api
*/
interface MapProviderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/**
* Interface \Magento\Catalog\Model\ProductOptions\ConfigInterface
*
* @api
*/
interface ConfigInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Wrapper for structure of price index table.
*
* @api
*/
class IndexTableStructure
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

/**
* Interface for modifying price data in price index table.
*
* @api
*/
interface PriceModifierInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

/**
* Provide Select object for retrieve product id with minimal price
*
* @api
*/
interface LinkedProductSelectBuilderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/**
* Configured price interface.
*
* @api
*/
interface ConfiguredPriceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Interface define methods which control display of "As low as" price
*
* @api
*/
interface MinimalPriceCalculatorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

/**
* Special price interface
*
* @api
*/
interface SpecialPriceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

/**
* Interface WysiwygConfigDataProcessorInterface
*
* @api
*/
interface WysiwygConfigDataProcessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
* ],
* ...
* ];
*
* @api
*/
interface LayerBuilderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* Add additional joins, attributes, and clauses to a category collection.
*
* @api
*/
interface CollectionProcessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

/**
* Provides product prices
*
* @api
*/
interface ProviderInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

/**
* Add additional joins, attributes, and clauses to a product collection.
*
* @api
*/
interface CollectionProcessorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\CatalogGraphQl\Model\Resolver\Products\Query;

Expand All @@ -12,6 +13,8 @@

/**
* Search for products by criteria
*
* @api
*/
interface ProductQueryInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

/**
* Container for a product search holding the item result and the array in the GraphQL-readable product type format.
*
* @api
*/
class SearchResult
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

use Magento\Catalog\Model\ResourceModel\Product\Collection;

/**
* Product filter interface
*
* @api
*/
interface ProductFilterInterface
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
/**
* Manage additional tables used while building new index to preserve
* index tables until the process finishes.
*
* @api
*/
interface IndexerTableSwapperInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\CatalogSearch\Model\Adapter\Aggregation;

use Magento\Framework\Search\RequestInterface;

/**
* RequestCheckerInterface provides the interface to work with query checkers.
*
* @api
*/
interface RequestCheckerInterface
{
Expand Down
Loading