Commit Graph

529 Commits

Author SHA1 Message Date
Tuna Aksoy
e2fc6b7139 Story: RM-1212 (As a records user I want to perform a records search, select multiple records/record folders from the results and add them all to a hold(s) I have permission to see so that I can easily discover and freeze relevant records)
Sub-tasks:

 * RM-1400 (Change the service so that all holds will be retrieved when adding multiple records/folders)
 * RM-1402 (Change the REST API so that all holds will be retrieved when adding multiple records/folders)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-30 20:10:40 +00:00
Roy Wetherall
022c1269a4 Hold ReST API Unit Tests
* RM-1320, RM-1328, RM-1331, RM-1333
 * added Mockito based framework for testing Java backed declarative web scripts and their templates



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-28 01:33:48 +00:00
Mark Hibbins
9d66d4f6b2 RM-1198 & RM-1199 - Added functionality for Copy-to and Move-to rule actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-27 10:53:58 +00:00
Roy Wetherall
3e1bd9a1a9 RM-1362: When a record folder is transferred the records should not have the review or edit review date actions
* including unit tests for the updated transfer evaluator



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65499 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-25 07:06:12 +00:00
Tuna Aksoy
b3a5a0518a Fixed major issues reported by sonar (Simplify Boolean Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65400 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:24:13 +00:00
Tuna Aksoy
8564a009fb Fixed major issues reported by sonar (Reliance on default encoding)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65399 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:21:52 +00:00
Tuna Aksoy
8732f1cc5b Fixed major issues reported by sonar (Static Variable Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 16:03:14 +00:00
Tuna Aksoy
166ece8ebb Fixed critical issues reported by sonar (Performance - Inefficient use of keySet iterator instead of entrySet iterator)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-22 15:56:17 +00:00
Roy Wetherall
02de2fd74b Remove hardcoded references to dod specific properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-21 02:53:13 +00:00
Tuna Aksoy
dd19c12b43 Minor fixes for the hold service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64903 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 17:03:46 +00:00
Roy Wetherall
5f5416ae6c RM-1326: Write tests for Hold Service
* unit test completed for hold service
  * some improvements to unit test base



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 10:55:10 +00:00
Roy Wetherall
e0cdb0d2d0 Hold Service Improvements:
* HoldService API explanded beyound immediate use case needs to form a more complete API, plus some tweaks to method names
 * unit test (via Mockito) added .. still some todo's (see RM-1326)
 * integration test added .. to test behaviour interactions (see RM-1326)
 * method level permissions added to Hold service .. should see filtering of results based on permissions
 * added behaviour to HoldService to unfreeze records and record folders when hold is deleted (same as old relinquish action)
 * deprecation of dupliacte methods found in FreezeService
 * fix up use of deprecated methods throughout code .. note that warnings have only been hidden in actions that are soon to be deprecated too



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 05:02:04 +00:00
Tuna Aksoy
e6f1c48f53 Fixed minor issues reported by sonar (Collapsible If Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:32:43 +00:00
Tuna Aksoy
fcdbd56d3a Fixed minor issues reported by sonar (Modifier Order)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64832 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:30:50 +00:00
Tuna Aksoy
c4173be84c Fixed minor issues reported by sonar (Redundant Modifier)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:26:17 +00:00
Tuna Aksoy
9847e15dda Fixed major issues reported by sonar (Unused formal parameter)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 00:02:52 +00:00
Tuna Aksoy
dca3a954ac Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:50:41 +00:00
Tuna Aksoy
bcfb1ba174 Fixed major issues reported by sonar (Unnecessary Local Before Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:41:13 +00:00
Tuna Aksoy
49f9e35640 Fixed major issues reported by sonar (Member name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:26:53 +00:00
Tuna Aksoy
822a53b8c3 Fixed major issues reported by sonar (Simplify Boolean Return)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64825 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:22:27 +00:00
Tuna Aksoy
a30836b0c0 Fixed major issues reported by sonar (Final Class)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 23:12:10 +00:00
Tuna Aksoy
50d520a2f5 RM-1321 (Implement UI for adding records/folders to hold(s))
RM-1334 (Implement UI for removing an item from hold(s))

 * Added actions/capabilities so that the actions add to hold and remove from hold can be called from the UI
 * Also everything related to the freeze/unfreeze actions has been removed from rm-share

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 17:07:05 +00:00
Roy Wetherall
8fd2d4ecdb Rename rma:unfiledRecordContinerChildt to rma:unfiledRecordFolder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 23:45:26 +00:00
Roy Wetherall
33df6cfcc9 UI tests for RM-1148 and RM-1194
* added record info helper to encapsulate record row in file plan
 * added page object for 'edit record metadata' action
 * ensure that edit record metadata action is not present in the UI if there are not aspects to add (ie in the standard RM site)
 * renamed and extedned RecordDetailsPage
 * added AbstractSiteNavigation to work around dependancy issue that was blocking execution of tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 01:20:48 +00:00
Tuna Aksoy
5bede7be9f Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-15 09:10:57 +00:00
Tuna Aksoy
5d295a5382 Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-task: RM-1321 (Implement UI for adding records/folders to hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 17:49:34 +00:00
Tuna Aksoy
73c3477e72 Refactor RM model so that rma:hold is used
* Remaining work to make it consistent for the UI part

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 10:32:15 +00:00
Tuna Aksoy
4ccd8861cf Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 22:52:16 +00:00
Roy Wetherall
c8e1418e77 Refactor RM model so that rma:hold is used
* rma:holdContainerChild removed
 * capabilities, forms and actions updated
 * UI tests updated
 * relates to RM-1203, RM-1205, RM-1209



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 10:19:45 +00:00
Tuna Aksoy
dfafd3507b Removed warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 17:32:55 +00:00
Mark Hibbins
ab12a96429 RM-1309, Made the configuration of the node property suggestion functionality easier by moving list of types/aspects to global properties file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 16:03:24 +00:00
Tuna Aksoy
924782cc3d Fixed major issues reported by sonar (Simplify Boolean Expression)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-11 09:04:52 +00:00
Tuna Aksoy
3f1af531d0 RM-1319 (Implement REST API for getting the holds)
* Added more information about the hold

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 21:41:02 +00:00
Tuna Aksoy
ae3f8cbfa8 Story: RM-1207 (As a records user I want to remove records from a hold(s) that I have permission to see so that I can unfreeze a record)
Sub-task: RM-1332 (Implement REST API for removing an item from hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 16:27:58 +00:00
Tuna Aksoy
8633c30242 RM-1330 (Implement REST API for getting the hold(s) for a given node)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 11:07:41 +00:00
Tuna Aksoy
e77273f7b4 Fixed failing unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 23:19:51 +00:00
Tuna Aksoy
3c2596a2b6 Fixed minor issues reported by sonar (Unread public/protected field)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:45:08 +00:00
Tuna Aksoy
f2f2c6f9e3 Fixed major issues reported by sonar (Use Index Of Char)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63813 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:30:55 +00:00
Tuna Aksoy
3adb3fa420 Fixed major issues reported by sonar (Performance - Method invokes inefficient Boolean constructor; use Boolean.valueOf(...) instead)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:28:52 +00:00
Tuna Aksoy
7fd5b3bbb7 Fixed major issues reported by sonar (Useless Overriding Method)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:26:33 +00:00
Tuna Aksoy
9956616026 Fixed major issues reported by sonar (Parameter Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:23:48 +00:00
Tuna Aksoy
d8dcba9a88 Fixed major issues reported by sonar (If Stmts Must Use Braces)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:22:30 +00:00
Tuna Aksoy
1e424ee912 Fixed major issues reported by sonar (Local Variable Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:20:58 +00:00
Tuna Aksoy
6b74537ad4 Fixed major issues reported by sonar (Hide Utility Class Constructor)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:15:35 +00:00
Tuna Aksoy
0ed42e691c Fixed critical issues reported by sonar (Simplify Conditional)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:03:24 +00:00
Tuna Aksoy
b64f1467b4 Fixed critical issues reported by sonar (Performance - Method invokes inefficient Number constructor; use static valueOf instead)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:54:42 +00:00
Tuna Aksoy
3810d137d7 Fixed minor issues reported by sonar (Constant Name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63803 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:45:53 +00:00
Tuna Aksoy
70010a32d4 Fixed minor issues reported by sonar (Useless String Value Of)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63802 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:39:32 +00:00
Tuna Aksoy
5a6429aa2f Fixed minor issues reported by sonar (Empty Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63801 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:36:32 +00:00
Tuna Aksoy
28b0a01065 Fixed minor issues reported by sonar (Collapsible If Statements)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 21:33:14 +00:00