Package org.exoplatform.applications.ooplugin.client

Examples of org.exoplatform.applications.ooplugin.client.DavReport


      return isOpened;
   }

   private boolean doReport() throws Exception
   {
      DavReport davReport = new DavReport(config.getContext());
      davReport.setResourcePath(resourcePath);

      davReport.setRequiredProperty(WebDavProp.DISPLAYNAME);
      davReport.setRequiredProperty(WebDavProp.GETCONTENTLENGTH);
      davReport.setRequiredProperty(WebDavProp.CREATIONDATE);
      davReport.setRequiredProperty(WebDavProp.CREATORDISPLAYNAME);

      davReport.setDepth(1);

      int status = davReport.execute();
      if (status != HTTPStatus.MULTISTATUS)
      {
         showMessageBox("Can't open version list. ErrorCode: " + status);
         return false;
      }

      Multistatus multistatus = davReport.getMultistatus();
      responses = multistatus.getResponses();

      Collections.sort(responses, new VersionComparer());

      XListBox xListBox =
View Full Code Here

TOP

Related Classes of org.exoplatform.applications.ooplugin.client.DavReport

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.