Interface IWorkflowScriptContextTranslationStudio
public interface IWorkflowScriptContextTranslationStudio
- Author:
- @author Phillip Austerfield (phillip.austerfield@idmedia.com)
-
Method Summary
Modifier and TypeMethodDescriptionde.espirit.firstspirit.access.ConnectionGet the current connectionde.espirit.firstspirit.access.store.IDProviderGet the store element the workflow was executed onde.espirit.firstspirit.forms.FormDatade.espirit.firstspirit.access.project.ProjectGet the current projectde.espirit.firstspirit.access.store.StoreElementGet the store element the workflow was executed onde.espirit.firstspirit.access.UsergetUser()Get current userde.espirit.firstspirit.access.UserServiceGet Connection User servicevoidvoidvoidvoidvoidlogWarning(String string) <S> SrequestSpecialist(de.espirit.firstspirit.agency.SpecialistType<S> st) Requet a specialist<S> SrequireSpecialist(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
-
logInfo
-
logWarning
-
logError
-
logError
-
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
-