Britt Park
8a95b09b98
Added new AVM node type DeletedNode (aka, ghost, tombstone), a marker node for a
...
node that has been deleted in a version. This makes tree comparisons easier by
resolving the cases in which one wants to know whether a deletions is more or less
recent than another version of a node. Along the way got rid of DeletedChild and
friends including a table in the schema, since DeletedNode takes on all the work
that it performed.
Deleted two illegally named files in Virgin content.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3748 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-10 17:20:35 +00:00
Britt Park
17284e4dae
More touch ups to AVM permissions stuff. ACLs are properly copied on write.
...
OrphanReaper cleans up ACLs. Tests of same.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-06 20:53:38 +00:00
Britt Park
8c2ad19b2f
OrphanReaper now cleans up content as well.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-04 14:14:39 +00:00
Britt Park
c03b967e71
Got rid of the NewInAVMStore table by folding it into the AVMNode
...
table.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 22:39:35 +00:00
Britt Park
0b58cca272
Removed RetryingTransactionHelper and friends. AVMService's transactional
...
behavior is now declaratively specified.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-03 06:30:05 +00:00
Britt Park
d67b926589
Marking of AVM Nodes with Aspects works (according to some minimal tests).
...
Schema has been updated, DAO written, garbage collection updated to clean
out aspects. Also some seemingly unnecessary changes in visibility
declarations to deal with strange intermittent Spring wiring failures in
one of my tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3560 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-22 01:22:01 +00:00
Britt Park
06df2021c8
This changes the AVM service to use ContentService for storage. This gives us,
...
in theory, AVM working underneath (more or less) NodeService and ContentService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-08-10 21:50:34 +00:00
Britt Park
4ab5a046c2
Cleaned up a handful of uglinesses in moving AVM configuration into
...
Alfresco app configuration, mostly related to getting testing to
work smoothly. Also reworked OrphanReaper to be better behaved
and nominally more efficient.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-27 00:47:56 +00:00
Britt Park
e5214a5d42
Renamed RetryingTransaction to RetryingTransactionHelper, HibernateRetryingTransaction
...
to HibernateRetryingTransactionHelper. Changed propagation mode of AVM transactions to
PROPAGATION_REQUIRED and tweaked to not retry in a transaction that wasn't started
locally.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-24 15:26:27 +00:00
Britt Park
beb44ec6ae
Big rearrangement of package structure to allow as many classes
...
and interfaces to be package local as possible.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3381 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-23 14:59:28 +00:00
Britt Park
2e3e8f4ad2
Extended Properties to batch updates. This is really a salvage
...
from an aborted attempt to make basic attributes
(creator, modifier, owner, modtime etc.) plain Properties. This resulted
in a 30% performance hit.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-21 08:37:05 +00:00
Britt Park
60cdda3f13
Renamed a few things. What used to be SuperRepository (kind of meaning free name
...
wasn't it) is now AVMRepository. What used to be Repository is now AVMStore as it
more closely matches what is meant by a store in Alfresco. Many adjustments
in ancillary class names, references, and comments followed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-16 18:19:59 +00:00
Britt Park
1510998f69
Added a leetle bit of logging in a few places.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3328 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-15 17:55:18 +00:00
Britt Park
6ac87efa5a
Moved the tracking of newly introduced nodes into its own table. Simplifies things a bit.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-13 15:48:10 +00:00
Britt Park
b601821d98
Just a pass at kruft removal.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-12 15:28:33 +00:00
Britt Park
d0b5b14af1
Refactored persistence for AVM. I'm guessing because I dropped a number of
...
unnecessary flushes seems about 20% snappier.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3296 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-11 09:32:13 +00:00
Britt Park
cdef918e07
Hibernate parts of AVM now based on Spring PlatformTransactionManager
...
abstraction. Configurations to match.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3286 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-06 02:08:21 +00:00
Britt Park
b05422171a
Some more modification to make things more Spring friendly. Updated
...
Spring configurations to match.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-04 14:34:50 +00:00
Britt Park
106273bde8
AVM now configures itself via Spring. Also adjusted jndi-client and catalina-virtual
...
to be semi-not-broken. The current limitation is that you've got to start tomcat from
$TOMCAT_HOME for things to work (fix soon).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-29 21:37:17 +00:00
Britt Park
d3f6048fbc
Factored the ancestor-descendent and merged from-to relationships
...
out of AVMNode. Easier to get hibernate to do what I want and appears
to be a little more efficient as it removes several FK constraints
from a frequently updated table.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 21:35:17 +00:00
Britt Park
606096011c
Got rid of parent member of AVMNodes. Duplicated data unnecessarily.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 17:03:49 +00:00
Britt Park
6fff182633
Added a semi intelligible toString to VersionDescriptor. Added an interactive
...
console program for debugging. Made it so you can't snapshot a version if there's
nothing to snapshot. Fixed inactive to active transition in OrphanReaper.
Other odds and ends.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3132 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-18 01:19:39 +00:00
Britt Park
9c17cfa1e0
Purge tests cover more now. Moved purging queries into mapping file.
...
Added call to AVMService to get Versions
by creation date. GetRepositoryVersions methods now return Lists of
VersionDescriptors, value objects with the attributes of a version.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 18:48:44 +00:00
Britt Park
a215fb72b6
Repository and version purging are working. Also deleting a bunch of left over
...
junk I didn't get after the merge.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3130 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-17 02:37:52 +00:00
Britt Park
936f6d7021
This checks in the current state of WCM development.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-16 16:59:15 +00:00