Class DefaultScopedObjectFormProvider

  • All Implemented Interfaces:
    ScopedObjectFormProvider

    public class DefaultScopedObjectFormProvider
    extends java.lang.Object
    implements ScopedObjectFormProvider
    The default form provider will simply use the form repository to fetch the latest form definition by form key. This is the behaviour for user definitions, conversations, etc.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.flowable.form.api.FormRepositoryService formRepositoryService  
    • Constructor Summary

      Constructors 
      Constructor Description
      DefaultScopedObjectFormProvider​(org.flowable.form.api.FormRepositoryService formRepositoryService)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.flowable.form.api.FormInfo getForm​(java.lang.String scopeType, java.lang.String scopeId, java.lang.String formKey)
      Deprecated.
      java.lang.String getScopeType()  
      java.util.Map<java.lang.String,​java.lang.Object> getVariables​(java.lang.String scopeType, java.lang.String scopeId, java.lang.String subScopeId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • formRepositoryService

        protected org.flowable.form.api.FormRepositoryService formRepositoryService
    • Constructor Detail

      • DefaultScopedObjectFormProvider

        public DefaultScopedObjectFormProvider​(org.flowable.form.api.FormRepositoryService formRepositoryService)
    • Method Detail

      • getForm

        @Deprecated
        public org.flowable.form.api.FormInfo getForm​(java.lang.String scopeType,
                                                      java.lang.String scopeId,
                                                      java.lang.String formKey)
        Deprecated.
        Specified by:
        getForm in interface ScopedObjectFormProvider
      • getVariables

        public java.util.Map<java.lang.String,​java.lang.Object> getVariables​(java.lang.String scopeType,
                                                                                   java.lang.String scopeId,
                                                                                   java.lang.String subScopeId)
        Specified by:
        getVariables in interface ScopedObjectFormProvider