Britt Park
20bff37610
Purged two vestigial arguments from DirectoryNode.lookupChild() interface.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-30 14:49:57 +00:00
Britt Park
dfe49bf51b
Introduces a new variant on the link() call that makes the update() call
...
way faster in the worst case, i.e. tolerable so far.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-15 20:00:54 +00:00
Britt Park
fc2bfb0315
Checkpoint of AVMSyncService support changes. Fix of AVMNodeConverter not liking
...
trailing '/'s.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-15 14:03:22 +00:00
Britt Park
83b4cdb76d
Fixed an embarassing not so corner case failure. Non primary
...
layered directories cannot be just linked in for update, but must instead
be recursively linked in.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-15 03:04:57 +00:00
Britt Park
7fd363c599
Added link call to AVMService. It essentially creates a hard link
...
without the bad aftertaste. It's needed for the AVMSyncService's
update method which will move new versions of nodes from one AVM
tree to another. Also a checkpoint for AVMSyncService. One can safely
call compare and get back an empty List of AVMDifferences.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-13 19:26:11 +00:00
Britt Park
5e0378deb2
This exposes DeletedNodes through AVMService via calls for lookup
...
and directory listing that take an includeLinks flag. Original calls
(w/o a flag) should have unchanged behavior.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-11 00:00:57 +00:00
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
db3c29b45e
Moved stuff around to be more Alfresco standard.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-09-02 00:45:48 +00:00
Britt Park
55c4d49fbf
Added getDirectoryListingDirect() and getDeleted() to AVMService
...
interface. These return respectively those nodes directly
contained by a directory and the names of those nodes that
have been deleted in a directory.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-24 00:35:18 +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
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
be6dd8c9dc
Changed signatures of directory listing returning methods to
...
SortedMap where appropriate. Fixed embarassing accumulation of
broken javadocs.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-27 23:29:57 +00:00
Britt Park
c6dfeb1c9d
Added pessimistic locking in several places to shut down deadlocks.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-26 16:43:35 +00:00
Britt Park
1318a5204b
Changed copy on write to occur during lookup, rather than after lookup.
...
Much carnage, but it's way faster.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-21 13:07:42 +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
Britt Park
8818e8daba
Merged all the AVM mapping files into one medium file. I find it easier to follow.
...
Purged the pointless FileContentFactory class. If everything else were working file reading
and writing would now work. Various other cleanups and some richer internal documentation.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-16 22:55:37 +00:00
Britt Park
8433c03ed0
Having managed to get WCM-DEV royally screwed up, I made a new branch,
...
WCM-DEV2 and added back my changes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@2804 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-09 23:22:15 +00:00