|
26 | 26 | - manualSegments [advancedManyToManyObjectRelation]
|
27 | 27 | - calculatedSegments [advancedManyToManyObjectRelation]
|
28 | 28 | - password [password]
|
29 |
| -- ssoIdentities [manyToManyObjectRelation] |
30 | 29 | - passwordRecoveryToken [input]
|
31 | 30 | - passwordRecoveryTokenDate [datetime]
|
32 | 31 | */
|
|
55 | 54 | * @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getByNewsletterConfirmToken($value, $limit = 0, $offset = 0, $objectTypes = null)
|
56 | 55 | * @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getByManualSegments($value, $limit = 0, $offset = 0, $objectTypes = null)
|
57 | 56 | * @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getByCalculatedSegments($value, $limit = 0, $offset = 0, $objectTypes = null)
|
58 |
| -* @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getBySsoIdentities($value, $limit = 0, $offset = 0, $objectTypes = null) |
59 | 57 | * @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getByPasswordRecoveryToken($value, $limit = 0, $offset = 0, $objectTypes = null)
|
60 | 58 | * @method static \Pimcore\Model\DataObject\Customer\Listing|\Pimcore\Model\DataObject\Customer|null getByPasswordRecoveryTokenDate($value, $limit = 0, $offset = 0, $objectTypes = null)
|
61 | 59 | */
|
@@ -84,7 +82,6 @@ class Customer extends \CustomerManagementFrameworkBundle\Model\AbstractCustomer
|
84 | 82 | protected $manualSegments;
|
85 | 83 | protected $calculatedSegments;
|
86 | 84 | protected $password;
|
87 |
| -protected $ssoIdentities; |
88 | 85 | protected $passwordRecoveryToken;
|
89 | 86 | protected $passwordRecoveryTokenDate;
|
90 | 87 |
|
@@ -797,49 +794,6 @@ public function setPassword(?string $password)
|
797 | 794 | return $this;
|
798 | 795 | }
|
799 | 796 |
|
800 |
| -/** |
801 |
| -* Get ssoIdentities - SSO Identities |
802 |
| -* @return \Pimcore\Model\DataObject\SsoIdentity[] |
803 |
| -*/ |
804 |
| -public function getSsoIdentities(): array |
805 |
| -{ |
806 |
| - if ($this instanceof PreGetValueHookInterface && !\Pimcore::inAdmin()) { |
807 |
| - $preValue = $this->preGetValue("ssoIdentities"); |
808 |
| - if ($preValue !== null) { |
809 |
| - return $preValue; |
810 |
| - } |
811 |
| - } |
812 |
| - |
813 |
| - $data = $this->getClass()->getFieldDefinition("ssoIdentities")->preGetData($this); |
814 |
| - |
815 |
| - if ($data instanceof \Pimcore\Model\DataObject\Data\EncryptedField) { |
816 |
| - return $data->getPlain(); |
817 |
| - } |
818 |
| - |
819 |
| - return $data; |
820 |
| -} |
821 |
| - |
822 |
| -/** |
823 |
| -* Set ssoIdentities - SSO Identities |
824 |
| -* @param \Pimcore\Model\DataObject\SsoIdentity[] $ssoIdentities |
825 |
| -* @return \Pimcore\Model\DataObject\Customer |
826 |
| -*/ |
827 |
| -public function setSsoIdentities(?array $ssoIdentities) |
828 |
| -{ |
829 |
| - /** @var \Pimcore\Model\DataObject\ClassDefinition\Data\ManyToManyObjectRelation $fd */ |
830 |
| - $fd = $this->getClass()->getFieldDefinition("ssoIdentities"); |
831 |
| - $hideUnpublished = \Pimcore\Model\DataObject\Concrete::getHideUnpublished(); |
832 |
| - \Pimcore\Model\DataObject\Concrete::setHideUnpublished(false); |
833 |
| - $currentData = $this->getSsoIdentities(); |
834 |
| - \Pimcore\Model\DataObject\Concrete::setHideUnpublished($hideUnpublished); |
835 |
| - $isEqual = $fd->isEqual($currentData, $ssoIdentities); |
836 |
| - if (!$isEqual) { |
837 |
| - $this->markFieldDirty("ssoIdentities", true); |
838 |
| - } |
839 |
| - $this->ssoIdentities = $fd->preSetData($this, $ssoIdentities); |
840 |
| - return $this; |
841 |
| -} |
842 |
| - |
843 | 797 | /**
|
844 | 798 | * Get passwordRecoveryToken - Password Recovery Token
|
845 | 799 | * @return string|null
|
|
0 commit comments