Package de.xima.fc.form
Class FormPublishUtil
java.lang.Object
de.xima.fc.form.FormPublishUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FormElement
createActionElement
(FormVersion formVersion) static IExtendedFormPublishContext
createContext
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IEntityContext ec) Deprecated.static FormElement
createQualifierElement
(FormVersion formVersion) static com.alibaba.fastjson.JSONArray
getBackupList
(IEntityContext ec, int formVersionId) Deprecated.static com.alibaba.fastjson.JSONArray
getBackupList
(IEntityContext ec, FormVersion formVersion) static String
getBackupPersistent
(IEntityContext ec, int formVersionBackupId) Deprecated.static String
getBackupPersistent
(IEntityContext ec, FormVersionBackup backup) static String
getCurrentPersistent
(IEntityContext ec, int formVersionId) Deprecated.static String
getCurrentPersistent
(IEntityContext ec, FormVersion formVersion) static boolean
isValueAble
(IFD2XItemProvider itemProvider, String className) static boolean
static void
publishPDFInmport
(File file, IFormPublishContext publishCtx) Deprecated.static ProjektRessource
publishProjectResource
(File file, String resourceName, IFormPublishContext publishCtx) Deprecated.static void
publishResource
(File file, String resourceName, IFormPublishContext publishCtx) Deprecated.static PublishRequestParameter
requestParamsOf
(javax.servlet.http.HttpServletRequest req) Deprecated.
-
Constructor Details
-
FormPublishUtil
public FormPublishUtil()
-
-
Method Details
-
requestParamsOf
@Deprecated public static PublishRequestParameter requestParamsOf(javax.servlet.http.HttpServletRequest req) Deprecated. -
createContext
@Deprecated public static IExtendedFormPublishContext createContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IEntityContext ec) Deprecated. -
publishPDFInmport
@Deprecated public static void publishPDFInmport(File file, IFormPublishContext publishCtx) throws IOException Deprecated.- Throws:
IOException
-
publishProjectResource
@Deprecated public static ProjektRessource publishProjectResource(File file, String resourceName, IFormPublishContext publishCtx) throws IOException Deprecated.- Throws:
IOException
-
publish
- Throws:
Exception
-
createActionElement
-
createQualifierElement
-
isValueAble
- Parameters:
itemProvider
- Item provider for retrieving the available items and widgets.className
- Class name, i.e. the form element type.- Returns:
- Whether the given form element type is valueable, i.e. allows the user to enter values in the form that are sent to the server when the form is submitted, such as input and select elements. Non-valueable element are layout or design elements such as images etc.
-
publishResource
@Deprecated public static void publishResource(File file, String resourceName, IFormPublishContext publishCtx) throws IOException Deprecated.- Throws:
IOException
-
getBackupList
@Deprecated public static com.alibaba.fastjson.JSONArray getBackupList(IEntityContext ec, int formVersionId) Deprecated. -
getBackupList
public static com.alibaba.fastjson.JSONArray getBackupList(IEntityContext ec, FormVersion formVersion) -
getBackupPersistent
Deprecated. -
getBackupPersistent
-
getCurrentPersistent
Deprecated. -
getCurrentPersistent
-
FormPublishContextBuilder