Interface EventMetadataClient

interface EventMetadataClient {
    metadataLock(metaType, metaId): void;
    metadataUnlock(metaType, metaId): void;
}

Methods

  • 前台元数据锁定操作

    Parameters

    • metaType: string
    • metaId: string

    Returns void

    Example

    import * as eventClient from 'event';
    let client = eventClient.newEventMetadataClient();
    client.metadataLock("BusinessProcess","001L000000ruvmA2KCno")

    @param metaType operator metadata type like BusinessProcess
    @param metaID the metadata id
  • 前台元数据解除锁定操作

    Parameters

    • metaType: string
    • metaId: string

    Returns void

    Example

    import * as eventClient from 'event';
    let client = eventClient.newEventMetadataClient();
    client.metadataUnlock("BusinessProcess","001L000000ruvmA2KCno")

    @param metaType operator metadata type like BusinessProcess
    @param metaID the metadata id