Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
061ccc4
Update docker-maven-plugin version to allow for the building of image…
jottley Oct 30, 2025
3a37310
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 2, 2025
f574e5d
pre-commit changes
jottley Nov 2, 2025
09f39df
More pre-commit changes
jottley Nov 2, 2025
f84d6e4
Pre-commit Test
jottley Nov 2, 2025
2e95e97
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 2, 2025
d798500
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 2, 2025
0b021f9
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 2, 2025
8bc7937
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 2, 2025
d9ff7ef
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
384ec9c
Update repository/src/main/java/org/alfresco/repo/domain/tenant/Abstr…
jottley Nov 3, 2025
115c384
Update repository/src/main/java/org/alfresco/repo/cache/lookup/Entity…
jottley Nov 3, 2025
6970ef0
Update repository/src/main/java/org/alfresco/repo/domain/node/ibatis/…
jottley Nov 3, 2025
93d42ad
Update remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.…
jottley Nov 3, 2025
36e11c3
Update repository/src/main/java/org/alfresco/repo/version/NodeService…
jottley Nov 3, 2025
ea29639
Update repository/src/main/java/org/alfresco/repo/version/NodeService…
jottley Nov 3, 2025
fe3b265
Update remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.…
jottley Nov 3, 2025
e9a01e2
Update remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.…
jottley Nov 3, 2025
49c610c
Update repository/src/main/java/org/alfresco/repo/version/NodeService…
jottley Nov 3, 2025
58e1c0c
Update remote-api/src/main/java/org/alfresco/rest/api/impl/NodesImpl.…
jottley Nov 3, 2025
b7ac5c2
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
6d95811
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
8ad373f
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
df5648c
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
a4184ca
Update repository/src/test/java/org/alfresco/repo/cache/lookup/Entity…
jottley Nov 3, 2025
557ed27
Update repository/src/main/java/org/alfresco/repo/domain/permissions/…
jottley Nov 3, 2025
b91aeff
Update repository/src/test/java/org/alfresco/repo/cache/lookup/Entity…
jottley Nov 3, 2025
b5cf107
Update repository/src/main/java/org/alfresco/repo/domain/contentdata/…
jottley Nov 3, 2025
be1dfe3
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
d845017
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
aa41cfe
Update repository/src/main/java/org/alfresco/repo/domain/encoding/Abs…
jottley Nov 3, 2025
e55dd79
Update repository/src/main/java/org/alfresco/repo/domain/node/Abstrac…
jottley Nov 3, 2025
4bf1156
Update repository/src/main/java/org/alfresco/repo/domain/node/Abstrac…
jottley Nov 3, 2025
4e9c42c
Update repository/src/main/java/org/alfresco/repo/domain/node/Abstrac…
jottley Nov 3, 2025
bf97fba
Update repository/src/main/java/org/alfresco/repo/domain/node/Abstrac…
jottley Nov 3, 2025
1ce760f
Update repository/src/main/java/org/alfresco/repo/domain/node/Abstrac…
jottley Nov 3, 2025
2b43fe5
[MNT-25404] Query Performance - High performance cost in retrieving n…
jottley Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.38.0</version>
<version>0.45.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
Expand Down
47 changes: 36 additions & 11 deletions remote-api/src/main/java/org/alfresco/rest/api/DeletedNodes.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*/
package org.alfresco.rest.api;

import java.util.List;
import java.util.Map;

import org.alfresco.rest.api.model.Node;
Expand All @@ -45,21 +46,37 @@ public interface DeletedNodes
{
/**
* Lists deleted nodes using a ArchivedNodesCannedQuery
*
* @param parameters
* @return Collection of deleted Nodes
*/
CollectionWithPagingInfo<Node> listDeleted(Parameters parameters);

/**
* Gets a single deleted node by id.
*
* @param originalId
* @param parameters
* @param fullnode Should we return the full representation of the minimal one?
* @param fullnode
* Should we return the full representation of the minimal one?
* @param mapUserInfo
* @return a deleted node
*/
Node getDeletedNode(String originalId, Parameters parameters, boolean fullnode, Map<String, UserInfo> mapUserInfo);

/**
* Gets a list of deleted node by id.
*
* @param list
* of originalIds
* @param parameters
* @param fullnode
* Should we return the full representation of the minimal one?
* @param mapUserInfo
* @return a deleted node
*/
List<Node> getDeletedNodes(List<String> originalIds, Parameters parameters, boolean fullnode, Map<String, UserInfo> mapUserInfo);

/**
* Restores a deleted node and returns it.
*
Expand All @@ -72,6 +89,7 @@ public interface DeletedNodes

/**
* Permanently delete the node.
*
* @param archivedId
*/
void purgeArchivedNode(String archivedId);
Expand Down Expand Up @@ -102,13 +120,16 @@ public interface DeletedNodes
CollectionWithPagingInfo<Rendition> getRenditions(String archivedId, Parameters parameters);

/**
* Gets a presigned URL to directly access content.
* Gets a presigned URL to directly access content.
*
* @param archivedId The node id for which to obtain the direct access {@code URL}
* @param renditionId The rendition id for which to obtain the direct access {@code URL}
* @param attachment {@code true} if an attachment {@code URL} is requested, {@code false} for an embedded {@code URL}, {@code true} by default.
* @return A direct access {@code URL} object for the content.
*/
* @param archivedId
* The node id for which to obtain the direct access {@code URL}
* @param renditionId
* The rendition id for which to obtain the direct access {@code URL}
* @param attachment
* {@code true} if an attachment {@code URL} is requested, {@code false} for an embedded {@code URL}, {@code true} by default.
* @return A direct access {@code URL} object for the content.
*/
default DirectAccessUrl requestContentDirectUrl(String archivedId, String renditionId, boolean attachment)
{
return requestContentDirectUrl(archivedId, renditionId, attachment, null);
Expand All @@ -117,10 +138,14 @@ default DirectAccessUrl requestContentDirectUrl(String archivedId, String rendit
/**
* Gets a presigned URL to directly access content.
*
* @param archivedId The node id for which to obtain the direct access {@code URL}
* @param renditionId The rendition id for which to obtain the direct access {@code URL}
* @param attachment {@code true} if an attachment {@code URL} is requested, {@code false} for an embedded {@code URL}, {@code true} by default.
* @param validFor The time at which the direct access {@code URL} will expire.
* @param archivedId
* The node id for which to obtain the direct access {@code URL}
* @param renditionId
* The rendition id for which to obtain the direct access {@code URL}
* @param attachment
* {@code true} if an attachment {@code URL} is requested, {@code false} for an embedded {@code URL}, {@code true} by default.
* @param validFor
* The time at which the direct access {@code URL} will expire.
* @return A direct access {@code URL} object for the content.
*/
DirectAccessUrl requestContentDirectUrl(String archivedId, String renditionId, boolean attachment, Long validFor);
Expand Down
Loading