Hi Magnolians

Does anyone know what is the difference between these 2 calls?

//1
HierarchyManager hm = 
ContentRepository.getHierarchyManager(ContentRepository.WEBSITE);

//2
HierarchyManager hm = 
MgnlContext.getHierarchyManager(ContentRepository.WEBSITE);



The only thing I can assume (looking at the code comments) is that in #1 the 
HierarchyManager has full access to website repository while in #2 case it has 
permissions based on the user that is logged in....Is that correct?
 
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------

Reply via email to