Class RootDirHandler

  • All Implemented Interfaces:
    DirHandler, org.bedework.util.logging.Logged

    public class RootDirHandler
    extends AbstractDirHandler
    An implementation of DirHandler which handles the root paths.
    Version:
    1.0
    Author:
    Mike Douglass douglm rpi.edu
    • Constructor Detail

      • RootDirHandler

        public RootDirHandler()
    • Method Detail

      • addCard

        public void addCard​(String path,
                            Card card)
                     throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • copyMove

        public int copyMove​(Card from,
                            String toPath,
                            String name,
                            boolean copy,
                            boolean overwrite)
                     throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • deleteCard

        public void deleteCard​(String path)
                        throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getAll

        public Iterator<Card> getAll​(String path)
                              throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • deleteCollection

        public void deleteCollection​(org.bedework.webdav.servlet.shared.WdCollection col)
                              throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getCard

        public Card getCard​(String path,
                            String name)
                     throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getCardByUid

        public Card getCardByUid​(String path,
                                 String uid)
                          throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getCards

        public GetResult getCards​(String path,
                                  Filter filter,
                                  GetLimits limits)
                           throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getCollection

        public CarddavCollection getCollection​(String path)
                                        throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getCollections

        public GetResult getCollections​(String path,
                                        GetLimits limits)
                                 throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getPrincipalCard

        public Card getPrincipalCard​(String path)
                              throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • makeCollection

        public int makeCollection​(CarddavCollection col,
                                  String parentPath)
                           throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • rename

        public int rename​(org.bedework.webdav.servlet.shared.WdCollection col,
                          String newName)
                   throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • updateCard

        public void updateCard​(String path,
                               Card card)
                        throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • updateCollection

        public void updateCollection​(org.bedework.webdav.servlet.shared.WdCollection val)
                              throws org.bedework.webdav.servlet.shared.WebdavException
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException