n.getProperty("cm:content").getString(); //Où n est ma node.
Pour avoir le nom de la propriété de la taille d'une node j'ai fais des System.out de toutes les propriétés d'un node standard mais je ne vois nulle par une qui pourrai contenir la taille.// Récupération du service Content d'Alfresco
ContentServiceSoapBindingStub contentService = WebServiceFactory.getContentService();
Predicate predicate = new Predicate();
predicate.setNodes(new Reference[] {reference de ton noeud});
// Lecture du contenu dans le repository
Content[] readResult = contentService.read(predicate,Constants.PROP_CONTENT);
Content contenu =readResult[0];
System.out.println("Taille: "+contenu.getLength()+"octets");
J'espère que ca peut t'aiderContent from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.