Javadoc is available from the module site [1]. I thought in the past we linked to the sites from dev.magnolia-cms.com, but I can't find it anymore (Greg???). Anyway, the naming pattern for the url is quite simple so you should be able to locate site for any module you need. You can also download javadoc for each module directly from nexus or via maven.
HTH, Jan [1] http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/modules/magnolia-module-dms/1.6.3/magnolia-module-dms/ On Aug 2, 2012, at 12:18 PM, Simon Goodchild wrote: > Thanks Jan, that was exactly what I needed! It seems the issue I had was that > the JavaDoc for the DMS module is not accessible (well I couldn't find it if > it was), and the only 'Document' class in the main CMS JavaDoc was not > related to DMS at all. Is there somewhere I can find JavaDoc for modules > already, or is it possible for someone to set this up, as that would make > things much easier? > > Many thanks, > > Simon > > On 2 August 2012 08:13, Jan Haderka <[email protected]> wrote: > import info.magnolia.module.dms.beans.Document > > content = MgnlContext.getHierarchyManager("dms").getContent("/your/path"); > Document doc = new Document(content); > doc.getFileSize() > doc.getMimeType() or doc.getFileExtension() > > HTH, > Jan ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
