123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Api\ExtensionAttribute;
- /**
- * Interface of data holder for extension attribute joins.
- *
- * @api
- * @since 100.0.2
- */
- interface JoinDataInterface
- {
- const SELECT_FIELD_EXTERNAL_ALIAS = 'external_alias';
- const SELECT_FIELD_INTERNAL_ALIAS = 'internal_alias';
- const SELECT_FIELD_WITH_DB_PREFIX = 'with_db_prefix';
- const SELECT_FIELD_SETTER = 'setter';
- /**
- * Get attribute code.
- *
- * @return string
- */
- public function getAttributeCode();
- /**
- * Set attribute code.
- *
- * @param string $attributeCode
- * @return $this
- */
- public function setAttributeCode($attributeCode);
- /**
- * Get reference table name.
- *
- * @return string
- */
- public function getReferenceTable();
- /**
- * Set reference table name.
- *
- * @param string $referenceTable
- * @return $this
- */
- public function setReferenceTable($referenceTable);
- /**
- * Get reference table alias.
- *
- * @return string
- */
- public function getReferenceTableAlias();
- /**
- * Set reference table alias.
- *
- * @param string $referenceTableAlias
- * @return $this
- */
- public function setReferenceTableAlias($referenceTableAlias);
- /**
- * Get reference field.
- *
- * @return string
- */
- public function getReferenceField();
- /**
- * Set reference field.
- *
- * @param string $referenceField
- * @return $this
- */
- public function setReferenceField($referenceField);
- /**
- * Get join field.
- *
- * @return string
- */
- public function getJoinField();
- /**
- * Set join field.
- *
- * @param string $joinField
- * @return $this
- */
- public function setJoinField($joinField);
- /**
- * Get select fields.
- *
- * @return array
- */
- public function getSelectFields();
- /**
- * Set select field.
- *
- * @param array $selectFields
- * @return $this
- */
- public function setSelectFields(array $selectFields);
- }
|