Feature #1292

Introduce @identifier annotation for objects

Added by Karsten Dambekalns almost 7 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2008-08-25
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:-
PHP Version: Complexity:
Has patch:

Description

With the @identifier annotation an object could mark it's internal identifier as usable towards persistence. The persistence layer would then use that when persisting the object and restore that identifier upon reconstitution of an object.


Related issues

related to TYPO3.TYPO3CR - Feature #1291: Make it possible to suggest an identifier for a new node Resolved

Associated revisions

Revision 04984332
Added by Karsten Dambekalns almost 7 years ago

FLOW3, TYPO3CR:
  • class schemata now hold information about an object's identifier property (marked with @identifier)
  • when storing new obejcts, an identifier from the object is suggested if available
  • when reconstituting objects the node identifier is used for the object's identifier property

This commit fixes #1292.

History

#1 Updated by Karsten Dambekalns almost 7 years ago

  • Status changed from New to Accepted
  • Assigned To set to Karsten Dambekalns
  • Start date set to 2008-08-25
  • % Done changed from 0 to 30

#2 Updated by Karsten Dambekalns almost 7 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 30 to 100

Applied in changeset r1155.

Also available in: Atom PDF