Interface IMetaContext

All Superinterfaces:
IComponent, IComponentProvider, IInitializable, IURIResolver

public interface IMetaContext extends IComponentProvider
The meta context provides the various meta services for a given datasource. Each meta context is a singleton for the given datasource, therefore you can use ==, although Object.equals(java.lang.Object) is supported. This is a component as well as a component provider. Not all services are documented since some are internal system services and not for public use, and may not be supported in future versions.
See Also:
  • Field Details

  • Method Details

    • createWorker

      ISqlWorker createWorker() throws SQLException
      creates a SQL worker object for use in making DB calls.
      Returns:
      Throws:
      SQLException
    • getDatasourceID

      int getDatasourceID()
      gets the datasource ID
    • getDatasource

      String getDatasource()
      gets the datasource
    • getServiceID

      IThingID getServiceID() throws MetaException
      Gets the service thing ID for the datasource of this metaContext
      Returns:
      Throws:
      MetaException
      See Also:
      • ConnectionInfo
    • isRemote

      boolean isRemote()
      returns true if the object is from a datasource other than the default
    • getManager

      IMetaManager getManager()
      returns the metadata manager
    • getUserService

      IUserService getUserService()
      manipulates directory-based things
      Returns:
      IUserService
    • getThingIDService

      IThingIDService getThingIDService()
      creates thing IDs
      Returns:
    • getThingService

      IThingService getThingService()
      manages things
      Returns:
    • getRelationService

      IRelationService getRelationService()
      manages relations between things
      Returns:
    • getTypeService

      ITypeService getTypeService()
      manages base thing types
      Returns:
    • getXTypeService

      IXTypeService getXTypeService()
      manages xtypes(DBO's)
      Returns:
    • getMetaEventService

      @Deprecated IMetaEventService getMetaEventService()
      Deprecated.
      send events to remote services
      Returns:
    • getViewService

      IMetaViewService getViewService()
      different views on containers
      Returns:
    • getQueryService

      IMetaQueryService getQueryService()
      queries that return thingIDLists
      Returns:
    • getAccessService

      IAccessService getAccessService()
      access control
      Returns:
    • getDBOStorageService

      IDBOStorageService getDBOStorageService()
      Mananaged DBO service
      Returns:
    • getServiceThingService

      IServiceThingService getServiceThingService()
      service things manage access to services
      Returns:
    • getWatchService

      @Deprecated IWatchService getWatchService()
      Deprecated.
      watches access to things, useful for creating dependencies
      Returns:
    • getSubscriptionService

      ISubscriptionService getSubscriptionService()
      manage subscriptions
      Returns:
    • getLegacyMetadataService

      @Deprecated IMetaComponent getLegacyMetadataService()
      Deprecated.
      gets the original 5.0-pre 5.5 metadata service cast this to IMetadataService
    • getScheduleService

      IScheduleService getScheduleService()
      manage the scheduler
      Returns:
    • getAliasService

      @Deprecated IAliasService getAliasService()
      Deprecated.
      alias service
      Returns: