Options
All
  • Public
  • Public/Protected
  • All
Menu

In version 10.4.0: introduced

Hierarchy

Implements

Index

Constructors

Properties

id: string
structureTypeName: string
structureTypeName: string = "ODataPublish$PublishedODataService2"
versionInfo: StructureVersionInfo = ...

Accessors

  • get allowedModuleRolesQualifiedNames(): string[]
  • Returns string[]

  • get authenticationMicroflow(): null | IMicroflow
  • set authenticationMicroflow(newValue: null | IMicroflow): void
  • get authenticationMicroflowQualifiedName(): null | string
  • Returns null | string

  • get container(): TContainer
  • get containerAsModule(): Module
  • get description(): string
  • set description(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get documentation(): string
  • set documentation(newValue: string): void
  • get excluded(): boolean
  • set excluded(newValue: boolean): void
  • In version 9.3.0: introduced

    Returns ExportLevel

  • In version 9.3.0: introduced

    Parameters

    Returns void

  • get includeMetadataByDefault(): boolean
  • set includeMetadataByDefault(newValue: boolean): void
  • In version 10.8.0: introduced

    Returns boolean

  • In version 10.8.0: introduced

    Parameters

    • newValue: boolean

    Returns void

  • get isLoadable(): boolean
  • Whether this unit and all of its children (recursively) can be loaded.

    Returns boolean

  • get isLoaded(): boolean
  • Whether this unit has been completely loaded and does not consist of the unit's interface (which corresponds to the unit being partial).

    Returns boolean

  • get isReadOnly(): boolean
  • Whether this unit and all of its children (recursively) are editable.

    Returns boolean

  • get model(): TModel
  • get name(): string
  • set name(newValue: string): void
  • get namespace(): string
  • set namespace(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get path(): string
  • set path(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get publishAssociations(): boolean
  • set publishAssociations(newValue: boolean): void
  • Returns boolean

  • Parameters

    • newValue: boolean

    Returns void

  • get qualifiedName(): null | string
  • Returns the qualified name of this element, or null if this element is not a part of the model, or if it or one of its namespace containers does not have a valid name.

    Returns null | string

  • get replaceIllegalChars(): boolean
  • set replaceIllegalChars(newValue: boolean): void
  • Returns boolean

  • Parameters

    • newValue: boolean

    Returns void

  • get serviceName(): string
  • set serviceName(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get summary(): string
  • set summary(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

  • get supportsGraphQL(): boolean
  • set supportsGraphQL(newValue: boolean): void
  • In version 10.12.0: introduced

    Returns boolean

  • In version 10.12.0: introduced

    Parameters

    • newValue: boolean

    Returns void

  • get unit(): this
  • get useGeneralization(): boolean
  • set useGeneralization(newValue: boolean): void
  • Returns boolean

  • Parameters

    • newValue: boolean

    Returns void

  • get version(): string
  • set version(newValue: string): void
  • Returns string

  • Parameters

    • newValue: string

    Returns void

Methods

  • Transforms a IElement interface into a Element class, loading the containing unit if necessary. (Those are technically already the same, but this function makes sure its properties are available.)

    • If invoked without callback, it checks whether the properties are available or it will throw;
    • If invoked with callback, it will load the data from the server if needed, and then invoke the callback.

    Returns PublishedODataService2

  • delete(): void
  • getContainerAs<T>(containerType: any): T
  • Renders the structure as plain JSON (without observables magic). This is intended for debugging and development convenience. Note that the resulting object is not of the interface type corresponding to this structure.

    Returns IAbstractElementJson

  • traverse(visit: (structure: IStructure) => void): void
  • Traverses this structure by calling the provided visitor function on itself and all the structures contained (as part) by it, in depth-first order, and it returns synchronously after that.

    Parameters

    Returns void

  • traverseFind<T>(visit: (structure: IStructure) => T): null | T
  • traversePublicParts(visit: (structure: IStructure) => void): void
  • Creates a new PublishedODataService2 unit in the SDK and on the server. Expects one argument, the projects.IFolderBase in which this unit is contained.

    Parameters

    Returns PublishedODataService2

Generated using TypeDoc