Class DefaultDocumentModelFactory

  • All Implemented Interfaces:
    Direct Known Subclasses:

    public class DefaultDocumentModelFactory
    extends AbstractDocumentModelFactory
    Default implementation for DocumentModel factory The default empty constructor create Folder for folderish file and File for other. But you can specify them using the other constructor. Also, if you are using .properties files to setup metada, you can use the ecm:primaryType xpath to specify the type of document to create. This will override the default ones, and works for files and folders. If no .properties file is provided of it the current node has a .properties file but no ecm:primaryType, the default types are created. This works for leafType but also for folderish type.
    Thierry Delprat, Daniel Tellez, Thibaud Arguillere