跳到主要内容
版本:Next

abstractBaseAdapter <AdapterLine>

Implements

  • FilteredAdapter

Index

Constructors

constructor

  • new BaseAdapter<AdapterLine>(): BaseAdapter<AdapterLine>
  • Type parameters

    • AdapterLine: Line

Methods

publicaddPolicy

  • addPolicy(sec: string, ptype: string, rule: string[]): Promise<void>

publicisFiltered

  • isFiltered(): boolean

publicloadFilteredPolicy

  • loadFilteredPolicy(model: Model, filter: any): Promise<void>

publicloadPolicy

  • loadPolicy(model: Model): Promise<void>

publicremoveFilteredPolicy

  • removeFilteredPolicy(sec: string, ptype: string, fieldIndex: number, ...fieldValues: string[]): Promise<void>

publicremovePolicy

  • removePolicy(sec: string, ptype: string, rule: string[]): Promise<void>

publicsavePolicy

  • savePolicy(model: Model): Promise<boolean>