mirror of
				https://github.com/Alfresco/alfresco-community-repo.git
				synced 2025-10-29 15:21:53 +00:00 
			
		
		
		
	Compare commits
	
		
			60 Commits
		
	
	
		
			23.6.0.33
			...
			feature/Pr
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | ff82d3d0c4 | ||
|  | 67a3f2b8aa | ||
|  | 50048971a8 | ||
|  | 9fd01f2902 | ||
|  | 43a5c15415 | ||
|  | 7a8590c93e | ||
|  | 21f2bd1fcb | ||
|  | 10563f3bb6 | ||
|  | 11d46537b8 | ||
|  | 41e8c22e88 | ||
|  | 63283738bd | ||
|  | aae81980df | ||
|  | eb6b6a64a8 | ||
|  | 764a5075a1 | ||
|  | e9a914cc8c | ||
|  | 1f1d327750 | ||
|  | f7b6e90d98 | ||
|  | a6cc2d9964 | ||
|  | c39047debe | ||
|  | 4a8c235f58 | ||
|  | 273a99f70f | ||
|  | 0691cb0162 | ||
|  | 23465b70e2 | ||
|  | a7ef5157e2 | ||
|  | 25459e9a34 | ||
|  | 5b459e5c2e | ||
|  | d451207427 | ||
|  | 563404bc8b | ||
|  | 3fe14df13b | ||
|  | 359106f323 | ||
|  | 331ce2cc59 | ||
|  | e6f8e71b96 | ||
|  | f502fced88 | ||
|  | 75248b0118 | ||
|  | ff93971e54 | ||
|  | 15b1a960b7 | ||
|  | 00b043d444 | ||
|  | 79709ce48e | ||
|  | c135d5ea8f | ||
|  | 06871bce8a | ||
|  | 58e595ce13 | ||
|  | 333a7dca98 | ||
|  | 0c810f5e80 | ||
|  | 4d930a6f18 | ||
|  | ff68f92455 | ||
|  | c88353ccb7 | ||
|  | 6b94ee41d4 | ||
|  | a414aa3064 | ||
|  | 7914e87f77 | ||
|  | 4f63b3871e | ||
|  | 876962db57 | ||
|  | 5e2ff120ae | ||
|  | 2d95ccc754 | ||
|  | 3de741a78e | ||
|  | 8993ec9d5c | ||
|  | 428a82c195 | ||
|  | 519ef19c83 | ||
|  | f19849b547 | ||
|  | d956a4f4aa | ||
|  | 71f649d1bd | 
							
								
								
									
										118
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										118
									
								
								.github/dependabot.yml
									
									
									
									
										vendored
									
									
								
							| @@ -14,6 +14,15 @@ updates: | ||||
|     timezone: Africa/Abidjan | ||||
|   open-pull-requests-limit: 99 | ||||
|   ignore: | ||||
|   - dependency-name: com.google.code.gson:gson | ||||
|     versions: | ||||
|     - "> 2.8.6" | ||||
|   - dependency-name: io.fabric8:fabric8-maven-plugin | ||||
|     versions: | ||||
|     - "> 4.4.0" | ||||
|   - dependency-name: javax.servlet:javax.servlet-api | ||||
|     versions: | ||||
|     - "> 3.0.1" | ||||
|   - dependency-name: org.acegisecurity:acegi-security | ||||
|     versions: | ||||
|     - "> 0.8.2_patched" | ||||
| @@ -43,7 +52,110 @@ updates: | ||||
|     - "> 1.0.0" | ||||
|   - dependency-name: org.freemarker:freemarker | ||||
|     versions: | ||||
|     - "> 2.3.31-alfresco-patched" | ||||
|     - "> 2.3.20-alfresco-patched-20200421" | ||||
|   - dependency-name: org.keycloak:keycloak-adapter-core | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.keycloak:keycloak-adapter-spi | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.keycloak:keycloak-authz-client | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.keycloak:keycloak-common | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.keycloak:keycloak-core | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.keycloak:keycloak-servlet-adapter-spi | ||||
|     versions: | ||||
|     - "> 12.0.2" | ||||
|   - dependency-name: org.eclipse.jetty:jetty-server | ||||
|     versions: | ||||
|     - 9.4.38.v20210224 | ||||
|   - dependency-name: org.alfresco.tas:cmis | ||||
|     versions: | ||||
|     - "1.28" | ||||
|   - dependency-name: org.springframework:spring-webmvc | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-web | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-tx | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-orm | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-test | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-jms | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-jdbc | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-expression | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-core | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-context-support | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-context | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-beans | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.springframework:spring-aop | ||||
|     versions: | ||||
|     - 5.3.4 | ||||
|     - 5.3.5 | ||||
|   - dependency-name: org.alfresco.tas:restapi | ||||
|     versions: | ||||
|     - "1.55" | ||||
|   - dependency-name: org.eclipse.jetty:jetty-security | ||||
|     versions: | ||||
|     - 11.0.1 | ||||
|   - dependency-name: org.alfresco.aos-module:alfresco-vti-bin | ||||
|     versions: | ||||
|     - 1.4.0-M1 | ||||
|   - dependency-name: org.alfresco.aos-module:alfresco-aos-module-distributionzip | ||||
|     versions: | ||||
|     - 1.4.0-M1 | ||||
|   - dependency-name: org.alfresco.aos-module:alfresco-aos-module | ||||
|     versions: | ||||
|     - 1.4.0-M1 | ||||
|   - dependency-name: org.alfresco.surf:spring-webscripts-api | ||||
|     versions: | ||||
|     - "8.16" | ||||
|   - dependency-name: org.alfresco.surf:spring-webscripts:tests | ||||
|     versions: | ||||
|     - "8.16" | ||||
|   - dependency-name: org.alfresco.surf:spring-webscripts | ||||
|     versions: | ||||
|     - "8.16" | ||||
|   - dependency-name: org.alfresco.surf:spring-surf-core-configservice | ||||
|     versions: | ||||
|     - "8.16" | ||||
|   registries: | ||||
|   - maven-repository-artifacts-alfresco-com-nexus-content-groups-int | ||||
| - package-ecosystem: "docker" | ||||
| @@ -52,7 +164,3 @@ updates: | ||||
|     interval: "daily" | ||||
|     time: "22:00" | ||||
|     timezone: Africa/Abidjan | ||||
| - package-ecosystem: "github-actions" | ||||
|   directory: "/" | ||||
|   schedule: | ||||
|     interval: "monthly" | ||||
|   | ||||
							
								
								
									
										1022
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1022
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										28
									
								
								.github/workflows/master_release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/master_release.yml
									
									
									
									
										vendored
									
									
								
							| @@ -27,19 +27,16 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [run_ci] | ||||
|     if: > | ||||
|       !(failure() || cancelled()) && | ||||
|       !failure() && | ||||
|       !contains(github.event.head_commit.message, '[no release]') && | ||||
|       github.event_name != 'pull_request' | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|         with: | ||||
|           persist-credentials: false | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0 | ||||
|       - uses: actions/checkout@v3 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.30.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.30.0 | ||||
|       - name: "Init" | ||||
|         run: bash ./scripts/ci/init.sh | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.30.0 | ||||
|         with: | ||||
|           username: ${{ env.GIT_USERNAME }} | ||||
|           email: ${{ env.GIT_EMAIL }} | ||||
| @@ -56,19 +53,16 @@ jobs: | ||||
|     runs-on: ubuntu-latest | ||||
|     needs: [push_to_nexus] | ||||
|     if: > | ||||
|       !(failure() || cancelled()) && | ||||
|       !failure() && | ||||
|       !contains(github.event.head_commit.message, '[no downstream]') && | ||||
|       github.event_name != 'pull_request' | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|         with: | ||||
|           persist-credentials: false | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/free-hosted-runner-disk-space@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.16.0 | ||||
|       - uses: actions/checkout@v3 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@v1.30.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v1.30.0 | ||||
|       - name: "Init" | ||||
|         run: bash ./scripts/ci/init.sh | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.16.0 | ||||
|       - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v1.30.0 | ||||
|         with: | ||||
|           username: ${{ env.GIT_USERNAME }} | ||||
|           email: ${{ env.GIT_EMAIL }} | ||||
| @@ -78,4 +72,4 @@ jobs: | ||||
|         env: | ||||
|           COMMIT_MESSAGE: ${{ github.event.head_commit.message }} | ||||
|       - name: "Clean Maven cache" | ||||
|         run: bash ./scripts/ci/cleanup_cache.sh | ||||
|         run: bash ./scripts/ci/cleanup_cache.sh | ||||
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -39,9 +39,6 @@ dependency-reduced-pom.xml | ||||
|  | ||||
| hs_err_pid* | ||||
|  | ||||
| # Development | ||||
| repository/scripts/hazelcast-init/alfresco-hazelcast-config.xml | ||||
|  | ||||
| # Alfresco runtime | ||||
| alf_data | ||||
|  | ||||
|   | ||||
| @@ -131,23 +131,23 @@ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": ".github/workflows/ci.yml", | ||||
|         "hashed_secret": "b86dc2f033a63f2b7b9e7d270ab806d2910d7572", | ||||
|         "hashed_secret": "a4a747bd4ba5e3a5049cad116881867c71fb625b", | ||||
|         "is_verified": false, | ||||
|         "line_number": 293 | ||||
|         "line_number": 134 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": ".github/workflows/ci.yml", | ||||
|         "hashed_secret": "1bfb0e20f886150ba59b853bcd49dea893e00966", | ||||
|         "hashed_secret": "3eaefff58bb411413fcbd76dc410d392529627e7", | ||||
|         "is_verified": false, | ||||
|         "line_number": 368 | ||||
|         "line_number": 164 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": ".github/workflows/ci.yml", | ||||
|         "hashed_secret": "128f14373ccfaff49e3664045d3a11b50cbb7b39", | ||||
|         "hashed_secret": "21b46dc06a4681d07e88157fec3a477484fd314b", | ||||
|         "is_verified": false, | ||||
|         "line_number": 902 | ||||
|         "line_number": 338 | ||||
|       } | ||||
|     ], | ||||
|     ".github/workflows/master_release.yml": [ | ||||
| @@ -170,16 +170,6 @@ | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/retentionschedule/RetentionScheduleStepTests.java": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "amps/ags/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/retentionschedule/RetentionScheduleStepTests.java", | ||||
|         "hashed_secret": "e3557f3b0f2189660980d213f75d1a7828d56af1", | ||||
|         "is_verified": false, | ||||
|         "line_number": 83, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "amps/ags/rm-automation/rm-automation-community-rest-api/src/test/resources/default.properties": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
| @@ -218,7 +208,7 @@ | ||||
|         "filename": "amps/ags/rm-community/rm-community-repo/docker-compose.yml", | ||||
|         "hashed_secret": "d1ebbc78705ad98aa2c8fb357d2e30c8f001673a", | ||||
|         "is_verified": false, | ||||
|         "line_number": 76 | ||||
|         "line_number": 74 | ||||
|       } | ||||
|     ], | ||||
|     "amps/ags/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/capability/RMPermissionModel.java": [ | ||||
| @@ -407,23 +397,13 @@ | ||||
|         "line_number": 79 | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/scripts/wait-for-alfresco-start.sh": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "packaging/tests/scripts/wait-for-alfresco-start.sh", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "is_verified": false, | ||||
|         "line_number": 15, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/tas-cmis/src/main/java/org/alfresco/cmis/AuthParameterProviderFactory.java": [ | ||||
|       { | ||||
|         "type": "JSON Web Token", | ||||
|         "filename": "packaging/tests/tas-cmis/src/main/java/org/alfresco/cmis/AuthParameterProviderFactory.java", | ||||
|         "hashed_secret": "a28cecdb5056cf30135809b921e38a84deb6c345", | ||||
|         "is_verified": false, | ||||
|         "line_number": 102, | ||||
|         "line_number": 104, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
| @@ -431,7 +411,7 @@ | ||||
|         "filename": "packaging/tests/tas-cmis/src/main/java/org/alfresco/cmis/AuthParameterProviderFactory.java", | ||||
|         "hashed_secret": "5e39d8e2991ef9705998de26b33f11be0f3cdcde", | ||||
|         "is_verified": false, | ||||
|         "line_number": 103, | ||||
|         "line_number": 105, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -515,52 +495,6 @@ | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/core/RestAisAuthentication.java": [ | ||||
|       { | ||||
|         "type": "JSON Web Token", | ||||
|         "filename": "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/core/RestAisAuthentication.java", | ||||
|         "hashed_secret": "a28cecdb5056cf30135809b921e38a84deb6c345", | ||||
|         "is_verified": false, | ||||
|         "line_number": 79, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
|         "type": "JSON Web Token", | ||||
|         "filename": "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/core/RestAisAuthentication.java", | ||||
|         "hashed_secret": "5e39d8e2991ef9705998de26b33f11be0f3cdcde", | ||||
|         "is_verified": false, | ||||
|         "line_number": 80, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/model/RestSitePersonMembershipRequestModelsCollection.java": [ | ||||
|       { | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "packaging/tests/tas-restapi/src/main/java/org/alfresco/rest/model/RestSitePersonMembershipRequestModelsCollection.java", | ||||
|         "hashed_secret": "8b30a14989d7b8093ac29462fe29423d836625b4", | ||||
|         "is_verified": false, | ||||
|         "line_number": 39, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/tas-restapi/src/main/resources/default.properties": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "packaging/tests/tas-restapi/src/main/resources/default.properties", | ||||
|         "hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997", | ||||
|         "is_verified": false, | ||||
|         "line_number": 21, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "packaging/tests/tas-restapi/src/main/resources/default.properties", | ||||
|         "hashed_secret": "a4a747bd4ba5e3a5049cad116881867c71fb625b", | ||||
|         "is_verified": false, | ||||
|         "line_number": 87, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "packaging/tests/tas-restapi/src/test/resources/default.properties": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
| @@ -691,7 +625,7 @@ | ||||
|         "filename": "remote-api/src/test/java/org/alfresco/repo/web/scripts/servlet/RemoteAuthenticatorFactoryAdminConsoleAccessTest.java", | ||||
|         "hashed_secret": "4ffa743f28fc949c19e65ab045d7906d0609a2c2", | ||||
|         "is_verified": false, | ||||
|         "line_number": 269, | ||||
|         "line_number": 264, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -731,7 +665,7 @@ | ||||
|         "filename": "remote-api/src/test/java/org/alfresco/rest/api/tests/AbstractBaseApiTest.java", | ||||
|         "hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997", | ||||
|         "is_verified": false, | ||||
|         "line_number": 111, | ||||
|         "line_number": 120, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -963,6 +897,15 @@ | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/main/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceConfig.java": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "repository/src/main/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceConfig.java", | ||||
|         "hashed_secret": "fa8659c24b2b5da9a1e142348ada4c8f12493917", | ||||
|         "is_verified": false, | ||||
|         "line_number": 46 | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/main/java/org/alfresco/repo/transfer/TransferServiceImpl2.java": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
| @@ -1273,7 +1216,7 @@ | ||||
|         "filename": "repository/src/main/resources/alfresco/repository.properties", | ||||
|         "hashed_secret": "84551ae5442affc9f1a2d3b4c86ae8b24860149d", | ||||
|         "is_verified": false, | ||||
|         "line_number": 771, | ||||
|         "line_number": 761, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1303,7 +1246,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java", | ||||
|         "hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997", | ||||
|         "is_verified": false, | ||||
|         "line_number": 88, | ||||
|         "line_number": 82, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
| @@ -1311,7 +1254,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java", | ||||
|         "hashed_secret": "c464af817287343305cbd6493c593885695df531", | ||||
|         "is_verified": false, | ||||
|         "line_number": 92, | ||||
|         "line_number": 86, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
| @@ -1319,7 +1262,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java", | ||||
|         "hashed_secret": "8ad8572a0b3fc4cb3afc1baaebc97a2cae58eb8c", | ||||
|         "is_verified": false, | ||||
|         "line_number": 93, | ||||
|         "line_number": 87, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
| @@ -1327,7 +1270,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/filesys/FTPServerTest.java", | ||||
|         "hashed_secret": "915692b4d7465b0084354173d552ac90145dc315", | ||||
|         "is_verified": false, | ||||
|         "line_number": 94, | ||||
|         "line_number": 88, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1337,7 +1280,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/filesys/repo/ContentDiskDriverTest.java", | ||||
|         "hashed_secret": "8c85434f6f339a24b808810bd95629d0f5856355", | ||||
|         "is_verified": false, | ||||
|         "line_number": 1280, | ||||
|         "line_number": 1281, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1447,7 +1390,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/lock/LockServiceImplTest.java", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "is_verified": false, | ||||
|         "line_number": 103, | ||||
|         "line_number": 109, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1539,7 +1482,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/rendition2/AbstractRenditionIntegrationTest.java", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "is_verified": false, | ||||
|         "line_number": 130, | ||||
|         "line_number": 127, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1569,7 +1512,7 @@ | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/AuthenticationTest.java", | ||||
|         "hashed_secret": "607e729c2f77c4e821e68e26b4c1f5a4398624e9", | ||||
|         "is_verified": false, | ||||
|         "line_number": 2129, | ||||
|         "line_number": 2124, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1593,42 +1536,48 @@ | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java": [ | ||||
|     "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java": [ | ||||
|       { | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java", | ||||
|         "hashed_secret": "c4b66dbe168ad1d2b19119494a0da063801bc3bb", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "00fda15183ba9ba9e6c2e364ea40c3928bd52f92", | ||||
|         "is_verified": false, | ||||
|         "line_number": 83, | ||||
|         "is_secret": false | ||||
|         "line_number": 162 | ||||
|       }, | ||||
|       { | ||||
|         "type": "JSON Web Token", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceFacadeFactoryBeanTest.java", | ||||
|         "hashed_secret": "c5aad1895e1dcff195992938f1bcc9954d575ac9", | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "b83ad0214090e5d0414a93638a9a53f72c61b549", | ||||
|         "is_verified": false, | ||||
|         "line_number": 92, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/LazyInstantiatingIdentityServiceFacadeUnitTest.java": [ | ||||
|         "line_number": 163 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/LazyInstantiatingIdentityServiceFacadeUnitTest.java", | ||||
|         "hashed_secret": "12e59296b0d17c1ceb345a7adca98574c835ba24", | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "e16209d11bbd258c6b81680caae78cdacc632fe1", | ||||
|         "is_verified": false, | ||||
|         "line_number": 45, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/SpringBasedIdentityServiceFacadeUnitTest.java": [ | ||||
|         "line_number": 164 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/SpringBasedIdentityServiceFacadeUnitTest.java", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "bf495f339a303c35da0bfd54c34f0a25498ac14a", | ||||
|         "is_verified": false, | ||||
|         "line_number": 48, | ||||
|         "is_secret": false | ||||
|         "line_number": 165 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "6a9c25a83c51b2d802241c94f128938e2647039f", | ||||
|         "is_verified": false, | ||||
|         "line_number": 166 | ||||
|       }, | ||||
|       { | ||||
|         "type": "Base64 High Entropy String", | ||||
|         "filename": "repository/src/test/java/org/alfresco/repo/security/authentication/identityservice/IdentityServiceRemoteUserMapperTest.java", | ||||
|         "hashed_secret": "34c5cdcf8c7f163ff1935131fa9f6ddd4cfd35b7", | ||||
|         "is_verified": false, | ||||
|         "line_number": 167 | ||||
|       } | ||||
|     ], | ||||
|     "repository/src/test/java/org/alfresco/repo/tenant/MultiTNodeServiceInterceptorTest.java": [ | ||||
| @@ -1781,7 +1730,7 @@ | ||||
|         "filename": "repository/src/test/resources/alfresco-global.properties", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "is_verified": false, | ||||
|         "line_number": 21, | ||||
|         "line_number": 28, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
| @@ -1868,25 +1817,7 @@ | ||||
|         "line_number": 1843, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ], | ||||
|     "scripts/ci/docker-compose/docker-compose.yaml": [ | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "scripts/ci/docker-compose/docker-compose.yaml", | ||||
|         "hashed_secret": "d033e22ae348aeb5660fc2140aec35850c4da997", | ||||
|         "is_verified": false, | ||||
|         "line_number": 39, | ||||
|         "is_secret": false | ||||
|       }, | ||||
|       { | ||||
|         "type": "Secret Keyword", | ||||
|         "filename": "scripts/ci/docker-compose/docker-compose.yaml", | ||||
|         "hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | ||||
|         "is_verified": false, | ||||
|         "line_number": 43, | ||||
|         "is_secret": false | ||||
|       } | ||||
|     ] | ||||
|   }, | ||||
|   "generated_at": "2025-05-15T21:47:13Z" | ||||
|   "generated_at": "2024-10-07T13:39:45Z" | ||||
| } | ||||
|   | ||||
| @@ -53,8 +53,8 @@ Because this project forms a part of Alfresco Content Services, the guidelines a | ||||
|  | ||||
| You can report an issue in the ALF project of the [Alfresco issue tracker](http://issues.alfresco.com). | ||||
|  | ||||
| Read [instructions for a good issue report](https://hub.alfresco.com/t5/alfresco-content-services-hub/reporting-an-issue/ba-p/289727). | ||||
| Read [instructions for a good issue report](https://community.alfresco.com/docs/DOC-6263-reporting-an-issue). | ||||
|  | ||||
| Read [instructions for making a contribution](https://hub.alfresco.com/t5/alfresco-content-services-hub/alfresco-contribution-agreement/ba-p/293276). | ||||
| Read [instructions for making a contribution](https://community.alfresco.com/docs/DOC-6269-submitting-contributions). | ||||
|  | ||||
| Please follow [the coding standards](https://hub.alfresco.com/t5/alfresco-content-services-hub/coding-standards-for-alfresco-content-services/ba-p/290457). | ||||
| Please follow [the coding standards](https://community.alfresco.com/docs/DOC-4658-coding-standards). | ||||
|   | ||||
							
								
								
									
										79
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										79
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,58 +1,39 @@ | ||||
| # alfresco-community-repo | ||||
|  | ||||
| [](https://github.com/Alfresco/alfresco-community-repo/actions/workflows/master_release.yml) | ||||
| [](https://github.com/Alfresco/alfresco-community-repo/actions/workflows/master_release.yml) | ||||
|  | ||||
| ## Table of Contents | ||||
| 1. [Content](#content) | ||||
| 2. [Artifacts](#artifacts) | ||||
| 3. [Setup](#setting-up-and-building-your-development-environment) | ||||
| 4. [Branches](#branches) | ||||
| 5. [Contributing](#contributing-guide) | ||||
| 6. [Helpful links](#helpful-links) | ||||
|  | ||||
|  | ||||
| ## Content | ||||
| Alfresco Community Repository contains following libraries: | ||||
|  | ||||
| ### Alfresco Core | ||||
| Core is a library packaged as a jar file which contains the following: | ||||
| #### Alfresco Core | ||||
|  | ||||
| Alfresco Core is a library packaged as a jar file which contains the following: | ||||
| * Various helpers and utils | ||||
| * Canned queries interface and supporting classes | ||||
| * Generic encryption supporting classes | ||||
|  | ||||
| ### Alfresco Data Model | ||||
|  | ||||
| Data Model is a library packaged as a jar file which  contains the following: | ||||
|  | ||||
| #### Alfresco Data Model | ||||
| Data model is a library packaged as a jar file which  contains the following: | ||||
| * Dictionary, Repository and Search Services interfaces | ||||
| * Models for data types and Dictionary implementation | ||||
| * Parsers | ||||
|  | ||||
| ### Alfresco Repository | ||||
| #### Alfresco Repository | ||||
|  | ||||
| Repository is a library packaged as a jar file which contains the following: | ||||
|  | ||||
| * DAOs and SQL scripts | ||||
| * Various Service implementations | ||||
| * Utility classes | ||||
|  | ||||
| ### Alfresco Remote API | ||||
| #### Alfresco Remote API | ||||
|  | ||||
| Remote API is a library packaged as a jar file which contains the following: | ||||
|  | ||||
| * REST API framework | ||||
| * WebScript implementations including [V1 REST APIs](https://hub.alfresco.com/t5/alfresco-content-services-blog/v1-rest-api-10-things-you-should-know/ba-p/287692) | ||||
| * WebScript implementations including [V1 REST APIs](https://community.alfresco.com/community/ecm/blog/2017/05/02/v1-rest-api-10-things-you-should-know) | ||||
| * [OpenCMIS](https://chemistry.apache.org/java/opencmis.html) implementations | ||||
|  | ||||
| ## Artifacts | ||||
|  | ||||
| #### Artifacts | ||||
| The artifacts can be obtained by: | ||||
| * downloading from [Alfresco maven repository](https://artifacts.alfresco.com/nexus/#browse/browse:public) | ||||
| * downloading from [Alfresco maven repository](https://artifacts.alfresco.com/nexus/content/groups/public) | ||||
| * as Maven dependency by adding the dependency to your pom file: | ||||
|  | ||||
| ~~~xml | ||||
|  | ||||
| ~~~ | ||||
| <dependency> | ||||
|   <groupId>org.alfresco</groupId> | ||||
|   <artifactId>alfresco-core</artifactId> | ||||
| @@ -83,46 +64,34 @@ The artifacts can be obtained by: | ||||
|     <version>version</version> | ||||
|     <type>war</type> | ||||
| </dependency> | ||||
|  | ||||
| ~~~ | ||||
|  | ||||
| and Alfresco maven repository: | ||||
|  | ||||
| ~~~xml | ||||
|  | ||||
| ~~~ | ||||
| <repository> | ||||
|   <id>alfresco-maven-repo</id> | ||||
|   <url>https://artifacts.alfresco.com/nexus/content/groups/public</url> | ||||
| </repository> | ||||
|  | ||||
| ~~~ | ||||
|  | ||||
| The SNAPSHOT versions of the artifact are not published. | ||||
|  | ||||
| ## Setting up and building your development environment | ||||
|  | ||||
| See the [**Development Tomcat Environment**](https://github.com/Alfresco/acs-community-packaging/tree/master/dev/README.md) | ||||
| page which will show you how to try out your repository changes in a local Tomcat instance or using Docker containers.  | ||||
| See the [Development Tomcat Environment](https://github.com/Alfresco/acs-community-packaging/tree/master/dev/README.md) | ||||
| page which will show you how to try out your repository changes in a local tomcat instance. | ||||
| If you wish to use Docker images, take a look at the aliases ending in `D` and the docker-compose files in this | ||||
| project's test modules.     | ||||
|  | ||||
| ## Branches | ||||
|  | ||||
| This project has a branch for each ACS release. For example the code in ACS 6.2.2 is a | ||||
| branch called **`release/6.2.2`**. In addition to the original 6.2.2 release it will also contain Hot Fixes | ||||
| added later. The latest unreleased code is on the **`master`** branch. There are also **`.N`** branches, such as  | ||||
| **`release/7.1.N`** on which we gather unreleased fixes for future service pack releases. They do not indicate | ||||
| This project has a branch for each ACS release. For example the code in ACS 6.2.1 is a | ||||
| branch called `releases/6.2.2`. In addition to the original 6.2.2 release it will also contain Hot Fixes | ||||
| added later. The latest unreleased code is on the `master` branch. There are also `.N` branches, such as  | ||||
| `releases/7.1.N` on which we gather unreleased fixes for future service pack releases. They do not indicate | ||||
| that one is planned. | ||||
|  | ||||
| For historic reasons the version of artifacts created on each branch do not match the ACS version. | ||||
| For example artifact in ACS 7.2.0 will be **`14.<something>`**. | ||||
| For example artifact in ACS 7.2.0 will be `14.<something>`. | ||||
|  | ||||
| The enterprise projects which extend the **`alfresco-community-repo`** use the same branch names and leading | ||||
| The enterprise projects which extend the `alfresco-community-repo` use the same branch names and leading | ||||
| artifact version number. | ||||
|  | ||||
| ## Contributing guide | ||||
|  | ||||
| Please use [**this guide**](CONTRIBUTING.md) to make a contribution to the project. | ||||
|  | ||||
| ## Helpful links | ||||
|  | ||||
| - [Alfresco Content Services Documentation](https://docs.alfresco.com/content-services/latest/) | ||||
| - [Alfresco Platform](https://www.hyland.com/en/products/alfresco-platform) | ||||
| ### Contributing guide | ||||
| Please use [this guide](CONTRIBUTING.md) to make a contribution to the project. | ||||
| @@ -71,7 +71,7 @@ the _alfresco-internal_ repository: | ||||
|    </snapshots> | ||||
| </repository> | ||||
| ``` | ||||
|  | ||||
|   | ||||
|  | ||||
| For additional instructions you can check the official Maven documentation: | ||||
| * [setting up repositories](https://maven.apache.org/guides/mini/guide-multiple-repositories.html) | ||||
| @@ -227,7 +227,7 @@ If only the Community or Enterprise images need to be built than the same comman | ||||
|  | ||||
| The Docker images of the Repo can be started independently from Share running the following command in the rm-repo-enterprise or rm-repo-community folder which contains the Docker-compose.yml file: | ||||
| ``` | ||||
| docker compose up | ||||
| docker-compose up | ||||
| ``` | ||||
| > Be aware of the fact that the Share images can not be started independently from Repo | ||||
|  | ||||
| @@ -237,5 +237,5 @@ e.g. In order to start an instance of rm-enterprise-repo and rm-enterprise-share | ||||
|  | ||||
| If you have a license for jRebel then this can be used from the rm-community-share or rm-enterprise-share directories with: | ||||
| ``` | ||||
| docker compose -f docker-compose.yml -f jrebel-docker-compose.yml --project-name agsdev up --build --force-recreate | ||||
| docker-compose -f docker-compose.yml -f jrebel-docker-compose.yml --project-name agsdev up --build --force-recreate | ||||
| ``` | ||||
|   | ||||
| @@ -4,9 +4,9 @@ set -x | ||||
| # Display running containers | ||||
| docker ps | ||||
|  | ||||
| alfrescoContainerId=$(docker ps -a | grep '\-alfresco\-' | awk '{print $1}') | ||||
| shareContainerId=$(docker ps -a | grep '\-share\-' | awk '{print $1}') | ||||
| solrContainerId=$(docker ps -a | grep '\-search\-' | awk '{print $1}') | ||||
| alfrescoContainerId=$(docker ps -a | grep '_alfresco_' | awk '{print $1}') | ||||
| shareContainerId=$(docker ps -a | grep '_share_' | awk '{print $1}') | ||||
| solrContainerId=$(docker ps -a | grep '_search_' | awk '{print $1}') | ||||
|  | ||||
| docker logs $alfrescoContainerId > alfresco.log | ||||
| if [ -n "$shareContainerId" ]; then | ||||
|   | ||||
| @@ -7,22 +7,14 @@ | ||||
|    <parent> | ||||
|       <groupId>org.alfresco</groupId> | ||||
|       <artifactId>alfresco-community-repo-amps</artifactId> | ||||
|       <version>23.6.0.33</version> | ||||
|       <version>18.21-SNAPSHOT</version> | ||||
|    </parent> | ||||
|  | ||||
|    <modules> | ||||
|       <module>rm-community</module> | ||||
|       <module>rm-automation</module> | ||||
|    </modules> | ||||
|  | ||||
|    <profiles> | ||||
|       <profile> | ||||
|          <id>all-tas-tests</id> | ||||
|          <modules> | ||||
|             <module>rm-automation</module> | ||||
|          </modules> | ||||
|       </profile> | ||||
|    </profiles> | ||||
|  | ||||
|    <properties> | ||||
|       <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||||
|       <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|    <parent> | ||||
|       <groupId>org.alfresco</groupId> | ||||
|       <artifactId>alfresco-governance-services-community-parent</artifactId> | ||||
|       <version>23.6.0.33</version> | ||||
|       <version>18.21-SNAPSHOT</version> | ||||
|    </parent> | ||||
|  | ||||
|    <modules> | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
|    <parent> | ||||
|       <groupId>org.alfresco</groupId> | ||||
|       <artifactId>alfresco-governance-services-automation-community-repo</artifactId> | ||||
|       <version>23.6.0.33</version> | ||||
|       <version>18.21-SNAPSHOT</version> | ||||
|    </parent> | ||||
|  | ||||
|    <build> | ||||
| @@ -42,10 +42,15 @@ | ||||
|    </build> | ||||
|  | ||||
|    <dependencies> | ||||
|       <dependency> | ||||
|          <groupId>org.slf4j</groupId> | ||||
|          <artifactId>slf4j-reload4j</artifactId> | ||||
|          <version>${dependency.slf4j.version}</version> | ||||
|          <scope>test</scope> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>org.alfresco.tas</groupId> | ||||
|          <artifactId>restapi</artifactId> | ||||
|          <version>${project.version}</version> | ||||
|          <exclusions> | ||||
|             <exclusion> | ||||
|                <groupId>org.alfresco.tas</groupId> | ||||
| @@ -74,22 +79,6 @@ | ||||
|          <artifactId>alfresco-testng</artifactId> | ||||
|          <version>1.1</version> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>com.epam.reportportal</groupId> | ||||
|          <artifactId>agent-java-testng</artifactId> | ||||
|          <scope>test</scope> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>com.squareup.okhttp3</groupId> | ||||
|          <artifactId>okhttp</artifactId> | ||||
|          <scope>test</scope> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>org.awaitility</groupId> | ||||
|          <artifactId>awaitility</artifactId> | ||||
|          <version>${dependency.awaitility.version}</version> | ||||
|          <scope>test</scope> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>org.apache.commons</groupId> | ||||
|          <artifactId>commons-collections4</artifactId> | ||||
| @@ -98,25 +87,7 @@ | ||||
|       <dependency> | ||||
|          <groupId>com.github.docker-java</groupId> | ||||
|          <artifactId>docker-java</artifactId> | ||||
|          <version>3.4.0</version> | ||||
|          <exclusions> | ||||
|             <exclusion> | ||||
|                <groupId>org.bouncycastle</groupId> | ||||
|                <artifactId>bcprov-jdk15on</artifactId> | ||||
|             </exclusion> | ||||
|             <exclusion> | ||||
|                <groupId>org.bouncycastle</groupId> | ||||
|                <artifactId>bcpkix-jdk15on</artifactId> | ||||
|             </exclusion> | ||||
|          </exclusions> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>org.bouncycastle</groupId> | ||||
|          <artifactId>bcprov-jdk18on</artifactId> | ||||
|       </dependency> | ||||
|       <dependency> | ||||
|          <groupId>org.bouncycastle</groupId> | ||||
|          <artifactId>bcpkix-jdk18on</artifactId> | ||||
|          <version>3.2.13</version> | ||||
|       </dependency> | ||||
|    </dependencies> | ||||
| </project> | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -28,7 +28,7 @@ package org.alfresco.rest.core; | ||||
|  | ||||
| import static lombok.AccessLevel.PROTECTED; | ||||
|  | ||||
| import jakarta.annotation.Resource; | ||||
| import javax.annotation.Resource; | ||||
|  | ||||
| import lombok.Getter; | ||||
| import lombok.Setter; | ||||
| @@ -39,7 +39,6 @@ import org.alfresco.rest.rm.community.requests.gscore.GSCoreAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.ActionsExecutionAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.FilePlanAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.FilesAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.HoldsAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RMSiteAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RMUserAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RecordCategoryAPI; | ||||
| @@ -49,7 +48,6 @@ import org.alfresco.rest.rm.community.requests.gscore.api.TransferAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.TransferContainerAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledContainerAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledRecordFolderAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RetentionScheduleAPI; | ||||
| import org.alfresco.utility.data.DataUserAIS; | ||||
| import org.alfresco.utility.model.RepoTestModel; | ||||
| import org.alfresco.utility.model.UserModel; | ||||
| @@ -245,24 +243,4 @@ public class RestAPIFactory | ||||
|     { | ||||
|         return getGSCoreAPI(null).usingActionsExecutionsAPI(); | ||||
|     } | ||||
|  | ||||
|     public HoldsAPI getHoldsAPI() | ||||
|     { | ||||
|         return getGSCoreAPI(null).usingHoldsAPI(); | ||||
|     } | ||||
|  | ||||
|     public HoldsAPI getHoldsAPI(UserModel userModel) | ||||
|     { | ||||
|         return getGSCoreAPI(userModel).usingHoldsAPI(); | ||||
|     } | ||||
|  | ||||
|     public RetentionScheduleAPI getRetentionScheduleAPI() | ||||
|     { | ||||
|         return getGSCoreAPI(null).usingRetentionScheduleAPI(); | ||||
|     } | ||||
|  | ||||
|     public RetentionScheduleAPI getRetentionScheduleAPI(UserModel userModel) | ||||
|     { | ||||
|         return getGSCoreAPI(userModel).usingRetentionScheduleAPI(); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -26,8 +26,8 @@ | ||||
|  */ | ||||
| package org.alfresco.rest.core.v0; | ||||
|  | ||||
| import jakarta.json.Json; | ||||
| import jakarta.json.JsonReader; | ||||
| import javax.json.Json; | ||||
| import javax.json.JsonReader; | ||||
| import java.io.IOException; | ||||
| import java.io.InputStream; | ||||
| import java.time.format.DateTimeFormatter; | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -124,7 +124,7 @@ public abstract class BaseAPI | ||||
|  | ||||
|     /** | ||||
|      * Helper method to extract the property value for the given nodeRef and property name | ||||
|      * | ||||
|      *  | ||||
|      * @param result | ||||
|      * @param nodeRef | ||||
|      * @param propertyName | ||||
| @@ -152,7 +152,7 @@ public abstract class BaseAPI | ||||
|  | ||||
|         return propertyValue; | ||||
|     } | ||||
|  | ||||
|      | ||||
|     /** | ||||
|      * Helper method to extract property values from request result and put them in map as a list that corresponds to a unique property value. | ||||
|      * | ||||
| @@ -512,12 +512,7 @@ public abstract class BaseAPI | ||||
|         try | ||||
|         { | ||||
|             HttpResponse httpResponse = doRequestJson(HttpPost.class, requestUrl, adminUser, adminPassword, requestParams); | ||||
|             if (httpResponse.getStatusLine().getStatusCode() != expectedStatusCode) | ||||
|             { | ||||
|                 // It's only possible to stream the response body once, so ensure we only do this if the test has failed. | ||||
|                 JSONObject responseJson = responseBodyToJson(httpResponse); | ||||
|                 assertEquals("POST request to " + requestUrl + " was not successful. Response: " + responseJson, expectedStatusCode, httpResponse.getStatusLine().getStatusCode()); | ||||
|             } | ||||
|             assertEquals("POST request to " + requestUrl + " was not successful.", expectedStatusCode, httpResponse.getStatusLine().getStatusCode()); | ||||
|             return httpResponse; | ||||
|         } | ||||
|         catch (InstantiationException | IllegalAccessException error) | ||||
| @@ -526,32 +521,6 @@ public abstract class BaseAPI | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Try to convert the response body to a JSON object. | ||||
|      * | ||||
|      * @param response The response. | ||||
|      * @return The JSON object or null if it was not possible to convert the response. | ||||
|      */ | ||||
|     private JSONObject responseBodyToJson(HttpResponse response) | ||||
|     { | ||||
|         try | ||||
|         { | ||||
|             try | ||||
|             { | ||||
|                 return new JSONObject(EntityUtils.toString(response.getEntity())); | ||||
|             } | ||||
|             catch (JSONException error) | ||||
|             { | ||||
|                 LOGGER.error("Converting message body to JSON failed. Body: {}", response.getEntity().getContent(), error); | ||||
|             } | ||||
|         } | ||||
|         catch (ParseException | IOException error) | ||||
|         { | ||||
|             LOGGER.error("Parsing message body failed.", error); | ||||
|         } | ||||
|         return null; | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|      * Helper method for handling generic HTTP requests | ||||
|      * @param requestType request type (a subclass of {@link HttpRequestBase}) | ||||
| @@ -589,7 +558,18 @@ public abstract class BaseAPI | ||||
|             HttpResponse response = client.execute(adminUser, adminPassword, request); | ||||
|             LOGGER.info("Response: {}", response.getStatusLine()); | ||||
|  | ||||
|             responseBody = responseBodyToJson(response); | ||||
|             try | ||||
|             { | ||||
|                 responseBody = new JSONObject(EntityUtils.toString(response.getEntity())); | ||||
|             } | ||||
|             catch (JSONException error) | ||||
|             { | ||||
|                 LOGGER.error("Converting message body to JSON failed. Body: {}", responseBody, error); | ||||
|             } | ||||
|             catch (ParseException | IOException error) | ||||
|             { | ||||
|                 LOGGER.error("Parsing message body failed.", error); | ||||
|             } | ||||
|  | ||||
|             switch (response.getStatusLine().getStatusCode()) | ||||
|             { | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -61,6 +61,7 @@ public class FilePlanComponentFields | ||||
|     public static final String PROPERTIES_RECORD_SEARCH_DISPOSITION_EVENTS = "rma:recordSearchDispositionEvents"; | ||||
|     public static final String PROPERTIES_DECLASSIFICATION_REVIEW_COMPLETED_BY = "rma:declassificationReviewCompletedBy"; | ||||
|     public static final String PROPERTIES_DECLASSIFICATION_REVIEW_COMPLETED_AT = "rma:declassificationReviewCompletedAt"; | ||||
|      | ||||
|  | ||||
|     /** File plan properties */ | ||||
|     public static final String PROPERTIES_COMPONENT_ID = "st:componentId"; | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -1,41 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
|  | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class BulkBodyCancel | ||||
| { | ||||
|     private String reason; | ||||
| } | ||||
| @@ -1,83 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import java.util.Objects; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class Hold extends TestModel | ||||
| { | ||||
|     @JsonProperty(required = true) | ||||
|     private String id; | ||||
|  | ||||
|     @JsonProperty(required = true) | ||||
|     private String name; | ||||
|  | ||||
|     @JsonProperty(required = true) | ||||
|     private String description; | ||||
|  | ||||
|     @JsonProperty(required = true) | ||||
|     private String reason; | ||||
|  | ||||
|     @Override | ||||
|     public boolean equals(Object o) | ||||
|     { | ||||
|         if (this == o) | ||||
|         { | ||||
|             return true; | ||||
|         } | ||||
|         if (o == null || getClass() != o.getClass()) | ||||
|         { | ||||
|             return false; | ||||
|         } | ||||
|         Hold hold = (Hold) o; | ||||
|         return Objects.equals(id, hold.id) && Objects.equals(name, hold.name) | ||||
|             && Objects.equals(description, hold.description) && Objects.equals(reason, hold.reason); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     public int hashCode() | ||||
|     { | ||||
|         return Objects.hash(id, name, description, reason); | ||||
|     } | ||||
| } | ||||
| @@ -1,59 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.rest.search.RestRequestQueryModel; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold bulk request | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldBulkOperation extends TestModel | ||||
| { | ||||
|     public enum HoldBulkOperationType | ||||
|     { | ||||
|         ADD | ||||
|     } | ||||
|  | ||||
|     @JsonProperty(required = true) | ||||
|     private RestRequestQueryModel query; | ||||
|     @JsonProperty(required = true) | ||||
|     private HoldBulkOperationType op; | ||||
|  | ||||
| } | ||||
| @@ -1,50 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold bulk request entry | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldBulkOperationEntry | ||||
| { | ||||
|     private String bulkStatusId; | ||||
|  | ||||
|     private long totalItems; | ||||
| } | ||||
| @@ -1,67 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold bulk request | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldBulkStatus extends TestModel | ||||
| { | ||||
|     private String bulkStatusId; | ||||
|  | ||||
|     private String startTime; | ||||
|  | ||||
|     private String endTime; | ||||
|  | ||||
|     private long processedItems; | ||||
|  | ||||
|     private long errorsCount; | ||||
|  | ||||
|     private long totalItems; | ||||
|  | ||||
|     private String lastError; | ||||
|  | ||||
|     private String status; | ||||
|  | ||||
|     private boolean isCancelled; | ||||
|  | ||||
|     private String cancellationReason; | ||||
|  | ||||
|     private HoldBulkOperation holdBulkOperation; | ||||
| } | ||||
| @@ -1,38 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| /** | ||||
|  * Handle collection of {@link HoldBulkStatusEntry} | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| public class HoldBulkStatusCollection extends RestModels<HoldBulkStatusEntry, HoldBulkStatusCollection> | ||||
| { | ||||
| } | ||||
| @@ -1,46 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| @Builder | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldBulkStatusEntry extends RestModels<HoldBulkStatus, HoldBulkStatusEntry> | ||||
| { | ||||
|     private HoldBulkStatus entry; | ||||
| } | ||||
| @@ -1,52 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold child | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldChild extends TestModel | ||||
| { | ||||
|     @JsonProperty(required = true) | ||||
|     private String id; | ||||
| } | ||||
| @@ -1,38 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| /** | ||||
|  * Handle collection of {@link HoldChildEntry} | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| public class HoldChildCollection extends RestModels<HoldChildEntry, HoldChildCollection> | ||||
| { | ||||
| } | ||||
| @@ -1,52 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold child entry | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldChildEntry extends RestModels<Hold, HoldChildEntry> | ||||
| { | ||||
|     @JsonProperty | ||||
|     private HoldChild entry; | ||||
| } | ||||
| @@ -1,38 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| /** | ||||
|  * Handle collection of {@link HoldEntry} | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| public class HoldCollection extends RestModels<HoldEntry, HoldCollection> | ||||
| { | ||||
| } | ||||
| @@ -1,52 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold deletion reason | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldDeletionReason extends TestModel | ||||
| { | ||||
|     @JsonProperty | ||||
|     private String reason; | ||||
| } | ||||
| @@ -1,52 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold child entry | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldDeletionReasonEntry extends RestModels<HoldDeletionReason, HoldDeletionReasonEntry> | ||||
| { | ||||
|     @JsonProperty | ||||
|     private HoldDeletionReason entry; | ||||
| } | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -26,27 +26,31 @@ | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.EqualsAndHashCode; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold entry | ||||
|  * | ||||
|  * @author Damian Ujma | ||||
|  * @author Rodica Sutu | ||||
|  * @since 3.2 | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| public class HoldEntry extends RestModels<Hold, HoldEntry> | ||||
| @JsonIgnoreProperties (ignoreUnknown = true) | ||||
| public class HoldEntry extends TestModel | ||||
| { | ||||
|     @JsonProperty | ||||
|     private Hold entry; | ||||
|     @JsonProperty (required = true) | ||||
|     private String name; | ||||
|  | ||||
|     @JsonProperty (required = true) | ||||
|     private String nodeRef; | ||||
| } | ||||
|   | ||||
| @@ -1,56 +0,0 @@ | ||||
| /*- | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.hold.v0; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
|  | ||||
| import lombok.AllArgsConstructor; | ||||
| import lombok.Builder; | ||||
| import lombok.Data; | ||||
| import lombok.NoArgsConstructor; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
|  | ||||
| /** | ||||
|  * POJO for hold entry | ||||
|  * | ||||
|  * @author Rodica Sutu | ||||
|  * @since 3.2 | ||||
|  */ | ||||
| @Builder | ||||
| @Data | ||||
| @NoArgsConstructor | ||||
| @AllArgsConstructor | ||||
| @JsonIgnoreProperties (ignoreUnknown = true) | ||||
| public class HoldEntry extends TestModel | ||||
| { | ||||
|     @JsonProperty (required = true) | ||||
|     private String name; | ||||
|  | ||||
|     @JsonProperty (required = true) | ||||
|     private String nodeRef; | ||||
| } | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -125,7 +125,7 @@ public class RecordProperties extends TestModel | ||||
|  | ||||
|     @JsonProperty (required = true, value = PROPERTIES_ORIGINAL_NAME) | ||||
|     private String originalName; | ||||
|  | ||||
|      | ||||
|     @JsonProperty (PROPERTIES_CLASSIFICATION) | ||||
|     private List<String> classification; | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -112,10 +112,10 @@ public class RecordCategoryChildProperties extends TestModel | ||||
|  | ||||
|     @JsonProperty (PROPERTIES_RECORD_SEARCH_HAS_DISPOSITION_SCHEDULE) | ||||
|     private Boolean recordSearchHasDispositionSchedule; | ||||
|  | ||||
|      | ||||
|     @JsonProperty (PROPERTIES_RECORD_SEARCH_DISPOSITION_PERIOD_EXPRESSION) | ||||
|     private String recordSearchDispositionPeriodExpression; | ||||
|  | ||||
|      | ||||
|     @JsonProperty (PROPERTIES_RECORD_SEARCH_DISPOSITION_AUTHORITY) | ||||
|     private String recordSearchDispositionAuthority; | ||||
|  | ||||
| @@ -136,7 +136,7 @@ public class RecordCategoryChildProperties extends TestModel | ||||
|  | ||||
|     @JsonProperty (PROPERTIES_RECORD_SEARCH_DISPOSITION_EVENTS) | ||||
|     private List<String> recordSearchDispositionEvents; | ||||
|  | ||||
|      | ||||
|     @JsonProperty (PROPERTIES_OWNER) | ||||
|     private Owner owner; | ||||
|  | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -112,13 +112,13 @@ public class RecordFolderProperties extends TestModel | ||||
|  | ||||
|     @JsonProperty (PROPERTIES_CLASSIFICATION) | ||||
|     private List<String> classification; | ||||
|  | ||||
|      | ||||
|     @JsonProperty (PROPERTIES_DESCRIPTION) | ||||
|     private String description; | ||||
|  | ||||
|     @JsonProperty (PROPERTIES_OWNER) | ||||
|     private Owner owner; | ||||
|  | ||||
|   | ||||
|     @JsonProperty (PROPERTIES_RECORD_SEARCH_VITAL_RECORD_REVIEW_PERIOD) | ||||
|     private String recordSearchVitalRecordReviewPeriod; | ||||
|  | ||||
|   | ||||
| @@ -1,58 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import lombok.EqualsAndHashCode; | ||||
| import org.alfresco.utility.model.TestModel; | ||||
| import lombok.Data; | ||||
|  | ||||
| import java.util.List; | ||||
|  | ||||
| /** | ||||
|  * retention schedule | ||||
|  */ | ||||
| @EqualsAndHashCode(callSuper = true) | ||||
| @Data | ||||
| public class RetentionSchedule extends TestModel | ||||
| { | ||||
|     private String id ; | ||||
|     private String parentId; | ||||
|     private String authority; | ||||
|     private String instructions; | ||||
|     private boolean isRecordLevel; | ||||
|     private boolean isUnpublishedUpdates; | ||||
|     private List<RetentionScheduleActionDefinition> actions; | ||||
|  | ||||
|     public boolean getIsRecordLevel() | ||||
|     { | ||||
|         return isRecordLevel; | ||||
|     } | ||||
|  | ||||
|     public void setIsRecordLevel(boolean recordLevel) { | ||||
|         isRecordLevel = recordLevel; | ||||
|     } | ||||
| } | ||||
| @@ -1,50 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import java.util.List; | ||||
| import lombok.Data; | ||||
|  | ||||
| /** | ||||
|  * retention schedule action definition | ||||
|  */ | ||||
| @Data | ||||
| public class RetentionScheduleActionDefinition | ||||
| { | ||||
|     private String id; | ||||
|     private String name; | ||||
|     private int periodAmount; | ||||
|     private String period; | ||||
|     private String periodProperty; | ||||
|     private boolean combineRetentionStepConditions; | ||||
|     private List<String> events; | ||||
|     private boolean eligibleOnFirstCompleteEvent; | ||||
|     private String description; | ||||
|     private boolean retainRecordMetadataAfterDestruction; | ||||
|     private String location; | ||||
|     private int index; | ||||
| } | ||||
| @@ -1,32 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import org.alfresco.rest.core.RestModels; | ||||
| public class RetentionScheduleCollection extends RestModels<RetentionScheduleEntry, RetentionScheduleCollection> | ||||
| { | ||||
| } | ||||
| @@ -1,37 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
| import lombok.Data; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
| @Data | ||||
| public class RetentionScheduleEntry extends RestModels<RetentionSchedule, RetentionScheduleEntry> | ||||
| { | ||||
|     @JsonProperty | ||||
|     private RetentionSchedule entry; | ||||
| } | ||||
| @@ -1,33 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| public class RetentionScheduleStepCollection extends RestModels<RetentionScheduleStepEntry, RetentionScheduleStepCollection> | ||||
| { | ||||
| } | ||||
| @@ -1,38 +0,0 @@ | ||||
| /* | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|  * If the software was purchased under a paid Alfresco license, the terms of | ||||
|  * the paid license agreement will prevail.  Otherwise, the software is | ||||
|  * provided under the following open source license terms: | ||||
|  * - | ||||
|  * Alfresco is free software: you can redistribute it and/or modify | ||||
|  * it under the terms of the GNU Lesser General Public License as published by | ||||
|  * the Free Software Foundation, either version 3 of the License, or | ||||
|  * (at your option) any later version. | ||||
|  * - | ||||
|  * Alfresco is distributed in the hope that it will be useful, | ||||
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | ||||
|  * GNU Lesser General Public License for more details. | ||||
|  * - | ||||
|  * You should have received a copy of the GNU Lesser General Public License | ||||
|  * along with Alfresco. If not, see <http://www.gnu.org/licenses/>. | ||||
|  * #L% | ||||
|  */ | ||||
| package org.alfresco.rest.rm.community.model.retentionschedule; | ||||
|  | ||||
| import com.fasterxml.jackson.annotation.JsonProperty; | ||||
| import lombok.Data; | ||||
| import org.alfresco.rest.core.RestModels; | ||||
|  | ||||
| @Data | ||||
| public class RetentionScheduleStepEntry extends RestModels<RetentionScheduleActionDefinition, RetentionScheduleStepEntry> | ||||
| { | ||||
|     @JsonProperty | ||||
|     private RetentionScheduleActionDefinition entry; | ||||
| } | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -28,7 +28,7 @@ package org.alfresco.rest.rm.community.model.user; | ||||
|  | ||||
| /** | ||||
|  * Constants for RM user capabilities | ||||
|  * | ||||
|  *  | ||||
|  * @author Kristijan Conkas | ||||
|  * @since 2.6 | ||||
|  */ | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
| @@ -37,7 +37,6 @@ import org.alfresco.rest.rm.community.requests.gscore.api.ActionsExecutionAPI; | ||||
| import org.alfresco.rest.rm.community.requests.RMModelRequest; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.FilePlanAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.FilesAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.HoldsAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RMSiteAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RMUserAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RecordCategoryAPI; | ||||
| @@ -47,7 +46,6 @@ import org.alfresco.rest.rm.community.requests.gscore.api.TransferAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.TransferContainerAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledContainerAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.UnfiledRecordFolderAPI; | ||||
| import org.alfresco.rest.rm.community.requests.gscore.api.RetentionScheduleAPI; | ||||
|  | ||||
| /** | ||||
|  * Defines the entire GS Core API | ||||
| @@ -192,11 +190,4 @@ public class GSCoreAPI extends RMModelRequest | ||||
|     { | ||||
|         return new ActionsExecutionAPI(getRmRestWrapper()); | ||||
|     } | ||||
|  | ||||
|     public HoldsAPI usingHoldsAPI() { return new HoldsAPI(getRmRestWrapper()); } | ||||
|  | ||||
|     public RetentionScheduleAPI usingRetentionScheduleAPI() | ||||
|     { | ||||
|         return new RetentionScheduleAPI(getRmRestWrapper()); | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -2,7 +2,7 @@ | ||||
|  * #%L | ||||
|  * Alfresco Records Management Module | ||||
|  * %% | ||||
|  * Copyright (C) 2005 - 2025 Alfresco Software Limited | ||||
|  * Copyright (C) 2005 - 2023 Alfresco Software Limited | ||||
|  * %% | ||||
|  * This file is part of the Alfresco software. | ||||
|  * - | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user