Commit Graph

1584 Commits

Author SHA1 Message Date
Tuna Aksoy
366af3d7c4 Workflows could not be started after classification enforcement
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:27:25 +00:00
Tuna Aksoy
7b5835297d Merged DEV/ENFORCE to HEAD:
105194: First pass at classification interceptor
   105294: Fixed compilation issue
   105323: Updated Aikau version to 1.0.20
   105565: RM-2129 (Check classification before method execution)
   105923: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106103: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106104: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106169: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106187: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106283: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106356: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106552: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106639: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106657: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106658: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106772: RM-2130 (Check classification after method execution, filtering results where appropriate)
   106774: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107009: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107163: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107164: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107246: RM-2130 Post method invocation processor for QueryEngineResults.
   107252: RM-2130 (Post method invocation processor for QueryEngineResults)
   107253: RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
   107257: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107270: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107272: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107273: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107274: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107275: RM-2130 (Check classification after method execution, filtering results where appropriate)
   107282: RM-2130 Add support for other collections than Lists.
   107344: RM-2367 (Automate AC: Access to saved search)
   107355: RM-2130 Support for specific instantiable collections.
   107363: RM-2130 (Check classification after method execution, filtering results where appropriate)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:24:16 +00:00
Tuna Aksoy
7a3bdd3699 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 17:03:48 +00:00
Tom Page
e9a5f28f85 RM-2130 Support for specific instantiable collections.
It's impossible to instantiate/clone a generic collection, so if a member of the collection
changes then our only option is to attempt to remove it.  This has two problems. Firstly,
this is far more brutal than we desire in many cases. Secondly, some collections do not
implement the remove method (e.g. anything returned by Arrays.asList()).

As an attempt to work around this issue we've created some specific implementation
processors. This introduces new potential problems - e.g. if someone has used an exotic
type of list it will be replaced with an ArrayList by the ListPostMethodInvocationProcessor.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 15:18:49 +00:00
Tuna Aksoy
a476d21d08 RM-2367 (Automate AC: Access to saved search)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107344 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 14:34:17 +00:00
Tom Page
4b39c868ce RM-2130 Add support for other collections than Lists.
Unfortunately most methods in the CollectionUtils helper class convert
collections to lists, and so is not suitable for our usage.

+review RM @taksoy

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 08:48:10 +00:00
Tuna Aksoy
afa0ac0229 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 19:50:07 +00:00
Tuna Aksoy
158eaecf16 RM-2130 (Check classification after method execution, filtering results where appropriate)
- Fixed failing integration tests

+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 17:29:54 +00:00
Tuna Aksoy
c64b092294 RM-2130 (Check classification after method execution, filtering results where appropriate)
- Fixed failing integration test

+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 15:45:01 +00:00
Tuna Aksoy
d320b4dad6 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 13:39:10 +00:00
Tuna Aksoy
8fa46a4e14 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-27 22:23:19 +00:00
Tuna Aksoy
74267d0119 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 16:00:26 +00:00
Tom Page
b1e8da1198 RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
+review RM-113

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 15:36:13 +00:00
Tuna Aksoy
423850002e RM-2130 (Post method invocation processor for QueryEngineResults)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 15:28:22 +00:00
Tom Page
06ed0a6015 RM-2130 Post method invocation processor for QueryEngineResults.
+review RM @taksoy

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 14:47:03 +00:00
Tuna Aksoy
03e696e524 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 22:45:52 +00:00
Tuna Aksoy
1ded55a6d8 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 22:44:42 +00:00
Neil McErlean
d674588940 RM-2333. Rename ClassificationAuthority to ClassificationAgency. +review RM
This commit includes some additional properties files which were missing from the previous commit.

This addresses parts of RM-2341, RM-2342, RM-2343 and RM-2344. It replaces authority with agency in the content model
, the services and their APIs, the UI layer and the rm-automation tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 13:25:59 +00:00
Neil McErlean
5a88c1d5c8 RM-2333. Rename ClassificationAuthority to ClassificationAgency. +review RM
This addresses parts of RM-2341, RM-2342, RM-2343 and RM-2344. It replaces authority with agency in the content model
, the services and their APIs, the UI layer and the rm-automation tests.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 13:24:38 +00:00
Tuna Aksoy
662b0db31f RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 19:39:48 +00:00
Gloria Broadbent
8c8cb14c02 SIMP CHINESE: Updated RM 3.0 bundle based on EN-RM-rev106535
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106981 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 14:17:19 +00:00
Gloria Broadbent
4cb5941fa6 BRAZILIAN Portuguese: Updated RM 3.0 bundle based on EN-RM-rev106535
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 14:16:03 +00:00
Gloria Broadbent
9b860b8272 RUSSIAN: Updated RM 3.0 bundle based on EN-RM-rev106535
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106978 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 14:14:42 +00:00
Gloria Broadbent
57e631681b SPANISH: Updated RM 3.0 bundle based on EN-RM-rev106535
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 14:08:08 +00:00
Tuna Aksoy
72ec88a334 Code formatting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 08:51:45 +00:00
Oana Nechiforescu
4720ee2cdc RM-2324 AC Automation: Invalid values
fix

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106937 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 08:42:01 +00:00
Oana Nechiforescu
8ca5dda4a4 RM-2324 AC Automation: Invalid values
Added unit tests for ExemptionCategoryFieldsValidator.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 07:58:15 +00:00
Neil McErlean
708b7bd0d4 Trivial reformatting done as part of RM-2323.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-23 10:11:37 +00:00
Tuna Aksoy
f1cb06d937 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-22 22:41:26 +00:00
Tuna Aksoy
acccd7ca3a RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-22 21:52:08 +00:00
Tuna Aksoy
24cc5ca519 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-21 21:58:42 +00:00
Tuna Aksoy
862fde1e61 RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-21 19:47:57 +00:00
Tuna Aksoy
3772764f8e RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-20 18:42:32 +00:00
Tom Page
2fb85342f1 RM-2326 Rest API for GET exemption categories.
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 15:35:32 +00:00
Tom Page
27f94a7682 RM-2322 Check modifying the exemption categories.
The unit test was already written - just applying the acceptance criteria
to it so we can track where it's tested.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106568 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 14:53:27 +00:00
Tom Page
3bcad6ee1e RM-2320 Java API for getExemptionCategories.
Also RM-2321 automation testing for the initial loading of exemption
categories.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 14:28:20 +00:00
Tuna Aksoy
e79b4a9d8f RM-2130 (Check classification after method execution, filtering results where appropriate)
+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 12:39:04 +00:00
Gloria Broadbent
19762c52c8 FRENCH: Updated RM 3.0 bundle based on EN-RM-rev105468
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106538 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:53:57 +00:00
Tom Page
bd7dced251 RM-2319 Move exemption category descriptions to a new file.
We don't expect to need these strings translating, so move them to another
file and add that to the exclusion list.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106536 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:38:54 +00:00
Gloria Broadbent
b92760806e ITALIAN: Updated RM 3.0 bundle based on EN-RM-rev105468
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:28:55 +00:00
Gloria Broadbent
db199546a8 SPANISH: Updated RM 3.0 bundle based on EN-RM-rev105468
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106534 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:27:31 +00:00
Gloria Broadbent
f3daa16af5 GERMAN: Updated RM 3.0 bundle based on EN-RM-rev105468
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:25:53 +00:00
Tom Page
3eb1599fd9 RM-2319 Declare parameter key as "final".
This is needed to compile in java 7, but not java 8.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:16:06 +00:00
Gloria Broadbent
54c885f267 DUTCH: Updated RM 3.0 bundle based on EN-RM-rev105468
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106531 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:14:16 +00:00
Tom Page
5d1ab4fa87 RM-2319 Refactor ClassificationServiceBootstrap.
Simplify code to load classification levels, classification reasons and
exemption categories using the same method.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:20 +00:00
Tom Page
941b637552 RM-2319 Validate classification reasons and exemption categories.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:18 +00:00
Tom Page
81f5c589c5 RM-2319 Create a general classification scheme entity validator.
Replace the existing classification level validator with the new class.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:13 +00:00
Tom Page
4ee3afa208 RM-2319 Separate the field validation from ClassificationLevelValidation.
Create field validators that are small and potentially re-usable.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:10 +00:00
Tom Page
88ee670c81 RM-2319 Refactor ClassificationServiceDAO.
All the config loading is now done by a single method using a factory to
create the individual entities.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:07 +00:00
Tom Page
cbe6ca551e RM-2319 Create marker interface for entities created from config files.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:05 +00:00