Directory Classes/Persistence/

Directory Created:
2008-06-03 11:30
Directory Deleted:
2010-08-24 10:42
Total Files:
0
Deleted Files:
32
Lines of Code:
0

[root]/Classes/Persistence
            Folder removed from repo Aspect (0 files, 0 lines)
            Folder removed from repo Backend (0 files, 0 lines)
                Folder removed from repo GenericPdo (0 files, 0 lines)
            Folder removed from repo Exception (0 files, 0 lines)
            Folder removed from repo QOM (0 files, 0 lines)
            Folder removed from repo Qom (0 files, 0 lines)

Lines of Code

Classes/Persistence/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 333 (100.0%) 5497 (100.0%) 16.5
k-fish 257 (77.2%) 3909 (71.1%) 15.2
robert 72 (21.6%) 1526 (27.8%) 21.1
sebastian 3 (0.9%) 58 (1.1%) 19.3
andi 1 (0.3%) 4 (0.1%) 4.0

Most Recent Commits

k-fish 2010-08-24 10:42 Rev.: 5057

Removed everything in trunk after move to git.

0 lines of code changed in 32 files:

  • Classes/Persistence: BackendInterface.php (del), ClassSchema.php (del), ClassSchemataBuilder.php (del), DataMapper.php (del), DataMapperInterface.php (del), Exception.php (del), F3_FLOW3_Persistence_BackendInterface.php (del), F3_FLOW3_Persistence_ClassSchema.php (del), F3_FLOW3_Persistence_ClassSchemaBuilder.php (del), F3_FLOW3_Persistence_ClassSchemataBuilder.php (del), F3_FLOW3_Persistence_Exception.php (del), F3_FLOW3_Persistence_Manager.php (del), F3_FLOW3_Persistence_ManagerInterface.php (del), F3_FLOW3_Persistence_PersistenceAspect.php (del), F3_FLOW3_Persistence_QueryFactoryInterface.php (del), F3_FLOW3_Persistence_QueryInterface.php (del), F3_FLOW3_Persistence_Repository.php (del), F3_FLOW3_Persistence_RepositoryInterface.php (del), F3_FLOW3_Persistence_Session.php (del), LazyLoadingProxy.php (del), LazySplObjectStorage.php (del), Manager.php (del), ManagerInterface.php (del), PersistenceManager.php (del), PersistenceManagerInterface.php (del), Query.php (del), QueryFactory.php (del), QueryFactoryInterface.php (del), QueryInterface.php (del), Repository.php (del), RepositoryInterface.php (del), Session.php (del)
k-fish 2010-08-18 12:40 Rev.: 5000

[+BUGFIX] FLOW3 (Persistence): isEmpty() matches correctly on NULL now, equality checks against NULL now work correctly on collections, relates to #9358, fixes #9184.

2 lines of code changed in 2 files:

  • Classes/Persistence: Query.php (+1 -1), QueryInterface.php (+1 -1)
k-fish 2010-08-13 16:21 Rev.: 4969

[-TASK] FLOW3: Removed @version keyword from files, resolves #8835.

0 lines of code changed in 12 files:

  • Classes/Persistence: DataMapper.php (-1), Exception.php (-1), LazySplObjectStorage.php (-1), PersistenceManager.php (-1), PersistenceManagerInterface.php (-1), Query.php (-1), QueryFactory.php (-1), QueryFactoryInterface.php (-1), QueryInterface.php (-1), Repository.php (-1), RepositoryInterface.php (-1), Session.php (-1)
robert 2010-08-12 15:54 Rev.: 4956

[~TASK] ExtJS: Added doc comments to a few methods. Added basic parameter check for transaction arguments.
[+BUGFIX] ExtJS (ExtDirect): Fixed a bug which resulted in a broken communication between client and server via ExtDirect if a shared action method had optional arguments. Resolves #9279
[~TASK] FLOW3 (MVC): Cleaned up the code and documentation of the JsonView
[+FEATURE] FLOW3 (Persistence): The base repository now only sets the repository's object type if it has not been defined before. By that it is possible to define a custom object type in the property declaration of a concrete repository.
[+FEATURE] FLOW3 (Property): The property mapper now supports creation and recreation of objects specified by a UUID in an identity array even if they are just part of the overall source object / array to be mapped.
[+BUGFIX] FLOW3 (Validation): Fixed a few failing tests of composite validators, caused by incorrect mock building.

4 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+4 -1)
k-fish 2010-07-05 20:45 Rev.: 4762

[~TASK] TYPO3: Setup controller cleaned up and working again as expected by deployment task.
[~TASK] FLOW3: Fixed (again) the handling of restricted objects in LazySplObjectStorage.

3 lines of code changed in 1 file:

  • Classes/Persistence: LazySplObjectStorage.php (+3 -3)
k-fish 2010-07-01 09:56 Rev.: 4689

[~TASK] FLOW3 (Persistence): Passing an empty array to mapToObject() now causes a proper exception to be thrown.

4 lines of code changed in 1 file:

  • Classes/Persistence: DataMapper.php (+4)
k-fish 2010-06-25 15:02 Rev.: 4638

[~TASK] FLOW3 (Persistence): If objects have been blocked by security query rewriting, ignore them in certain places; relates to #6604.

26 lines of code changed in 2 files:

  • Classes/Persistence: LazySplObjectStorage.php (+12 -2), Session.php (+14 -6)
k-fish 2010-06-24 11:27 Rev.: 4621

[~TASK] FLOW3 (Persistence): Renamed QOM to Qom to follow coding guidelines, part 1 of 2.

15 lines of code changed in 1 file:

  • Classes/Persistence: Query.php (+15 -15)
k-fish 2010-06-21 16:30 Rev.: 4604

[~TASK] FLOW3 (Persistence): When persisting NULL values are now recorded and collection (array, SplObjectStorage) properties are restored as NULL if they contained NULL, resolves #6520.
[~TASK] FLOW3 (Persistence): Equality comparison in a query now works correctly when comparing against NULL, relates to #8299.
[+API] FLOW3 (Persistence): Query::isEmpty() has been added and can check for empty collection properties, relates to #8299.
[~TASK] FLOW3 (Persistence): The like() constraint now can be used case-insensitive (like equals); constraints do stricter checks on property and operand types.

172 lines of code changed in 3 files:

  • Classes/Persistence: DataMapper.php (+12 -10), Query.php (+113 -16), QueryInterface.php (+47 -7)
k-fish 2010-06-10 12:06 Rev.: 4481

[+FEATURE] FLOW3 (Persistence): Query now allows for comfortable chaining of constraints with logicalAnd() and logicalOr(), resolves #6736.

52 lines of code changed in 2 files:

  • Classes/Persistence: Query.php (+42 -16), QueryInterface.php (+10 -8)
k-fish 2010-06-10 11:31 Rev.: 4479

[+BUGFIX] FLOW3 (Persistence): When checking for objects removed from an array comparison now works, fixes #8132.

1 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+1 -1)
k-fish 2010-04-30 16:13 Rev.: 4252

[+FEATURE] FLOW3 (Persistence): Added some more tests for nested array support, basics work; resolves #7495, resolves #7496.
[-TASK] FLOW3 (Persistence) removed getCleanState() from AbstractBackend, it was useless since the dirty checking refactoring, relates to #7567.
[~TASK] FLOW3 (Persistence): Adjusted the code to take care of removed objects inside arrays and SplObjectStorages, fixes #7567.

53 lines of code changed in 1 file:

  • Classes/Persistence: Session.php (+53 -45)
k-fish 2010-04-30 10:34 Rev.: 4246

[+FEATURE] FLOW3 (Persistence): Implemented nested array support, basics work; relates to #7495, relates to #7496.
[~TASK] FLOW3 (Debugger): Now the var_dump has a lined background even if there is an exception trace shown at the same time.

3 lines of code changed in 1 file:

  • Classes/Persistence: DataMapper.php (+3 -3)
robert 2010-04-09 16:39 Rev.: 4043

[+TASK] FLOW3 (Object): The Abstract Object Container now gives a hint / throws an InvalidArgumentException if object names or class names were specified with a leading backslash. Relates to #7198
[+BUGFIX] FLOW3 (Reflection): The Reflection Service now ignores leading backslashes in class names specified in annotations. Resolves #7198
[+BUGFIX] FLOW3 (Persistence): The Persistence Manager now retrieves repository objects by object name instead of class name. Resolves #7199

2 lines of code changed in 1 file:

  • Classes/Persistence: PersistenceManager.php (+2 -1)
k-fish 2010-03-30 11:20 Rev.: 4035

[~TASK] FLOW3 (Error): When logging exceptions, the line number is now correctly output.
[+BUGFIX] FLOW3 (Persistence): Existing value objects' properties are now no longer persisted (nonsense, they are immutable anyway).
[+BUGFIX] FLOW3 (Persistence): When an entity is replaced through reference (as opposed to through a repository), it is now handled correctly.

1 lines of code changed in 1 file:

  • Classes/Persistence: PersistenceManager.php (+1 -1)
k-fish 2010-03-16 12:11 Rev.: 3960

[~TASK] FLOW3 (Persistence): Fixed Jochen's favorite FLOW3 code snippet, see http://twitter.com/jocrau/statuses/10537988072
[+FEATURE] FLOW3 (Property): When creating object the PropertyMapper now makes use of constructor arguments, this enables value object creation and thus resolves #6869.

1 lines of code changed in 1 file:

  • Classes/Persistence: DataMapper.php (+1 -1)
k-fish 2010-03-11 21:07 Rev.: 3930

[+FEATURE] FLOW3 (Persistence): Reimplemented lazy loading, resolves #6120. See updated manual for details.
[+FEATURE] FLOW3 (Persistence): Lazy loaded SplObjectStorage can now be counted without triggering activation, resolves #3337.
[~API] FLOW3 (Persistence): Moved the BackendInterface into the Backend namespace.
[-API] FLOW3 (Persistence): Removed the DataMapperInterface. Backends should follow the defined data structure.
[~TASK] FLOW3 (Persistence): Optimized clean data handling while dirty checking, reducing memory usage.

545 lines of code changed in 5 files:

  • Classes/Persistence: DataMapper.php (new 322), LazySplObjectStorage.php (new 188), PersistenceManager.php (+20 -15), Query.php (+3 -3), Session.php (+12 -8)
k-fish 2010-03-04 16:52 Rev.: 3905

[~TASK] FLOW3 (Persistence): Added a safeguard in Session->unregisterReconstitutedEntity().

4 lines of code changed in 1 file:

  • Classes/Persistence: Session.php (+4 -2)
k-fish 2010-03-04 11:44 Rev.: 3904

[+FEATURE] FLOW3 (Persistence): The Repository class now has countAll() and countBy*() support, resolves #6685.
[~API] FLOW3 (Persistence): Renamed findByUUID() to findByUuid().
[+API] FLOW3 (Persistence): Added countAll() and countBy*() to RepositoryInterface, relates to #6685; added some more (existing) signatures to the interface as well.

63 lines of code changed in 2 files:

  • Classes/Persistence: Repository.php (+26 -5), RepositoryInterface.php (+37 -1)
k-fish 2010-02-24 12:07 Rev.: 3851

[+BUGFIX] FLOW3 (Persistence): Fixed a bug with persistence that hit when updated objects were to be persisted but seen through a property of another object first (order of persistObject calls). Fixes #6581, relates to #4931.

3 lines of code changed in 1 file:

  • Classes/Persistence: PersistenceManager.php (+3 -2)
robert 2010-02-22 16:17 Rev.: 3837

[+FEATURE] FLOW3 (Object): Implemented a static object container which is automatically built. It's essentially a hardcoded version of the autowired and configured object dependencies - just a lot faster. Many tests are still missing, but the version in this commit should be mostly functional. Addresses #3740 and resolves #2123.
[!!!][~API] FLOW3 (Object): Heavily refactored the Object Manager and its tests. The most important change is the removal of the Object Factory whose create() method is now located in the Object Manager. Furthermore, the getObject() method has been renamed to get() and a few minor important API functions within the Object Manager have been modified. This commit also contains a script which allows for semi automatically migrating existing code to the new API (see ./flow3 migrate objectmanagerusage). Resolves #6562
[~TASK] FLOW3 (Configuration): The Configuration Manager and its YAML source now doesn't depend on the YAML package anymore but refers to a YAML parser class within the FLOW3 package. Resolves #6564.

17 lines of code changed in 4 files:

  • Classes/Persistence: PersistenceManager.php (+4 -4), PersistenceManagerInterface.php (+2 -2), Query.php (+5 -5), QueryFactory.php (+6 -6)
k-fish 2010-02-18 23:32 Rev.: 3830

[~TASK] FLOW3 (Persistence): Completely rewrote dirty checking, achieves massive speedup; isNew() and isDirty() are no longer AOP'ed into objects but reside in the PersistenceManager now.
[+API] FLOW3 (Persistence): getObjectDataByQuery(), getObjectCountByQuery() now in PersistenceManagerInterface.
[~API] FLOW3 (Persistence): replaceObject() moved from BackendInterface to PersistenceManagerInterface.
[-API] FLOW3 (Persistence): removed getBackend() from PersistenceManager, no longer needed as API methods from backend moved to PersistenceManager.
[~TASK] FLOW3 (Persistence): Renamed DirtyMonitoringInterface to PersistenceMagicAspect.

247 lines of code changed in 6 files:

  • Classes/Persistence: BackendInterface.php (-18), PersistenceManager.php (+49 -18), PersistenceManagerInterface.php (+27 -6), Query.php (+2 -2), Repository.php (+11 -8), Session.php (+158 -14)
k-fish 2010-01-28 16:53 Rev.: 3783

[~TASK] FLOW3 (Persistence): Got rid of Literal, BindVariableValue, Ordering, Selector and QueryObjectModel; relates to #6267.
[+API] FLOW3 (Persistence): QueryInterface now has signatures for in() and contains(), relates to #1884.
[+FEATURE] FLOW3 (Persistence): Implemented query operators for in() and contains(), resolves #1884.

81 lines of code changed in 2 files:

  • Classes/Persistence: Query.php (+47 -29), QueryInterface.php (+34)
k-fish 2010-01-21 21:29 Rev.: 3746

[+FEATURE] FLOW3 (Property): The PropertyMapper now only maps to settable properties and no longer relies on the class schema to determine the type for the target property - it uses the setter parameter's type if available and falls back to the class schema if needed. Resolves #5612.
[+FEATURE] FLOW3 (Reflection): When reflecting classes entities and value objects are checked for being declared prototype, resolves #6141.
[+FEATURE] FLOW3 (Reflection): ClassSchema now enforces consistency when it comes to value objects and identity/identifier properties, resolves #6140, resolves #6142.
[+BUGFIX] FLOW3 (Persistence): Fixed left over JCR constant in AbstractSqlBackend, fixes #6153.

3 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+3 -3)
k-fish 2010-01-20 14:38 Rev.: 3734

[~TASK] FLOW3 (Persistence): Cleaned up persistence backend structure, resolves #6124.

106 lines of code changed in 5 files:

  • Classes/Persistence: BackendInterface.php (+41 -7), DataMapper.php (del), DataMapperInterface.php (new 55), PersistenceManager.php (+6 -6), Query.php (+4 -4)
robert 2010-01-15 15:38 Rev.: 3643

[~TASK] FLOW3 (Documentation): Updated the Coding Guidelines: removed inconsistent exceptions from the general class naming rules. Also added the rule that names of aspect classes must end with "Aspect". Relates to #5658
[~TASK] Global: Renamed many classes and interfaces in order to be consistent with FLOW3's naming rules. A migration script to update third-party applications will follow soon. Resolves #5658

396 lines of code changed in 6 files:

  • Classes/Persistence: DataMapper.php (+9 -9), PersistenceManager.php (new 261), PersistenceManagerInterface.php (new 106), Query.php (+6 -6), QueryFactory.php (+3 -3), Repository.php (+11 -11)
k-fish 2010-01-15 10:57 Rev.: 3640

[~TASK] FLOW3 (Persistence): Followup to r3633 regarding timestamp detection in mapDateTime().

2 lines of code changed in 1 file:

  • Classes/Persistence: DataMapper.php (+2 -2)
k-fish 2010-01-14 17:42 Rev.: 3633

[+BUGFIX] FLOW3 (Persistence): DataMapper now typecasts values to the intended type when mapping properties. Fixes #6028.
[+BUGFIX] FLOW3 (Persistence): DateTime properties being NULL can be persisted now. Fixes #6029.
[+BUGFIX] FLOW3 (MVC): Removed some strtolower() calls in Router to enable consistently cased template folders. Fixes #6030.

16 lines of code changed in 1 file:

  • Classes/Persistence: DataMapper.php (+16 -5)
k-fish 2010-01-13 17:48 Rev.: 3618

[~TASK] FLOW3 (Persistence): Fixed a runtime notice caused by too terse programming.
[+API] FLOW3 (Persistence): added three more methods to the public API of the Manager.

6 lines of code changed in 2 files:

  • Classes/Persistence: Manager.php (+3), ManagerInterface.php (+3)
k-fish 2010-01-13 17:30 Rev.: 3616

[+FEATURE] FLOW3 (Persistence): Wrote a new persistence backend using a database directly instead of TYPO3CR. Details see below. Resolves #6006.
[+API] FLOW3 (Persistence): Added new backend classes that can be used for further backends.
[-API] FLOW3 (Persistence): Removed methods getIdentifierByObject(), getObjectByIdentifier() and isNewObject() from BackendInterface.
[+API] FLOW3 (Persistence): Removed methods getIdentifierByObject(), getObjectByIdentifier() and isNewObject() to ManagerInterface and Manager.
[-API] FLOW3 (Persistence): Removed withUUID() from QueryInterface, use getObjectByIdentifier() on Manager instead.
[+API] FLOW3 (Persistence): Added constants for query operators to QueryInterface.

1089 lines of code changed in 9 files:

  • Classes/Persistence: BackendInterface.php (+5 -34), DataMapper.php (new 255), Manager.php (+108 -19), ManagerInterface.php (+38), Query.php (new 471), QueryFactory.php (new 63), QueryInterface.php (+42 -9), Repository.php (+26 -20), Session.php (+81 -1)
k-fish 2009-11-30 22:21 Rev.: 3532

[+API] FLOW3 (Persistence): The QueryInterface now has a count() method for low-overhead counting of objects. Resolves #5149.

8 lines of code changed in 1 file:

  • Classes/Persistence: QueryInterface.php (+8)
k-fish 2009-10-22 18:22 Rev.: 3345

[~TASK] FLOW3: Added @api annotations on class level and adjusted CGL to explain class-level @api handling.

7 lines of code changed in 7 files:

  • Classes/Persistence: Exception.php (+1), Manager.php (+1), ManagerInterface.php (+1), QueryFactoryInterface.php (+1), QueryInterface.php (+1), Repository.php (+1), RepositoryInterface.php (+1)
k-fish 2009-10-08 14:22 Rev.: 3301

[~TASK] FLOW3 (Persistence): removed some trailing whitespace (watch out, NetBeans users!).

6 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+6 -6)
sebastian 2009-10-07 17:07 Rev.: 3298

[+FEATURE] FLOW3 (Persistence): Calls to Repository::update() will now also update the child objects if needed. This is needed if an object with sub-objects is submitted via a form. Relates to #4218.

47 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+47 -4)
k-fish 2009-10-02 12:42 Rev.: 3289

[+BUGFIX] FLOW3 (Persistence): findOneBy*() now limits the result set size to 1, fixes #4859.

5 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+5 -3)
k-fish 2009-09-22 16:59 Rev.: 3207

[+FEATURE] FLOW3 (Persistence): When calling update() with a non-clone an exception is thrown, resolves #4328.

4 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+4)
k-fish 2009-09-16 14:36 Rev.: 3189

[~TASK] FLOW3: Fixed method parameter documentation found by new reflection service checks.
[+FEATURE] FLOW3 (Persistence): added removeAll() to base repository, resolves #3852.

26 lines of code changed in 3 files:

  • Classes/Persistence: ManagerInterface.php (+2), Repository.php (+15), RepositoryInterface.php (+9)
robert 2009-08-06 10:40 Rev.: 2989

[+FEATURE] FLOW3 (MVC): It is now possible to disable validation temporarily for single controller arguments. This is necessary in situations where a knowingly incomplete / invalid argument needs to be passed to an action, for example an edit action. Validation can be disabled either by calling the disableValidation() method on the argument object or by adding a @dontvalidate $argumentName annotation to an action method. Resolves #4166
[+TASK] FLOW3 (Documentation): Documented the new @dontvalidate annotation.
[+FEATURE] FLOW3 (Package): The package manager's command line controller now returns a friendly error message on trying to activate or deactivate an already active or inactive package. Earlier it just threw an unpolished exception.
[+FEATURE] FLOW3 (Persistence): Implemented an update() method for the base repository which allows for conveniently updating existing objects. update() only expects one argument which must be a clone of the object to replace, already containing the modifications. The object passed to update() must internally contain the same uuid like the object to be updated (ie. replaced). In fact this new update() method is basically a more convenient way to call replace(). Resolves #4167
[+BUGFIX] FLOW3 (MVC): A @validate annotation placed in an action method's comment replaced existing rules instead of adding them to a common conjunction validator. By this it was possible to override any validation rule with a simple @validate $foo Raw annotation. Fixes #4168

22 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+22)
k-fish 2009-07-23 16:46 Rev.: 2877

[+BUGFIX] FLOW3 (Persistence): when handing objects over to a Repository instance their type is now checked against the type managed by the Repository instance, fixes #3837.

22 lines of code changed in 1 file:

  • Classes/Persistence: Repository.php (+22 -2)
k-fish 2009-07-23 15:39 Rev.: 2875

[+TASK] FLOW3 (Persistence): added getObjectByIdentifier() to the BackendInterface, relates to #3336.

9 lines of code changed in 1 file:

  • Classes/Persistence: BackendInterface.php (+9)

(71 more)

Generated by StatSVN 0.5.0