palm-sync
    Preparing search index...

    Class DlpSetDBInfoReqType

    DLP request to change database info.

    DLP 1.2 (PalmOS v3.0 and above)

    Error codes:

    • SYSTEM
    • PARAM
    • NOT_FOUND
    • NOT_ENOUGH_SPACE
    • NOT_SUPPORTED
    • READ_ONLY
    • NONE_OPEN

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    bckUpDate: Date = ...

    Last backup timestamp. (zero year == don't change)

    clrDbFlags: DatabaseAttrs = ...

    Database attribute flags to clear.

    Any flags set to true here will be cleared, i.e. set to false, on the device.

    Allowed flags:

    • appInfoDirty
    • backup
    • okToInstallNewer
    • resetAfterInstall
    • copyPrevention
    crDate: Date = ...

    Database creation timestamp. (zero year == don't change)

    creator: string = '\0\0\0\0'

    Database creator identifier. (zero === don't change)

    dbId: number = 0

    Handle to opened database.

    dbVersion: number = DLP_SET_DB_INFO_NO_VERSION_CHANGE

    Database version; 0xffff = don't change

    funcId: DlpFuncId = DlpFuncId.SetDBInfo

    DLP function ID.

    modDate: Date = ...

    Database modification timestamp. (zero year == don't change)

    name: string = ''

    Database name.

    responseType: typeof DlpSetDBInfoRespType = DlpSetDBInfoRespType

    The response class corresponding to this request.

    setDbFlags: DatabaseAttrs = ...

    Database attribute flags to set.

    Any flags set to true here will be set, i.e. set to true, on the device.

    Allowed flags:

    • appInfoDirty
    • backup
    • okToInstallNewer
    • resetAfterInstall
    • copyPrevention
    type: string = '\0\0\0\0'

    Database type identifier. (zero === don't change)

    Methods

    • Assign properties to this object from a JSON object.

      Conceptually equivalent to Object.assign(), but recursively hydrates SObjects / SArrays / SerializableWrappers etc and invokes their assignJSON() to process JSON values. For example:

      class A extends SObject {
      @field(SUInt8) prop1: number;
      }
      class B extends SObject {
      @field() a = new A();
      }
      const b1 = new B();
      b1.assignJSON({a: {prop1: 300}});

      Parameters

      • jsonObject: { [key: string | symbol]: unknown }

      Returns void

    • Assign properties to this object from a map of Serializables.

      Conceptually equivalent to Object.assign(), but automatically unwraps wrapped properties. Fields defined with @field() are directly assigned, and fields defined with @field(wrapper) are assigned by unwrapping the corresponding SerializableWrapper. Unknown fields are considered an error.

      Parameters

      • serializableMap: { [propertyKey: string | symbol]: Serializable }

      Returns void

    • Map values of this object to Serializable.

      Fields defined with @field() are preserved as-is, and field defined with @field(wrapper) are wrapped in their respective wrapper types.

      Returns { [propertyKey: string]: Serializable }

    • Creates a new instance of this value by deserializing from a buffer.

      Type Parameters

      • T extends Serializable

      Parameters

      • this: new () => T
      • buffer: Buffer
      • Optionalopts: DeserializeOptions

      Returns T

    • Create a new instance with the provided initial properties.

      Type Parameters

      • T extends SObject

      Parameters

      • this: new () => T
      • Optionalprops: Partial<T>

      Returns T

    • Similar to with(), but uses assignJSON() instead of Object.assign().

      Type Parameters

      • T extends SObject

      Parameters

      • this: new () => T
      • json: { [key: string | symbol]: unknown }

      Returns T