Class Importer


  • public class Importer
    extends Object
    AbstractImporter file/directory combinations 1. plain files + foo - test.gif 2. plain files + special folder + foo - .content.xml + bar - test.gif 3. special file + foo - test.gif - test.gif.dir - .content.xml 4. special file + sub files + foo - test.gif - test.gif.dir - .content.xml + _jcr_content - thumbnail.gif 4. special file + sub special files + foo - test.gif - test.gif.dir - .content.xml + _jcr_content - thumbnail.gif + thumbnail.gif.dir - .content.xml 5. file/folder structure + foo + en - .content.xml + _cq_content - thumbnail.gif + company - .content.xml
    • Constructor Detail

      • Importer

        public Importer()
    • Method Detail

      • getSubPackages

        public List<String> getSubPackages()
      • setDebugFailAfterSave

        public void setDebugFailAfterSave​(int failAfterEach)
        Debug settings to allows to produce failures after each failAfterEach save.
        Parameters:
        failAfterEach - cardinal indicating when to fail
      • hasErrors

        public boolean hasErrors()
      • checkinNodes

        public void checkinNodes​(Session session)
      • applyMemberships

        public void applyMemberships​(Session session)