chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neza Guillaine <gne...@gmail.com>
Subject Re: Question about Alfresco Aspects
Date Mon, 18 Jul 2016 15:47:46 GMT
Dear OpenCMIS devs,

Is there any help you can provide me with? I have been googling around but
with no luck.
As previously stated, i wish to paginate my query result to give me 4100
results, I tried with pagination and operational context but it keeps
giving me only 2000 results.

and that happen only when i add the context stream of documents in my while
loop.
Plz any help will be much appreciated

On Tue, Jul 12, 2016 at 5:25 PM, Neza Guillaine <gneza1@gmail.com> wrote:

> Dear Florian,
>
> I hope this email finds you well.
> I am writing to request your help in the issue I have.
>
> I can successfully migrate documents from my sharepoint site to Alfresco
> using opencmis. But I want to apply aspects when uploading them in
> Alfresco.
>
> I read and was trying to use OpenCMIS extention, I had set the alfresco
> object  Factory in my repo like this:
>
> parameter.put(SessionParameter.OBJECT_FACTORY_CLASS,
> "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");
>
> And I want to apply a custom aspect to my newly created documents. but
> before reaching there when I try to cast my docs to :
>  AlfrescoDocument alfDoc=(AlfrescoDocument) documentsToCreate;
>
> so that I call the aspects before creating the documents. it keeps
> throwing me an classCastException that my documents can not be casted into
> an alfresco documents.
>
> Is there any thing I am missing? I really want to apply one custom aspect
> type already created in our repo to all these new documents.
>
> Any advise all help will be highly appreciated as I am reaching at the
> final stage of my project.
>
> Regards,
> Neza
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message