Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
RowValidatorInterface.php
Go to the documentation of this file.
1 <?php
7 
14 interface RowValidatorInterface extends \Magento\Framework\Validator\ValidatorInterface
15 {
16  const ERROR_INVALID_SCOPE = 'invalidScope';
17 
18  const ERROR_INVALID_WEBSITE = 'invalidWebsite';
19 
20  const ERROR_INVALID_STORE = 'invalidStore';
21 
22  const ERROR_INVALID_ATTR_SET = 'invalidAttrSet';
23 
24  const ERROR_INVALID_TYPE = 'invalidType';
25 
26  const ERROR_INVALID_CATEGORY = 'invalidCategory';
27 
28  const ERROR_VALUE_IS_REQUIRED = 'isRequired';
29 
30  const ERROR_TYPE_CHANGED = 'typeChanged';
31 
32  const ERROR_SKU_IS_EMPTY = 'skuEmpty';
33 
34  const ERROR_NO_DEFAULT_ROW = 'noDefaultRow';
35 
36  const ERROR_CHANGE_TYPE = 'changeProductType';
37 
38  const ERROR_DUPLICATE_SCOPE = 'duplicateScope';
39 
40  const ERROR_DUPLICATE_SKU = 'duplicateSKU';
41 
42  const ERROR_CHANGE_ATTR_SET = 'changeAttrSet';
43 
44  const ERROR_TYPE_UNSUPPORTED = 'productTypeUnsupported';
45 
46  const ERROR_ROW_IS_ORPHAN = 'rowIsOrphan';
47 
48  const ERROR_INVALID_TIER_PRICE_QTY = 'invalidTierPriceOrQty';
49 
50  const ERROR_INVALID_TIER_PRICE_SITE = 'tierPriceWebsiteInvalid';
51 
52  const ERROR_INVALID_TIER_PRICE_GROUP = 'tierPriceGroupInvalid';
53 
54  const ERROR_INVALID_TIER_PRICE_TYPE = 'tierPriceTypeInvalid';
55 
56  const ERROR_TIER_DATA_INCOMPLETE = 'tierPriceDataIsIncomplete';
57 
58  const ERROR_SKU_NOT_FOUND_FOR_DELETE = 'skuNotFoundToDelete';
59 
60  const ERROR_SUPER_PRODUCTS_SKU_NOT_FOUND = 'superProductsSkuNotFound';
61 
62  const ERROR_MEDIA_DATA_INCOMPLETE = 'mediaDataIsIncomplete';
63 
64  const ERROR_INVALID_WEIGHT = 'invalidWeight';
65 
66  const ERROR_EXCEEDED_MAX_LENGTH = 'exceededMaxLength';
67 
68  const ERROR_INVALID_ATTRIBUTE_TYPE = 'invalidAttributeType';
69 
70  const ERROR_INVALID_ATTRIBUTE_DECIMAL = 'invalidAttributeDecimal';
71 
72  const ERROR_ABSENT_REQUIRED_ATTRIBUTE = 'absentRequiredAttribute';
73 
74  const ERROR_INVALID_ATTRIBUTE_OPTION = 'absentAttributeOption';
75 
76  const ERROR_DUPLICATE_UNIQUE_ATTRIBUTE = 'duplicatedUniqueAttribute';
77 
78  const ERROR_INVALID_VARIATIONS_CUSTOM_OPTIONS = 'invalidVariationsCustomOptions';
79 
80  const ERROR_INVALID_MEDIA_URL_OR_PATH = 'invalidMediaUrlPath';
81 
82  const ERROR_MEDIA_URL_NOT_ACCESSIBLE = 'mediaUrlNotAvailable';
83 
84  const ERROR_MEDIA_PATH_NOT_ACCESSIBLE = 'mediaPathNotAvailable';
85 
86  const ERROR_DUPLICATE_URL_KEY = 'duplicatedUrlKey';
87 
88  const ERROR_DUPLICATE_MULTISELECT_VALUES = 'duplicatedMultiselectValues';
89 
93  const VALUE_ALL = 'all';
94 
101  public function init($context);
102 }