20 Commits

Author SHA1 Message Date
Andrew Hind
6c9bd6d97b FTS Parser updates: MOB-571, MOB-233
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13940 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-14 14:29:53 +00:00
Andrew Hind
8986debad5 Split CMIS and FTS ast handling. Started extended FTS parser. First parts of MOB-570, MOB-571, MOB-573, MOB-233
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-07 09:32:10 +00:00
David Caruana
ee67b1f7de Cleanly split CMIS interfaces from CMIS implementation.
- org.alfresco.cmis => public interfaces
- org.alfresco.cmis.mapping / dictionary / search => implementation

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-02 13:50:10 +00:00
David Caruana
af2b4f43c4 Refactor CMIS property accessors (value / lucene mappers).
- remove notion of generic property accessor; consolidated on named property accessor
- build property accessors at time of CMIS Dictionary creation (cached, removes continuous creation of small objects); hooked into CMIS Property Definition
- remove property service
- lookup of property accessor quicker and constrained to properties in CMIS Dictionary
- fixup fallout in CMIS AtomPub, Web Services and Query

CMIS AtomPub, Web Services and Query tests pass.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-04-02 12:06:26 +00:00
David Caruana
4e9c3a3d3a Refactor CMIS Dictionary part 2
- further simplification of CMISDictionaryService and fixup fallout
- added logging
- consolidate & fix property definition handling (only one definition per property)
- include support for aspect properties
- fix property.isInherited
- open up the door for types outside of CMIS doc, folder, rel & policy

Dictionary Service
- add isOverride() to PropertyDefinition

Invite Workflows
- ensure they create their own namespace for new types/props
- NOTE: the previous way uses a hole in the DictinaryService which has been there
        unnoticed for over 4 years, till now. At some point, the hole will be filled in.
        
Tests pass for CMIS REST / Web Services and Query.
Tests pass for Invitation Service.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-31 17:48:28 +00:00
David Caruana
8fcebdc7cf CMIS Dictionary Refactor
- follows pattern of Alfresco Dictionary
- simplified and much reduced DictionaryService interface
- model now compiled and cached (no more lots of small continuous object creations)
- walk model via simple getters
- validated (no dangling references)
- fix up property inheritance
- fix up sub-types for all types
- implements strict mode only for now (i.e. doesn't go outside of CMIS doc, folder, rel and policy)
- abstract helper for building other CMIS dictionaries (e.g. mapping all types in Alfresco)

Alfresco Dictionary:
- add event for initialized or re-initialized

Fix up usage in CMIS REST, Web Services and query. Tests pass.

REST support for custom sub-types and properties now reliable as constrained by validated CMIS model.

TODO:
- hook property value accessors into CMIS Dictionary

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-27 23:13:29 +00:00
Andrew Hind
d345c5d850 Antlr updates and embed gunit tests for lexer and parser tests - first tests for CMIS and FTS
- updates before starting MOB-568

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-03-18 15:30:07 +00:00
Andrew Hind
4e9a4cc1c6 Merged V3.1 to HEAD
12867: Part 1: JAWS-220: Fix existing tests and tests for sort
    12879: JAWS-219: Part 1: First cut of support for CMIS objectid  = objectid joins
    12891: Complete minimalist support for Policies
    12912: CMIS Query: JAWS-219: Tests, fixes and better checking
    13062: Fix for ETHREEOH-1162:Issue with skipCount parameter for CMIS query service


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13224 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-02-13 12:52:35 +00:00
Kevin Roast
afc473ec7f Build fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12446 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-17 12:52:50 +00:00
Kevin Roast
7f41a56382 Merged V3.0 to HEAD
11450: Merged V2.2 to V3.0
      11408: Merged V2.1 to V2.2
         11345: Fixed ETWOONE-388: Long query sort times against large alf_transaction tables
   11453: Gave Locale and QName caches explicit names so they don't share the same cache
   11459: Fixed missing URL encoding for username when building URLs in web-tier webscripts.
   11460: MT - fix ETHREEOH-542
   11461: Fix for ETHREEOH-28. Fix for ETHREEOH-541.
   11462: Build fix

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-17 12:06:19 +00:00
Kevin Roast
bddf43234a Merged V3.0 to HEAD
11435: New set of COCI/Edit icons from Linton for JSF client
   11436: Fix to webscript format extraction - did not correctly support URLs containing the dot character within a URL element that was not the final element
   11437: Fix to MySites dashlet to handle empty sites collection
   11438: Fix for ETHREEOH-242: If no script is selected to execute, 'Ok' button is available
   11439: Keep Sharepoint AMP web.xml in sync with web client web.xml
   11441: Build fix

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-12-17 11:53:52 +00:00
Mark Rogers
107f267d77 remove query test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@11591 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-10-28 15:41:06 +00:00
David Caruana
e243b9dac4 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:28:01 +00:00
David Caruana
a2f7d13e76 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10735 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:25:34 +00:00
David Caruana
a6625b1c61 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:22:17 +00:00
David Caruana
41b5618d1d Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:15:27 +00:00
David Caruana
a1bcf7419c Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:09:45 +00:00
David Caruana
ae909e7413 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:08:13 +00:00
David Caruana
d894798ee4 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 11:06:42 +00:00
David Caruana
a2d811b8e6 Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 10:56:47 +00:00