Commit Graph

665 Commits

Author SHA1 Message Date
Roy Wetherall
b548eae1f6 RM-1671: Automatic "Versioned By" Relationship
* as versions are record they are automatically connected to previous record version via the "versions" relationship in the file plan.
 * unit and integration tests
 * meta-data sotred on record about origional version, for example version label and description



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 03:01:34 +00:00
Roy Wetherall
3fd99f76ce Investigation of build issues:
* Revert to 5.0.b-SNAPSHOT (so enterprise build works)
  * convert public job to use FTS rather than Lucene



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-27 02:48:49 +00:00
Tuna Aksoy
829a135988 RM-1641 (Create Relationship Service)
* Deprecated methods in RecordsManagementAdminService

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@86172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-01 15:42:47 +00:00
Tuna Aksoy
9929bca562 Fixed minor issues (Trailing Comment) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85865 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-29 07:44:54 +00:00
Tuna Aksoy
bbae5edf7d Fixed minor issues (Redundant Modifier) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-29 07:42:40 +00:00
Tuna Aksoy
e58ac646fa RM-1641 (Create Relationship Service)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-26 12:56:55 +00:00
Tuna Aksoy
9e7dad058c RM-1641 (Create Relationship Service)
* Refactored existing customReference classes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85578 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-24 08:17:53 +00:00
Tuna Aksoy
5cccc9fcc8 RM-1641 (Create Relationship Service)
* Refactored existing customReference classes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85575 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-24 08:03:22 +00:00
Tuna Aksoy
72cf19e8f5 RM-1641 (Create Relationship Service)
* Added a new utility class to reduce boilerplate code

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-22 21:18:01 +00:00
Tuna Aksoy
8a71d379f2 Replaced deprecated class
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85424 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-22 09:52:26 +00:00
Tuna Aksoy
e39df747a8 RM-1641 (Create Relationship Service)
* Refactored the existing customReferenceDefinition classes

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@85423 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-22 09:50:24 +00:00
Roy Wetherall
1b0256dd60 RM-1633: Recorded Version Configuration Action
* Prevent copy of recorded version configuration, therefore it is not stored on frozen record state.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@84187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-16 05:41:12 +00:00
Tuna Aksoy
459d028664 Code tidy up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@84078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-13 19:40:49 +00:00
Tuna Aksoy
f2374ce535 Fixed compilation issue
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-09 10:52:49 +00:00
Tuna Aksoy
73c38788ba Removed warnings from rm-server code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:28:08 +00:00
Tuna Aksoy
3ef5e3c7e5 RM-1669 (Move QName Custom Editor into Core)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:13:31 +00:00
Tuna Aksoy
0866a9cf3b RM-1668 (Move BeanExtender into Core)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83469 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:12:39 +00:00
Tuna Aksoy
fcab46815d RM-1121 (Move behaviour annotation framework into core)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83466 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-05 16:10:39 +00:00
Tuna Aksoy
6d537b1d67 RM-1633 (Recorded Version Configuration Action)
* Added unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@83131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-03 22:26:43 +00:00
Tuna Aksoy
263c3c1992 RM-1633 (Recorded Version Configuration Action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@82333 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-09-01 21:23:08 +00:00
Roy Wetherall
8da9704bfd Fix complie error caused by update
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@81056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-25 06:12:35 +00:00
Roy Wetherall
a74663c740 RM-1635: Recordable Version Store Service Prototype
* integration tests to ensure recorded version retireves the state of the versioned content accurately
 * various improvements to satisfy tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@81055 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-25 06:08:06 +00:00
Tuna Aksoy
c035913207 RM-1623 (Move In-Place Record)
* InplaceRecordService now extends the BaseServiceImpl
 * Using helper methods from the base class instead of using methods from AuthenticationUtils being able to use Mockito

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-21 08:02:07 +00:00
Tuna Aksoy
c9aa2f810e RM-1623 (Move In-Place Record)
* Created a new service for the inplace record actions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-20 21:11:32 +00:00
Tuna Aksoy
217b209b4c Merged BRANCHES/V2.2 to HEAD:
80299: RM-1652 (Classified Records capabilities are never used)
   80313: RM-1652 (Classified Records capabilities are never used)
   80336: RM-1636 (Disposition steps can be executed for folder with frozen record)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-18 16:08:56 +00:00
Roy Wetherall
76671aedf4 RM-1635: Recordable Version Store Service Prototype (WIP)
* extended version service implementation that can use the file plan as an alternative version store, thus recording versions
  * extended version node service implementation that can retrieve recorded version information from the file plan (rather than the version frozen state) (properties only atm)
  * recordable version model including recorded version information and versionable aspect extension with auto recordable version policy defined
  * Recordable version service unit tests
  * Simple AdHoc recorded version integration test (shows recorded created and frozen property state recovered via file plan record)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-15 06:02:38 +00:00
Tuna Aksoy
e9138bdb0f RM-1623 (Move In-Place Record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@79188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-08-10 18:43:43 +00:00
Tuna Aksoy
ca8d2863d3 Fixed compilation errors (RM 2.3-SNAPSHOT against Alfresco 5.0.b-SNAPSHOT)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@78312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-25 13:19:31 +00:00
Roy Wetherall
15efe00a59 RM-1592: "Declare As Record" collaboration rules don't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-07 06:15:49 +00:00
Roy Wetherall
24fd24e381 RM-1583: Not possible to edit the record that was edited before upgrade
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75569 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-03 02:17:28 +00:00
Roy Wetherall
bbb82dd93a RM-1465: RMv21CapabilityPatch takes ages to complete
* observered performance of capability patches improved
 * RMv21CapabilityPatch observered at 4478ms (in profiler) down to 200ms after changes 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-02 02:45:53 +00:00
Roy Wetherall
0d35b28c00 RM-1582: Unable to upgrade from RM 1.0 or RM 2.0 to RM 2.2
* fixed report template patching



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-07-02 00:14:43 +00:00
Roy Wetherall
bf9f0b4767 RM-1575: Missing information from Hold Report
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75198 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-30 09:56:38 +00:00
Mark Hibbins
b4081cc013 RM-1532, fixed submission date comparison for some dates on edit metadata of completed pictures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-30 09:29:27 +00:00
Roy Wetherall
42b84fea9e RM-971: Non-electronic record properties shouldn't be displayed in 'Content' properties section
* users with EditNonRecordMetaData capability can now edit the non-electronic content properties



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-29 23:07:51 +00:00
Roy Wetherall
63d0b4732e RM-1502: on moving a folder to RM: recordSearchDispositionAuthority & recordSearchDispositionInstructions are empty
RM-1521: Failed to Upload New Version if updated rule to Declare as Record is set




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-29 07:09:18 +00:00
Roy Wetherall
4ceda4baf5 RM-1562: Can't move a record from the collaboration site into the file plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 10:10:50 +00:00
Roy Wetherall
72d1b5e221 RM-1573: Holds the user has read-only permission for are displayed in Remove from Hold dialog
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 07:13:58 +00:00
Roy Wetherall
db6fc9999f RM Performance Improvements:
* focus on in-place scenarios with large numbers of DM users and large numbers of in-place records (based on issue informally reported by partner)
 * improve performance of dynamic authorities used for in-place security evaluation (L1 transaction cache and more preformant authority look up)
 * remove unwanted queries in tree (N+1 for every node) .. killed it for large file plans
 * L1 transaction cache for capability condition evaluation .. these are called a LOT so removes some of the bottle necks when evaluating the permissions of a large sets of nodes
 * extend helper system test used to load up fileplan and now also create in-place records
 * unit and integration tests run .. sanity testing done via the UI
 * overall performance of the display of 1000 in-place records in the file plan down from minutes to a few seconds!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 04:54:04 +00:00
Roy Wetherall
a0aeb3f443 RM Performance testing:
* added helper code to load large numbers of users and groups into RM roles
 * improved performance of role user/group management console from 13 seconds with 100 groups with a 100 users, down to less than a second
 * role user/group console now only shows users and groups explicitly assigned to the role to help scale the UI (and make more sense!)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-27 02:24:22 +00:00
Tuna Aksoy
f8da74dcf0 RM-1571 (Bidirectional relationship between two records aren't listed for target record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74970 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-26 14:00:03 +00:00
Roy Wetherall
28c467304c RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
* general browse experience better
 * viewing record category list (with one folder) down from seconds to almost immediately
 * viewing of record details page down from 20 plus seconds to under a second 
 * although view of 15k records is still slow to render (around 10/15 seconds) this is still much better then previously and over 80% of that time is spent in the repo getting the children .. could look at getting a reduced result set?
 * cached 'hasHeldChildren' state on record folders .. this was a significant overhead previously and is now a simple property lookup, maintained by behaviours
 * unit tests for above to ensure nothing is broken
 * TODO more caching of frequently asked for state, optimisation of more node service intensive capability conditions




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-26 06:21:45 +00:00
Tuna Aksoy
6daa47eb4e RM-1572 (It's possible to file report to closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 23:14:56 +00:00
Roy Wetherall
589929e89b RM-1324: Category becomes unavailable if import files exported via Export All action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 05:37:35 +00:00
Roy Wetherall
4fb9f225d7 RM-1487: Clone - Cannot import exported file plan ACP or ZIP to another Alfresco 4.2.1/RM2.1.1-22 instance
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 04:39:16 +00:00
Roy Wetherall
99875a9f62 RM-1460: Hold Reson is not displayed in Audit Log
RM-1505: Search Results: Hold Reason field is empty

  * specific filtering for ViewHoldReason capability removed .. no longer required as we specify user permissions at the hold level
  * deprecated hold related actions are no longer auditable (and so don't appear in the audit view)
  * hold service Audits add/remove to/from holds
  * hold reason is no longer rolled up onto disposable item .. it no longer makes sense for multiple holds and was a security hole
  * hold reason removed from search options



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 04:14:18 +00:00
Roy Wetherall
c929c099c5 RM-1560: User with Remove from Hold capability can't remove from hold
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-24 07:27:48 +00:00
Roy Wetherall
b153b5ca80 RM-1559: User with Create Hold capability can't create hold
RM-1561: Edit/Delete Hold actions are not displayed for user with proper capabilities

* editHold and deleteHold specific capabilities added and UI actions wired up accordingly
* capability patch addeded
* freeze, unfreeze and related capabilities deprecated (but still avaialble if required)
* some of the old freeze UI actions removed 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-24 06:31:43 +00:00
Roy Wetherall
219d13f9b1 RM Performance Improvements
* general file plan browse rendering in around half the previously recorded times for around 500 records (need to scale up)
 * unessesary bottle neck removed from record detail page rendering (see RM-1461)
 * other general improvements
 * TODO .. hasFrozenChildren, getNextDisposition, TransferNodeIndicator, HeldBy .. all traverse up or down record/record folder hierarchy in ways that don't scale
 * fix to disposition lifecycle job that failed all when one failed .. this explains why the job appeared not to work on occasion



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74458 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-23 07:21:51 +00:00
Tuna Aksoy
025474cfda Fixed major bugs (Visibility modifier) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-22 15:53:31 +00:00