Class CarddavURI


  • public class CarddavURI
    extends Object
    We map uris onto an object which may be a calendar or an entity contained within that calendar.

    The response to webdav actions obviously depends upon the type of referenced entity.

    The server will have to determine whether a name represents a publicly available calendar or a user and the access to a calendar will, of course, depend upon the authentication state of the user.

    Author:
    Mike Douglass douglm rpi.edu
    • Method Detail

      • getExists

        public boolean getExists()
        Returns:
        boolean
      • getEntity

        public Card getEntity()
        Returns:
        Object
      • getColName

        public String getColName()
                          throws org.bedework.webdav.servlet.shared.WebdavException
        Returns:
        String
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getEntityName

        public String getEntityName()
        Returns:
        String
      • getPath

        public String getPath()
                       throws org.bedework.webdav.servlet.shared.WebdavException
        Returns:
        String
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • getUri

        public String getUri()
                      throws org.bedework.webdav.servlet.shared.WebdavException
        Returns:
        String
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • isResource

        public boolean isResource()
        Returns:
        true if this represents a calendar
      • isCollection

        public boolean isCollection()
        Returns:
        true if this represents a calendar
      • isUser

        public boolean isUser()
        Returns:
        true if this represents a user
      • isGroup

        public boolean isGroup()
        Returns:
        true if this represents a group
      • sameName

        public boolean sameName​(String entityName)
        Parameters:
        entityName -
        Returns:
        true if has same name
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object