-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 01818e0
Showing
131 changed files
with
8,651 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?php | ||
|
||
/** | ||
* Ecomteck | ||
* Copyright (C) 2018 Ecomteck | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see http://opensource.org/licenses/gpl-3.0.html | ||
* | ||
* @category Ecomteck | ||
* @package Ecomteck_ProductAttachment | ||
* @copyright Copyright (c) 2018 Ecomteck | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author Ecomteck | ||
*/ | ||
|
||
namespace Ecomteck\ProductAttachment\Api\Data; | ||
|
||
interface FileIconInterface | ||
{ | ||
|
||
const ICON_IMAGE = 'icon_image'; | ||
const FILE_ICON_ID = 'fileicon_id'; | ||
const ICON_EXT = 'icon_ext'; | ||
|
||
|
||
/** | ||
* Get file icon id | ||
* @return string|null | ||
*/ | ||
public function getFileIconId(); | ||
|
||
/** | ||
* Set file icon id | ||
* @param string $fileIconId | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface | ||
*/ | ||
public function setFileIconId($fileIconId); | ||
|
||
/** | ||
* Get icon_ext | ||
* @return string|null | ||
*/ | ||
public function getIconExt(); | ||
|
||
/** | ||
* Set icon_ext | ||
* @param string $icon_ext | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface | ||
*/ | ||
public function setIconExt($icon_ext); | ||
|
||
/** | ||
* Get icon_image | ||
* @return string|null | ||
*/ | ||
public function getIconImage(); | ||
|
||
/** | ||
* Set icon_image | ||
* @param string $icon_image | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface | ||
*/ | ||
public function setIconImage($icon_image); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?php | ||
|
||
/** | ||
* Ecomteck | ||
* Copyright (C) 2018 Ecomteck | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see http://opensource.org/licenses/gpl-3.0.html | ||
* | ||
* @category Ecomteck | ||
* @package Ecomteck_ProductAttachment | ||
* @copyright Copyright (c) 2018 Ecomteck | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author Ecomteck | ||
*/ | ||
|
||
namespace Ecomteck\ProductAttachment\Api\Data; | ||
|
||
interface FileIconSearchResultsInterface extends \Magento\Framework\Api\SearchResultsInterface | ||
{ | ||
/** | ||
* Get product attachment list. | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface[] | ||
*/ | ||
public function getItems(); | ||
|
||
/** | ||
* Set test list. | ||
* @param \Ecomteck\ProductAttachment\Api\Data\FileIconInterface[] $items | ||
* @return $this | ||
*/ | ||
public function setItems(array $items); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<?php | ||
|
||
/** | ||
* Ecomteck | ||
* Copyright (C) 2018 Ecomteck | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see http://opensource.org/licenses/gpl-3.0.html | ||
* | ||
* @category Ecomteck | ||
* @package Ecomteck_ProductAttachment | ||
* @copyright Copyright (c) 2018 Ecomteck | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author Ecomteck | ||
*/ | ||
|
||
namespace Ecomteck\ProductAttachment\Api\Data; | ||
interface ProductAttachmentTableInterface | ||
{ | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getProductAttachId(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setProductAttachId($val); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getName(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setName($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getDescription(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setDescription($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getFile(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setFile($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getUrl(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setUrl($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getStore(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setStore($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getCustomerGroup(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setCustomerGroup($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getProducts(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setProducts($val); | ||
|
||
/** | ||
* @return string mixed | ||
*/ | ||
public function getActive(); | ||
|
||
/** | ||
* @param string $val | ||
* @return void | ||
*/ | ||
public function setActive($val); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<?php | ||
|
||
/** | ||
* Ecomteck | ||
* Copyright (C) 2018 Ecomteck | ||
* | ||
* NOTICE OF LICENSE | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation, either version 3 of the License, or | ||
* (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program. If not, see http://opensource.org/licenses/gpl-3.0.html | ||
* | ||
* @category Ecomteck | ||
* @package Ecomteck_ProductAttachment | ||
* @copyright Copyright (c) 2018 Ecomteck | ||
* @license http://opensource.org/licenses/gpl-3.0.html GNU General Public License,version 3 (GPL-3.0) | ||
* @author Ecomteck | ||
*/ | ||
|
||
namespace Ecomteck\ProductAttachment\Api; | ||
|
||
use Magento\Framework\Api\SearchCriteriaInterface; | ||
|
||
interface FileIconRepositoryInterface | ||
{ | ||
|
||
|
||
/** | ||
* Save Fileicon | ||
* @param \Ecomteck\ProductAttachment\Api\Data\FileIconInterface $fileIcon | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function save( | ||
\Ecomteck\ProductAttachment\Api\Data\FileIconInterface $fileIcon | ||
); | ||
|
||
/** | ||
* Retrieve Fileicon | ||
* @param string $fileIconId | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconInterface | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function getById($fileIconId); | ||
|
||
/** | ||
* Retrieve Fileicon matching the specified criteria. | ||
* @param \Magento\Framework\Api\SearchCriteriaInterface $searchCriteria | ||
* @return \Ecomteck\ProductAttachment\Api\Data\FileIconSearchResultsInterface | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function getList( | ||
\Magento\Framework\Api\SearchCriteriaInterface $searchCriteria | ||
); | ||
|
||
/** | ||
* Delete Fileicon | ||
* @param \Ecomteck\ProductAttachment\Api\Data\FileIconInterface $fileIcon | ||
* @return bool true on success | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function delete( | ||
\Ecomteck\ProductAttachment\Api\Data\FileIconInterface $fileIcon | ||
); | ||
|
||
/** | ||
* Delete Fileicon by ID | ||
* @param string $fileIconId | ||
* @return bool true on success | ||
* @throws \Magento\Framework\Exception\NoSuchEntityException | ||
* @throws \Magento\Framework\Exception\LocalizedException | ||
*/ | ||
public function deleteById($fileIconId); | ||
} |
Oops, something went wrong.