Interface IObjectLanguageProcessor

All Known Implementing Classes:
BmResourceLanguageProcessor, BslLanguageProcessor, ChartLanguageProcessor, CommonPackageLanguageProcessor, ContentLanguageProcessor, DcsLanguageProcessor, ExpressionsLanguageProcessor, FormLanguageProcessor, GeosLanguageProcessor, PlannerLanguageProcessor, SchemeLanguageProcessor

public interface IObjectLanguageProcessor
Defines processors for objects with translations.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSupported(org.eclipse.emf.ecore.EPackage ePackage)
    Checks whether this implementation supports EPackage
    default void
    process(IBmTransaction transaction, long bmObjectId, LanguageProcessorParameters parameters)
    Processes objects translations based on the provided BMObjectId.
    default void
    process(org.eclipse.emf.common.util.URI objectURI, LanguageProcessorParameters parameters)
    Processes objects translations based on the provided URI.
  • Method Details

    • isSupported

      boolean isSupported(org.eclipse.emf.ecore.EPackage ePackage)
      Checks whether this implementation supports EPackage
      Parameters:
      ePackage - the e package, cannot be null
      Returns:
      true, if is supported
    • process

      default void process(org.eclipse.emf.common.util.URI objectURI, LanguageProcessorParameters parameters)
      Processes objects translations based on the provided URI.
      Parameters:
      objectURI - the object URI, cannot be null
      parameters - the parameters, cannot be null
    • process

      default void process(IBmTransaction transaction, long bmObjectId, LanguageProcessorParameters parameters)
      Processes objects translations based on the provided BMObjectId.
      Parameters:
      transaction - the transaction, cannot be null
      bmObjectId - the object bm id, cannot be null
      parameters - the parameters, cannot be null