Tuna Aksoy
8c441c8835
Fixed typo
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109021 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-27 12:43:31 +00:00
Tom Page
d8da135d63
RM-2401, RM-2400, RM-2409 Store classification schedule properties.
...
Update Java API to store the classification schedule properties.
Fix the classification aspect behaviour to check newly classified
documents.
Add an application context test that the downgrade instructions are
mandatory when the downgrade date is set.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-27 10:27:16 +00:00
Neil McErlean
7322da8f66
Addressing review comments from RM-132. Original issues were RM-2431 and RM-2432.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108993 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-25 07:24:34 +00:00
Tom Page
49de2937c9
RM-2400 Add policy for classification schedule properties.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-24 13:19:09 +00:00
Tom Page
b1d88d737c
RM-2401 Pass classification schedule fields when classifying content.
...
Create a new data transfer object and add all the classification fields to
it. Update everywhere we're classifying content with the API to use the
data transfer object. Also update the new edit classification API.
Break the classifyContent implementation into several smaller methods and
update unit tests to target these methods.
Don't actually use new fields in this commit, as there was plenty in this
commit as it was!
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-24 09:36:52 +00:00
Tuna Aksoy
39aa063654
Fixed failing integration tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 22:07:23 +00:00
Tuna Aksoy
4376c2a152
Fixed version number in some java and js files
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:38:31 +00:00
Tuna Aksoy
992a3be30e
RM-2421 (Add PUT method to classify content REST API)
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:15:31 +00:00
Tuna Aksoy
c6f5d7d718
RM-2420 (Add edit classification to ClassifyService Java API)
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:14:25 +00:00
Tuna Aksoy
671fbfcaa1
RM-2422 (Reuse existing classify file dialog for edit classification)
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 21:13:05 +00:00
Neil McErlean
ebc34f9209
Work that's part of RM-2431 and RM-2432.
...
Added to the classified-content-model - various properties as described in RM-2431 along with a constraint on Reclassification Action.
Addition to the ClassificationSchemeService of methods and types associated with Reclassification. (Upgrade, Downgrade, Declassify). See RM-2432.
Behaviour bean that will automatically set lastReclassificationAction and lastReclassifyBy in response to any change to currentClassificationLevel.
Also some util methods in RMCollections.
Fixed some spelling mistakes in classification-related properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108878 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 16:13:43 +00:00
Tom Page
9d5fb95ced
RM-2400 Add new properties to ClassifiedContentModel.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 13:06:49 +00:00
Tom Page
3b159f2ba9
RM-2400 Add classification schedule properties to model.
...
Refactor constraints, and create new constraints for exemption categories
and classification reasons.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-23 13:06:48 +00:00
Tuna Aksoy
aff3da54ef
RM-2129 (Check classification before method execution)
...
* Renamed ClassificationEnformentException to AccessDeniedException
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 12:49:06 +00:00
Tuna Aksoy
3ea9843ac3
RM-2129 (Check classification before method execution)
...
* Code tidy up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108640 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 10:55:57 +00:00
Roy Wetherall
9a9560fa6c
Fixes to classification enforcement:
...
* only process services that start with an upper case character. We were being over zealous in our checking which was causing problems, we only care about public services.
* add enable/disable/isenabled methods to pre-processor
* switch off pre-processing when post-processing
* remove method black list
* unit tests, integration tests and UI tests run locally
+review RM @taksoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-21 05:30:53 +00:00
Tuna Aksoy
8d16bbf699
RM-2129 (Check classification before method execution)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-20 14:38:12 +00:00
Tuna Aksoy
700ac87fb0
RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-19 19:57:43 +00:00
Tom Page
703fcbef77
RM-2466 Pass through total results count as if nothing is filtered.
...
Change PagingResultsPostMethodInvocationProcessor to always return the
total results count as if nothing is filtered. This should fix the case
where nothing is filtered, and is a concession to the fact that we cannot
know how many total results there will be from a single page. We will fix
this later by filtering the results before we get to this processor, but
the processor is a good backup filter.
Change the rm-automation tests not to use the pagination details at the
bottom of the browse list pages, as these will often now be incorrect.
In making this change I also looked at using the getTotalResultCount()
interface with a range as the interface supports returning a minimum and
maximum on the total number of results. This would be very useful here,
as it should allow us to say that we don't know how many results there
will be. However most of the webscripts don't support a range, and so
this leads to some odd results in Share (e.g. 'Showing results 1 to 50
of -1').
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-17 09:01:00 +00:00
Tuna Aksoy
1121127ed2
RM-2466 (Show the correct number of existing pages and make them available for navigation in the Security Clearance page)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-15 16:25:24 +00:00
Neil McErlean
d5f4ecaa35
Added missing testcase, part of RM-2343. Test ensures that whitespace-only values for 'classified by' result in a 4xx HTTP response.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:43:10 +00:00
Neil McErlean
71565ff47a
Part of RM-2343. Ensure that blank or whitespace-only values for the 'Classified By' field are not accepted.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-14 11:13:06 +00:00
Tuna Aksoy
0e34fa64d4
Fixed failing automated UI tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108149 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-11 15:56:28 +00:00
Tuna Aksoy
6a8eeda795
RM-2388 (User without any clearance should not see the classify action)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@108131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-10 15:50:55 +00:00
Tuna Aksoy
d35a700360
RM-2129 (Check classification before method execution)
...
* Preventing access to information without appropriate security clearance
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 15:24:26 +00:00
Tuna Aksoy
c2405ac03a
RM-2129 (Check classification before method execution)
...
* Commenting the list of pre enforcement check methods temporarily out. getProperties causes problems in the UI although all the integration tests succeed.
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 15:28:05 +00:00
Tuna Aksoy
a6ab82152d
RM-2129 (Check classification before method execution)
...
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 14:41:53 +00:00
Tuna Aksoy
e6fe911fcf
RM-2129 (Check classification before method execution)
...
+review RM @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-02 18:05:18 +00:00
Tuna Aksoy
ea4d00f100
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
- Code refactored
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 19:15:27 +00:00
Neil McErlean
fa3f1230a4
RM-2333, RM-2341, RM-2342, RM-2343, RM-2344, RM-2346.
...
Changed Classification Agency to optional throughtout the stack and added a new mandatory property Classified By throughout the stack.
Addressing the fallout in the existing tests due to these changes.
Also enhanced some existing tests to validate the classified by value persistence.
Still to do: need to initialise the Classified By field in the Classify dialog to the current user's full name (not as easy as I'd thought) and add additional AC tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 15:32:47 +00:00
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
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
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
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
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