All Superinterfaces:
Comparable<StoreElement>, HistoryProvider, IDProvider, PackagePoolItem, StoreElement, TemplateStoreElement, Workflowable

public interface Query extends PackagePoolItem, StoreElement, TemplateStoreElement
Definition of a query description container.
Since:
3.0
  • Field Details

  • Method Details

    • getUidType

      @NotNull @NotNull IDProvider.UidType getUidType()
      Returns UID_TYPE.
      Specified by:
      getUidType in interface IDProvider
      Returns:
      The UID type.
      Since:
      4.0
      See Also:
    • getName

      @NotNull @Deprecated @NotNull String getName()
      Deprecated.
      since 4.1.10 - use IDProvider.getUid()
      Specified by:
      getName in interface StoreElement
      Returns:
      The uid.
      Since:
      3.0
    • getSelectStatement

      @Nullable @Nullable Select getSelectStatement()
      Returns the select object for this query or null if there isn't one defined yet.
      Since:
      3.0
    • getSelectStatementAsString

      String getSelectStatementAsString()
      Returns the select statement as string - the returned statement may not be valid and is always for the current version. Use getSelectStatement() if you want a validated select.
      Since:
      3.0
    • setSelectStatement

      void setSelectStatement(Select statement)
      Defines the select statement to be used for this query.
      Parameters:
      statement - The select statement.
      Since:
      3.0
    • setSelectStatement

      void setSelectStatement(String statementXML)
      Defines the select statement to be used for this query, derived from the given xml format.
      Parameters:
      statementXML - The statement XML.
      Since:
      3.0
    • getData

      EntityList getData()
      Provides the data corresponding to this query.
      Returns:
      A list of database entries.
      Since:
      3.0
    • getResultTableName

      String getResultTableName()
      Provides the name of the result table.
      Returns:
      The result table's name.
      Since:
      3.0
    • getWizardMode

      boolean getWizardMode()
      Indicates the query to be build and using the wizard mode for definition.
      Returns:
      true, if in wizard mode.
      Since:
      3.0
    • setWizardMode

      void setWizardMode(boolean value)
      Defines to used the wizard mode for definition.
      Parameters:
      value - true, if to use the wizard mode.
      Since:
      3.0
    • getSchema

      Schema getSchema()
      Provides the schema the query operates on.
      Returns:
      The schema.
      Since:
      4.0.132