i'd like to know that, too

Magnolia - User mailing list wrote:
> 
> 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
> ----------------------------------------------------------------
> 
> 

-- 
View this message in context: 
http://www.nabble.com/HierarchyManager-differences-tf3671326.html#a10376430
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to