JtxCollection

open class JtxCollection<out T : JtxICalObject>(val account: Account, val client: ContentProviderClient, iCalObjectFactory: JtxICalObjectFactory<JtxICalObject>, val id: Long)

Constructors

Link copied to clipboard
constructor(account: Account, client: ContentProviderClient, iCalObjectFactory: JtxICalObjectFactory<JtxICalObject>, id: Long)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Long
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var url: String?

Functions

Link copied to clipboard
fun delete()
Link copied to clipboard
fun deleteByFlags(flags: Int): Int

deletes all entries with the given flags

Link copied to clipboard
Link copied to clipboard

Builds the JtxICalObject content uri with appended parameters for account and syncadapter

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun queryRecur(uid: String, recurid: String, dtstart: Long): ContentValues?
Link copied to clipboard
fun update(values: ContentValues)
Link copied to clipboard

Updates the last sync datetime for all collections of an account

Link copied to clipboard
fun updateSetETag(eTag: String?)

Updates the eTag value of all entries within a collection to the given eTag

Link copied to clipboard
fun updateSetFlags(flags: Int): Int

updates the flags of all entries in the collection with the given flag