‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface:
TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractValueObject TYPO3\CMS\Beuser\Domain\Model\BackendUser TYPO3\CMS\Beuser\Domain\Model\BackendUserGroup TYPO3\CMS\Beuser\Domain\Model\FileMount TYPO3\CMS\Extbase\Domain\Model\Category TYPO3\CMS\Extbase\Domain\Model\File TYPO3\CMS\Extbase\Domain\Model\FileReference TYPO3\CMS\Extbase\Domain\Model\Folder TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Mapper\Fixtures\HydrationFixtureEntity TYPO3\CMS\Extbase\Tests\Functional\Validation\Fixtures\Entity TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\Fixtures\EntityFixture TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Domain\Model\A TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Domain\Model\Entity TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity2 TYPO3\CMS\Extbase\Tests\Unit\Persistence\Fixture\Model\Entity3 TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\Fixtures\PersistentObjectEntityFixture TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyClassWithAllTypesOfProperties TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\DummyModel TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithoutTypeDeclarations TYPO3\CMS\Extbase\Tests\Unit\Reflection\Fixture\Property\DummyEntityWithTypeDeclarations TYPO3\CMS\Extensionmanager\Domain\Model\Extension TYPO3\CMS\Fluid\Tests\Functional\Fixtures\ViewHelpers\ExtendsAbstractEntity TYPO3Tests\ActionControllerArgumentTest\Domain\Model\Model TYPO3Tests\ActionControllerTest\Domain\Model\Model TYPO3Tests\BlogExample\Domain\Model\Administrator TYPO3Tests\BlogExample\Domain\Model\Blog TYPO3Tests\BlogExample\Domain\Model\Category TYPO3Tests\BlogExample\Domain\Model\Comment TYPO3Tests\BlogExample\Domain\Model\DateExample TYPO3Tests\BlogExample\Domain\Model\DateTimeImmutableExample TYPO3Tests\BlogExample\Domain\Model\FrontendUserGroup TYPO3Tests\BlogExample\Domain\Model\Info TYPO3Tests\BlogExample\Domain\Model\Person TYPO3Tests\BlogExample\Domain\Model\Post TYPO3Tests\BlogExample\Domain\Model\TtContent TYPO3Tests\ParentChildTranslation\Domain\Model\Child TYPO3Tests\ParentChildTranslation\Domain\Model\Main TYPO3Tests\ParentChildTranslation\Domain\Model\Squeeze TYPO3Tests\TestDataMapper\Domain\Model\Example TYPO3Tests\TestDataMapper\Domain\Model\TraversableDomainObjectExample TYPO3Tests\TestIrreForeignfield\Domain\Model\Content TYPO3Tests\TestIrreForeignfield\Domain\Model\Hotel TYPO3Tests\TestIrreForeignfield\Domain\Model\Offer TYPO3Tests\TestIrreForeignfield\Domain\Model\Price TYPO3Tests\TestValidators\Domain\Model\AnotherModel TYPO3Tests\TestValidators\Domain\Model\Model TYPO3\CMS\Extbase\Tests\Fixture\ValueObject TYPO3\CMS\Extbase\Tests\Unit\Mvc\Web\Routing\Fixtures\ValueObjectFixture TYPO3\CMS\Extbase\Tests\Unit\Property\TypeConverter\Fixtures\PersistentObjectValueObjectFixture TYPO3Tests\BlogExample\Domain\Model\RegistryEntry TYPO3Tests\BlogExample\Domain\Model\Tag

Public Member Functions

 getUid ()
 
 setPid (int $pid)
 
 getPid ()
 
 _isNew ()
 
 _hasProperty (string $propertyName)
 
 _setProperty (string $propertyName, mixed $value)
 
 _getProperty (string $propertyName)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
 _memorizeCleanState (?string $propertyName=null)
 
 _isDirty (?string $propertyName=null)
 

Detailed Description

A Domain Object Interface. All domain objects which should be persisted need to implement the below interface. Usually you will need to subclass \TYPO3\CMS\Extbase\DomainObject\AbstractEntity and \TYPO3\CMS\Extbase\DomainObject\AbstractValueObject instead.

See also
‪\TYPO3\CMS\Extbase\DomainObject\AbstractEntity
‪\TYPO3\CMS\Extbase\DomainObject\AbstractValueObject

only to be used within Extbase, not part of TYPO3 Core API.

Definition at line 32 of file DomainObjectInterface.php.

Member Function Documentation

◆ _getProperty()

◆ _hasProperty()

◆ _isNew()

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_isNew ( )

◆ _setProperty()

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::_setProperty ( string  $propertyName,
mixed  $value 
)

◆ getPid()

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::getPid ( )

◆ getUid()

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::getUid ( )

Implemented in TYPO3Tests\TestDataMapper\Domain\Model\TraversableDomainObjectExample.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Backend\attachObjectToParentObjectRelationHasMany(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\deleteAllRelationsFromRelationtable(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\deleteRelationFromRelationtable(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Mapper\DataMapperTest\fetchRelatedRespectsForeignDefaultSortByTCAConfiguration(), TYPO3\CMS\Beuser\Domain\Repository\BackendUserSessionRepository\findByBackendUser(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsLimit(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsOffset(), TYPO3Tests\BlogExample\Domain\Repository\PostRepository\findRemaining(), TYPO3\CMS\Extbase\Domain\Model\File\getOriginalResource(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\insertRelationInRelationtable(), TYPO3\CMS\Beuser\Domain\Model\BackendUser\isCurrentlyLoggedIn(), TYPO3\CMS\Beuser\Domain\Model\BackendUser\isPasswordResetEnabled(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\removeEntity(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\resolveEntityIds(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\resolveRelationValuesOfField(), TYPO3\CMS\Extbase\Domain\Model\FileReference\setOriginalResource(), TYPO3\CMS\Extbase\Persistence\Generic\Backend\updateObject(), and TYPO3\CMS\Extbase\Persistence\Generic\Backend\updateRelationInRelationTable().

◆ setPid()

TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface::setPid ( int  $pid)