Gjsify LogoGjsify Logo

Hierarchy

  • FolderChangeInfo

Index

Constructors

  • Create a new folder change info structure.

    Change info structures are not MT-SAFE and must be locked for exclusive access externally.

    Returns FolderChangeInfo

Properties

uidAdded: object[]
uidChanged: object[]
uidRecent: object[]
uidRemoved: object[]
name: string

Methods

  • addSource(uid: string): void
  • Add a source uid for generating a changeset.

    Parameters

    • uid: string

      a uid

    Returns void

  • addSourceList(list: string[]): void
  • Add a list of source uid's for generating a changeset.

    Parameters

    • list: string[]

      a list of uids

    Returns void

  • addUid(uid: string): void
  • Add a new uid to the changeinfo.

    Parameters

    • uid: string

      a uid

    Returns void

  • addUpdate(uid: string): void
  • Add a uid from the updated list, used to generate a changeset diff.

    Parameters

    • uid: string

      a uid

    Returns void

  • addUpdateList(list: string[]): void
  • Add a list of uid's from the updated list.

    Parameters

    • list: string[]

      a list of uids

    Returns void

  • buildDiff(): void
  • Compare the source uid set to the updated uid set and generate the differences into the added and removed lists.

    Returns void

  • Concatenate one change info onto antoher. Can be used to copy them too.

    Parameters

    Returns void

  • changeUid(uid: string): void
  • Add a uid to the changed uid list.

    Parameters

    • uid: string

      a uid

    Returns void

  • changed(): boolean
  • clear(): void
  • Empty out the change info; called after changes have been processed.

    Returns void

  • free(): void
  • Free memory associated with the folder change info lists.

    Returns void

  • getAddedUids(): string[]
  • Returns an array of added messages UIDs. The returned array, the same as its content, is owned by the info.

    Returns string[]

  • getChangedUids(): string[]
  • Returns an array of changed messages UIDs. The returned array, the same as its content, is owned by the info.

    Returns string[]

  • getRecentUids(): string[]
  • Returns an array of recent messages UIDs. The returned array, the same as its content, is owned by the info.

    Returns string[]

  • getRemovedUids(): string[]
  • Returns an array of removed messages UIDs. The returned array, the same as its content, is owned by the info.

    Returns string[]

  • recentUid(uid: string): void
  • Add a recent uid to the changedinfo. This will also add the uid to the uid_filter array for potential filtering

    Parameters

    • uid: string

      a uid

    Returns void

  • removeUid(uid: string): void
  • Add a uid to the removed uid list.

    Parameters

    • uid: string

      a uid

    Returns void

  • Create a new folder change info structure.

    Change info structures are not MT-SAFE and must be locked for exclusive access externally.

    Returns FolderChangeInfo

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method