Open Documentation Menu

d.3 interface (D3Interface)

package com.dvelop.d3.server.core;

public interface D3Interface
{
    public interface ArchiveInterface         // d.3 Archiv
    public interface SqlD3Interface           // d.3 SQL Datenbank
    public interface D3RemoteInterface        // Client API
    public interface ScriptCallInterface      // Server API
    public interface ConfigInterface          // Config-Parameter
    public interface LogInterface             // Logging
    public interface HookInterface            // Hook-Eigenschaften
    public interface StorageManagerInterface  // Storagemanager

    public ArchiveInterface         getArchive();
    public SqlD3Interface           getSql();
    public D3RemoteInterface        getRemote();
    public ScriptCallInterface      getCall();
    public ConfigInterface          getconfig();
    public LogInterface             getlog();
    public HookInterface            getHook();
    public StorageManagerInterface  getStorageManager();
  }

Note

The D3Interface is passed by the server as the first parameter for all calls to registered Groovy functions.

This means that the d.3 interface is available in all hook, API and script functions.

Note

The javadoc documentation for the d.3 interface is contained in the file groovyhook-javadoc.jar.

Add this file to your Groovy project in your development environment to display a description of the classes and methods of the d.3 interface.

For Eclipse, this is described in more detail on the page Creating hook projects.Erstellen von Hook-Projekten