Implement Alfresco REST Api Java Wrapper

cancel
Showing results for 
Search instead for 
Did you mean: 
franciscoduarte
Member II

Implement Alfresco REST Api Java Wrapper

Jump to solution

Hi,

I'm new to Alfresco.

I'm trying to implement the Alfresco REST Api Java Wrapper following this documentation : https://docs.alfresco.com/content-services/latest/develop/oop-sdk/#restapijavawrapperproject

I've loaded the library alfresco-java-rest-api-spring-boot-starter as mentioned.

I would like to use the NodesApi provided. In this documentation, it seems very simple. You just have to initialize the NodesApi with the @Autowired Spring annotation.

The thing is that the NodesApi included is only an interface and the package do not provide a NodesApiImpl for example.

Am I missing something?

Francisco Duarte

Francisco Duarte
1 Solution

Accepted Solutions
cristinamr
Advanced

Re: Implement Alfresco REST Api Java Wrapper

Jump to solution

Hi!

You are using ACS 4.2 but you are reading documentation Alfresco 7.0+ (related to SDK 5).

You should check the SDK documentation that belong to ACS 4.2 (maybe SDK 3.0?)

Cheers!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

View solution in original post

2 Replies
angelborroy
Alfresco Employee

Re: Implement Alfresco REST Api Java Wrapper

Jump to solution

I was using that API in the past and it worked as expected:

https://github.com/aborroy/alfresco-rest-client

I'm using the NodesAPI Spring bean at this point:

https://github.com/aborroy/alfresco-rest-client/blob/main/src/main/java/org/alfresco/rest/client/act...

Hyland Developer Evangelist
cristinamr
Advanced

Re: Implement Alfresco REST Api Java Wrapper

Jump to solution

Hi!

You are using ACS 4.2 but you are reading documentation Alfresco 7.0+ (related to SDK 5).

You should check the SDK documentation that belong to ACS 4.2 (maybe SDK 3.0?)

Cheers!

--
VenziaIT: helping companies since 2005! Our ECM products: AQuA & Seidoc

View solution in original post