Class SysIntf.SynchReportData.SynchReportDataItem

    • Constructor Detail

      • SynchReportDataItem

        public SynchReportDataItem​(String vpath,
                                   CalDAVEvent<?> entity,
                                   String token)
                            throws org.bedework.webdav.servlet.shared.WebdavException
        Parameters:
        vpath -
        entity -
        token -
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • SynchReportDataItem

        public SynchReportDataItem​(String vpath,
                                   CalDAVResource<?> resource,
                                   String token)
                            throws org.bedework.webdav.servlet.shared.WebdavException
        Parameters:
        vpath -
        resource -
        token -
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
      • SynchReportDataItem

        public SynchReportDataItem​(String vpath,
                                   CalDAVCollection<?> col,
                                   String token,
                                   boolean canSync)
                            throws org.bedework.webdav.servlet.shared.WebdavException
        Parameters:
        vpath -
        col -
        token -
        canSync -
        Throws:
        org.bedework.webdav.servlet.shared.WebdavException
    • Method Detail

      • getToken

        public String getToken()
        Returns:
        The token
      • getEntity

        public CalDAVEvent<?> getEntity()
        Non-null if this is for calendar entity
        Returns:
        event or null
      • getResource

        public CalDAVResource<?> getResource()
        Non-null if this is for a resource
        Returns:
        resource or null
      • getCol

        public CalDAVCollection<?> getCol()
        Non-null if this is for a collection
        Returns:
        collection or null
      • getVpath

        public String getVpath()
        Always non-null - virtual path to the element this object represents (not including this elements name).

        For example, if (x) represents a collection x and [x] represents an alias x then for element c we have:

         (a)->(b)->(c) has the vpath and path a/b/c
         while
         (a)->[b]
               |
               v
         (x)->(y)->(c) has the vpath a/b/c and path) x/y/c
         
        Returns:
        parent collection
      • getCanSync

        public boolean getCanSync()
        False if we can't do a direct sync report.
        Returns:
        boolean
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object