jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From viz06 <vijaykumarsharma_1...@yahoo.com>
Subject cnd definition: Versioning with reference
Date Wed, 28 May 2008 19:28:43 GMT

Can somebody help me with cnd definition for the following case

[nm:Doc] > mix:referenceable
- nm:name (string) mandatory
- nm:desc (string)

[nm:Content] > mix:versionable
- nm:data (binary) mandatory
- nm:mimeType (string) mandatory

for my case every nm:Doc has a nm:Content, which I can do as follows

[nm:Doc] > mix:referenceable
- nm:name (string) mandatory
- nm:desc (string)
+ (nm:Content)

but I also need that everytime I checkin nm:Content it should also capture
nm:Doc information. 

If I make nm:Doc versionable then update of any nm:Doc property will create
a new version which I won't need.

I was thinking of referencing nm:Doc from nm:Content but don't know how to
do that and whether that is a solution to my problem.


View this message in context: http://www.nabble.com/cnd-definition%3A-Versioning-with-reference-tp17520288p17520288.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message