Moving to WCM v6 API
I'm sure this document will be of interest for you guys which are trying to upgrade your WCM custom development from v5 to v6:
Moving to WCM v6 API (by Richard Gorzela)
Please note that this article is (c) IBM. As you will see the quality of this doc is really good.
If I try to summarize the changes in the API, I would say that:
- The API has not really changed and there is only a few enhancements...
- There are 2 main modifications:
1/ First the way you manage the relation between Content and SiteArea object, and especially the way you Save Content.
2/ The second is the that the "Live" access method is now deprecated (Calls to 'Live' access methods have the same effect as the 'Read' access method calls, so any 'live' access related methods are now deprecated).
I think that the 'Live' right has been suppressed in v6 because the WCM repository is now based on the same JCR repository as the Portal, and both security system (WPS and WC) are now fully aligned. So the old WCM "Live" access does not exist anymore: Read is default, and there are of course the 'Write' and 'Delete' ACL (which can be mapped respectively to 'User', 'Editor', and 'Administrator' from the Portal point of view).
___________________
© Copyright International Business Machines Corporation 2007*. All rights reserved.
Information in this article is not promised or guaranteed to be correct, current, or complete, and this article may contain technical inaccuracies or typographical errors. IBM assumes no responsibility (and expressly disclaims responsibility) for updating this article to keep information current or to ensure the accuracy or completeness of any posted information. Accordingly, you should confirm the accuracy and completeness of all posted information before making any decision related to any services, products, or other matters described herein.
Moving to WCM v6 API (by Richard Gorzela)
Please note that this article is (c) IBM. As you will see the quality of this doc is really good.
If I try to summarize the changes in the API, I would say that:
- The API has not really changed and there is only a few enhancements...
- There are 2 main modifications:
1/ First the way you manage the relation between Content and SiteArea object, and especially the way you Save Content.
2/ The second is the that the "Live" access method is now deprecated (Calls to 'Live' access methods have the same effect as the 'Read' access method calls, so any 'live' access related methods are now deprecated).
I think that the 'Live' right has been suppressed in v6 because the WCM repository is now based on the same JCR repository as the Portal, and both security system (WPS and WC) are now fully aligned. So the old WCM "Live" access does not exist anymore: Read is default, and there are of course the 'Write' and 'Delete' ACL (which can be mapped respectively to 'User', 'Editor', and 'Administrator' from the Portal point of view).
___________________
© Copyright International Business Machines Corporation 2007*. All rights reserved.
Information in this article is not promised or guaranteed to be correct, current, or complete, and this article may contain technical inaccuracies or typographical errors. IBM assumes no responsibility (and expressly disclaims responsibility) for updating this article to keep information current or to ensure the accuracy or completeness of any posted information. Accordingly, you should confirm the accuracy and completeness of all posted information before making any decision related to any services, products, or other matters described herein.
2 Comments:
Please remove this article from the blog. Posting this material publically requires permission from IBM. Thank you.
By Unknown, at July 11, 2008
Richard,
I have added the IBM copyright as requested. Thanks for the solution you find to keep this article available on this blog. I'm sure that IBM customers will find this ressource really useful to help them for migrating to v6.
By Enguerrand SPINDLER, at July 14, 2008
Post a Comment
<< Home