Interface IWorkflowScriptContextTranslationStudio


public interface IWorkflowScriptContextTranslationStudio
Author:
@author Phillip Austerfield (phillip.austerfield@idmedia.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    de.espirit.firstspirit.access.Connection
    Get the current connection
    de.espirit.firstspirit.access.store.IDProvider
    Get the store element the workflow was executed on
    de.espirit.firstspirit.forms.FormData
     
    de.espirit.firstspirit.access.project.Project
    Get the current project
    de.espirit.firstspirit.access.store.StoreElement
    Get the store element the workflow was executed on
    de.espirit.firstspirit.access.User
    Get current user
    de.espirit.firstspirit.access.UserService
    Get Connection User service
    void
    logDebug(String string)
     
    void
    logError(String string)
     
    void
    logError(String string, Throwable thrwbl)
     
    void
    logInfo(String string)
     
    void
     
    <S> S
    requestSpecialist(de.espirit.firstspirit.agency.SpecialistType<S> st)
    Requet a specialist
    <S> S
    requireSpecialist(de.espirit.firstspirit.agency.SpecialistType<S> st)
    et a specialist
  • Method Details

    • getStoreElement

      @Nullable de.espirit.firstspirit.access.store.StoreElement getStoreElement()
      Get the store element the workflow was executed on
      Returns:
    • getFormData

      de.espirit.firstspirit.forms.FormData getFormData()
    • getElement

      @Nullable de.espirit.firstspirit.access.store.IDProvider getElement()
      Get the store element the workflow was executed on
      Returns:
    • getUserService

      de.espirit.firstspirit.access.UserService getUserService()
      Get Connection User service
      Returns:
    • getProject

      de.espirit.firstspirit.access.project.Project getProject()
      Get the current project
      Returns:
    • getConnection

      de.espirit.firstspirit.access.Connection getConnection()
      Get the current connection
      Returns:
    • getUser

      de.espirit.firstspirit.access.User getUser()
      Get current user
      Returns:
    • logDebug

      void logDebug(String string)
    • logInfo

      void logInfo(String string)
    • logWarning

      void logWarning(String string)
    • logError

      void logError(String string)
    • logError

      void logError(String string, Throwable thrwbl)
    • requestSpecialist

      @Nullable <S> S requestSpecialist(de.espirit.firstspirit.agency.SpecialistType<S> st)
      Requet a specialist
      Type Parameters:
      S -
      Parameters:
      st -
      Returns:
    • requireSpecialist

      @NotNull <S> S requireSpecialist(de.espirit.firstspirit.agency.SpecialistType<S> st) throws IllegalStateException
      et a specialist
      Type Parameters:
      S -
      Parameters:
      st -
      Returns:
      Throws:
      IllegalStateException