8384858687888990919293
if( path.isRoot() ) { log.info("Adding DAV items from path "+path); DirectoryItem di = new DirectoryItem( this, path ); di.addDavItems( listAlphabeticals(path) ); return di; } //
979899100101102103104105106107
{ log.info("Listing pages in path "+path); DirectoryItem di = new DirectoryItem( this, path ); di.addDavItems( listDirContents(path) ); return di; } if( pname.endsWith(".html") && pname.length() > 5 )
221222223224225226227228229230231
235236237238239240241242243244245
{ log.info("Listing pages in path "+path); DirectoryItem di = new DirectoryItem( this, path ); di.addDavItems( listDirContents(path) ); return di; } if( pname.endsWith(".txt") && pname.length() > 4 )
130131132133134135136137138139140
{ if( path.isRoot() ) { DirectoryItem di = new DirectoryItem( this, new DavPath("") ); di.addDavItems( listAllPagesWithAttachments() ); return di; } else if( path.isDirectory() ) { DirectoryItem di = new DirectoryItem( this, path );
137138139140141142143144145146147
} else if( path.isDirectory() ) { DirectoryItem di = new DirectoryItem( this, path ); di.addDavItems( listAttachmentsOfPage(path) ); return di; } else {
128129130131132133134135136137138
135136137138139140141142143144145
8182838485868788899091
9596979899100101102103104105