You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by "Maxim V. Busel" <ma...@offshorecreations.com.ua> on 2004/06/10 07:36:15 UTC

Associate property to file

Hi

I can associate property to every file revision individually.

Example:
....
....
NodeProperty property = new NodeProperty(FileProperties.DESCRIPTION,
descriptor, true);
revisionDescriptor.setProperty(property);

NodeRevisionContent revisionContent = new NodeRevisionContent();
revisionContent.setContent(byteArray);

this.token.getContentHelper().create(this.slideToken, filePath,
revisionDescriptor, revisionContent);
....
....


How can I associate property to file only ?
How can I change the file property without version changing ?

I want associate 'description' property to file.