Class SyncReportInfo
- java.lang.Object
-
- org.apache.openmeetings.service.calendar.caldav.methods.SyncReportInfo
-
- All Implemented Interfaces:
org.apache.jackrabbit.webdav.xml.XmlSerializable
public class SyncReportInfo extends Object implements org.apache.jackrabbit.webdav.xml.XmlSerializable
Used to represent a Sync Report, defined in RFC 6578. Taken from RFC 6578 are the following XML definitions<!ELEMENT sync-collection (sync-token, sync-level, limit?, prop)> <!ELEMENT sync-token #PCDATA> <!-- Text MUST be a valid URI --> <!ELEMENT sync-level CDATA> <!-- Text MUST be either "1" or "infinite" -->- See Also:
SyncMethod
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.jackrabbit.webdav.xml.NamespaceNAMESPACEstatic intSYNC_LEVEL_1static intSYNC_LEVEL_INFstatic StringXML_LIMITstatic StringXML_NRESULTSstatic StringXML_SYNC_COLLECTIONstatic StringXML_SYNC_LEVELstatic StringXML_SYNC_TOKEN
-
Constructor Summary
Constructors Constructor Description SyncReportInfo()SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel)SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel, int depth)SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel, int limit, int depth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet set)voidaddProperty(String name, org.apache.jackrabbit.webdav.xml.Namespace namespace)voidaddProperty(org.apache.jackrabbit.webdav.property.DavPropertyName name)intgetDepth()intgetLimit()org.apache.jackrabbit.webdav.property.DavPropertyNameSetgetProperties()intgetSyncLevel()StringgetSyncToken()voidsetDepth(int depth)voidsetLimit(int limit)voidsetProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties)voidsetSyncLevel(int syncLevel)voidsetSyncToken(String syncToken)ElementtoXml(Document document)
-
-
-
Field Detail
-
XML_SYNC_COLLECTION
public static final String XML_SYNC_COLLECTION
- See Also:
- Constant Field Values
-
XML_SYNC_TOKEN
public static final String XML_SYNC_TOKEN
- See Also:
- Constant Field Values
-
XML_SYNC_LEVEL
public static final String XML_SYNC_LEVEL
- See Also:
- Constant Field Values
-
XML_LIMIT
public static final String XML_LIMIT
- See Also:
- Constant Field Values
-
XML_NRESULTS
public static final String XML_NRESULTS
- See Also:
- Constant Field Values
-
NAMESPACE
public static final org.apache.jackrabbit.webdav.xml.Namespace NAMESPACE
-
SYNC_LEVEL_1
public static final int SYNC_LEVEL_1
- See Also:
- Constant Field Values
-
SYNC_LEVEL_INF
public static final int SYNC_LEVEL_INF
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SyncReportInfo
public SyncReportInfo()
-
SyncReportInfo
public SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel)
-
SyncReportInfo
public SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel, int depth)
-
SyncReportInfo
public SyncReportInfo(String syncToken, org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties, int syncLevel, int limit, int depth)
-
-
Method Detail
-
setSyncToken
public void setSyncToken(String syncToken)
-
getSyncToken
public String getSyncToken()
-
addProperty
public void addProperty(String name, org.apache.jackrabbit.webdav.xml.Namespace namespace)
-
addProperty
public void addProperty(org.apache.jackrabbit.webdav.property.DavPropertyName name)
-
addProperties
public void addProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet set)
-
getProperties
public org.apache.jackrabbit.webdav.property.DavPropertyNameSet getProperties()
-
setProperties
public void setProperties(org.apache.jackrabbit.webdav.property.DavPropertyNameSet properties)
-
getDepth
public int getDepth()
-
setDepth
public void setDepth(int depth)
-
setSyncLevel
public void setSyncLevel(int syncLevel)
-
getSyncLevel
public int getSyncLevel()
-
setLimit
public void setLimit(int limit)
-
getLimit
public int getLimit()
-
-