Interface ItemTypeRegistry


public interface ItemTypeRegistry

ItemTypeRegistry is an internal service that provides mapping of all known item type keys (module keys) to int values (primary keys in a db table).

The underlying table is append-only; once the key is encountered, it is enumerated and will be kept in the database forever.

The values of item type registry must not be exported during backup, or during any other export process. They are local to this instance.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Retrieves a numeric ID for a given item type key.
    getTypeKey(int id)
    Retrieves the key of an item type, based on its ID.