public static class SysIntf.SynchReportData.SynchReportDataItem extends Object implements Comparable<SysIntf.SynchReportData.SynchReportDataItem>
The parent indicates what collection is visible in the hierarchy. It may be an alias to the actual parent.
| Constructor and Description |
|---|
SynchReportDataItem(String vpath,
CalDAVCollection col,
String token,
boolean canSync) |
SynchReportDataItem(String vpath,
CalDAVEvent entity,
String token) |
SynchReportDataItem(String vpath,
CalDAVResource resource,
String token) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SysIntf.SynchReportData.SynchReportDataItem that) |
boolean |
equals(Object o) |
boolean |
getCanSync()
False if we can't do a direct sync report.
|
CalDAVCollection |
getCol()
Non-null if this is for a collection
|
CalDAVEvent |
getEntity()
Non-null if this is for calendar entity
|
CalDAVResource |
getResource()
Non-null if this is for a resource
|
String |
getToken() |
String |
getVpath()
Always non-null - virtual path to the element this object represents (not
including this elements name).
|
int |
hashCode() |
public SynchReportDataItem(String vpath, CalDAVEvent entity, String token) throws org.bedework.webdav.servlet.shared.WebdavException
vpath - entity - token - org.bedework.webdav.servlet.shared.WebdavExceptionpublic SynchReportDataItem(String vpath, CalDAVResource resource, String token) throws org.bedework.webdav.servlet.shared.WebdavException
vpath - resource - token - org.bedework.webdav.servlet.shared.WebdavExceptionpublic SynchReportDataItem(String vpath, CalDAVCollection col, String token, boolean canSync) throws org.bedework.webdav.servlet.shared.WebdavException
vpath - col - token - canSync - org.bedework.webdav.servlet.shared.WebdavExceptionpublic String getToken()
public CalDAVEvent getEntity()
public CalDAVResource getResource()
public CalDAVCollection getCol()
public String getVpath()
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
public boolean getCanSync()
public int compareTo(SysIntf.SynchReportData.SynchReportDataItem that)
compareTo in interface Comparable<SysIntf.SynchReportData.SynchReportDataItem>Copyright © 2018 Bedework. All rights reserved.