Commit Graph

550 Commits

Author SHA1 Message Date
Tuna Aksoy
c47f0d5be5 Removed warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 09:32:44 +00:00
Roy Wetherall
9b1fe80fd3 RM-1211: Generate hold report
* FileHoldReport capability added (and patched)
 * hold report type added to report model
 * hold template added, bootstraped (and patched)
 * UI action to file hold report added and sensitive to capability
 * report actions refactored into a single, general purpose, file report action (can be exposed as rule in future)
 * refactoring and extending of report generators (including declarative report generator)
 * unit test for file report action
 * integration test for hold report generation
 * added Sprin custom property editor registrar and registered QName property editor, this allows short name string forms of
   QNames to be specified and converted to QName from bean definitions (perhaps something useful for core)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-29 07:21:54 +00:00
Mark Hibbins
3852a69b04 RM-1445m Implemented link-to rule. Also fixed RM-1466 and RM-1470 while refactoring common code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-25 15:51:57 +00:00
Roy Wetherall
60fb01d189 RM-1341: Couldn't complete event if link record before completing it
* some refactoring to ensure complete, undo and refresh logic was encapsulated in the service layer (not in the actions)
 * integration test for complete event to check interactions
 * restructure integration test packages



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67986 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-24 04:17:02 +00:00
Tuna Aksoy
ad4e7b616a RM-1444 (As a collaboration user I want to see the records details without leaving the collaboration site so that I never have to visit the file plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67776 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-21 19:39:41 +00:00
Roy Wetherall
82a39c2563 Move, copy, link issues
* RM-912: Copy to, Link to and Delete actions are available for cutoff folders/records but not working
  * RM-1286: Strange behavior of copied cutoff record
  * Relates to RM-1342
  * create RM version of copy/move/link webscripts so that error reporting to client could be improved (now reasons for failure are reported)
  * add model behaviours for aspects that shouldn't be copied



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-16 06:02:40 +00:00
Roy Wetherall
3b446da9d0 RM-1420: Impossible to close/reopen folder with frozen record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-14 07:56:26 +00:00
Roy Wetherall
b02f0cc7dc RM-1413: DispositionLifecycleJobExecuter does not execute the disposition action
* corrected logic error in job implementation
 * unit test
 * the disposition actions to execute are now configured via Spring configuration



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-11 04:04:33 +00:00
Roy Wetherall
2f552274d2 Pre sprint demo review: ensure add to and remove from hold actions only appear when the user has holds to remove from or add to
* added capability condition that checks the heldBy (include or exclude) for filling permissions
 * add condition to addTo and removeFrom hold capabilities (UI automatically reflects new condition)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 05:36:01 +00:00
Roy Wetherall
c69df9f8f0 Fix patch to prevent exception that was preventing upgrade from previous schema.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 04:28:30 +00:00
Roy Wetherall
73b678c4c7 RM-1264: Audit is sensitive to MlText properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 02:42:12 +00:00
Mark Hibbins
acdf646094 RM-1264: Audit log... description and title values are now displayed on audit details
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-09 16:41:07 +00:00
Roy Wetherall
8610832726 RM permission inheritance behaviour clarified
* read permissions not inherited to root categories, holds or items in the root of the unfiled record container .. this matches 
   the current behaviour of the file plan and is a partial work around for the issue of inheriting "path" read permissions vs actual read permissions.
 * consolidation of permission initialisation code (there is only one route now)
 * resolved RM-1317
 * unit tests
 * update server integration tests
 * knock on minor simplifications on the file plan and transfer service 
 * moved more frequently used methods into the service base to reduce unessesary service interlinking



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-09 06:59:44 +00:00
Roy Wetherall
0bb68f527a Freeze indicator now only shows if the user has permission to 'read' at least one of the holds (RM-1210)
* see RM-1372, RM-1373
 * added unit test
 * fixed FIXME in page object



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-08 00:52:40 +00:00
Mark Hibbins
9776d23519 RM-1430 - Fixed move to holds/unfiled/transfers issues along with associated tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-07 15:18:55 +00:00
Mark Hibbins
50f2c6a68b RM-1358 - Added ghost on destroy option to destroy disposition action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-06 22:08:32 +00:00
Roy Wetherall
4bac8ea366 RM-1315: Manage Permissions is not working for folder inside Holds/Unfiled Records
* ensure permissions for unfile record folders are setup correctly
 * some more refactoring of file plan service for better code reuse and clarity



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-02 04:25:58 +00:00
Roy Wetherall
e0a085ac5d RM-1315: Manage Permissions is not working for folder inside Holds/Unfiled Records
* unit tests to show unfiled and holds permissions working correctly
 * fixed issues exposed by above
 * minor refactor for FilePlanPermissionService implementation to reduce complexity
 * added unit test execution to local build target



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 23:53:16 +00:00
Roy Wetherall
d7d1f53df3 Fix failing unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66101 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 23:47:31 +00:00
Tuna Aksoy
6370697ffb RM-1427 (Delete RM site permanently)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66031 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 11:04:41 +00:00
Roy Wetherall
48bb2db015 Ensure correct container type is created when move or copy action executed on unfiled record hierarchy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-31 00:23:48 +00:00
Tuna Aksoy
ba708ee894 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
dcbe6a5f6c 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
e8628059f8 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
1b737e92a3 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
946f325d9e 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
90575729d4 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
de0a70d7db 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
a8fdd3ec97 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
4f64a8adbb 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
cf8175476d 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
9509bc258a 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
5269a6ee24 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
b10cf6d159 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
e26257d9da 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
313ea83366 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
ade8ee947e 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
1eed08edd9 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
00e0d02446 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
82b5c60bb9 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
4f3c08a780 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
6af1e78e54 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
f145f7785a 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
808c83f4a6 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
693400d3ac 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
fe83f87904 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
7a01126f7c 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
bcc5c7351b 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
cdb1add607 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
d50b7a20a9 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