To summarize, I need to understand which methods of my content decorator should I override. This is what I think:
1) isMultipleWrapEnabled --> returns true, otherwise, decorated nodes can not be more decorated (e.g.: QueryUtil) 2) wrapSession --> not sure if I have to explicit re-wrap this session. I guess it implies the Node.getSession() method, right? In that case, overridden is mandatory. 3) wrapWorkspace --> afaik, this is the only method used by QueryUtil (session.getWorkspace().getQueryManager(). Overridden required. 4) wrapNode --> must be overridden, because of node.getChildren() methods.. 5) wrapNodeIterator --> I guess this need to be overridden too. 6) evaluateNode --> I don't know who exactly calls this method and why. (!!) 7) wrapProperties --> No need. If the node is visible, all its properties are visible too. 8) wrapPropertyIterator --> No need, same reason of 7 9) evaluateProperty --> returns true (or super). Same reason of 7. Am I right about my assumptions? -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=0f30a282-75c7-42ed-a73c-9379248d173b ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
