Package de.xima.fc.form
Class FormPublishUtil
- java.lang.Object
-
- de.xima.fc.form.FormPublishUtil
-
public class FormPublishUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description FormPublishUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IExtendedFormPublishContext
createContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IEntityContext ec)
Deprecated.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
publish(IFormPublishContext ctx)
static void
publishPDFInmport(File file, IFormPublishContext publishCtx)
static ProjektRessource
publishProjectResource(File file, String resourceName, IFormPublishContext publishCtx)
static void
publishResource(File file, String resourceName, IFormPublishContext publishCtx)
Deprecated.static PublishRequestParameter
requestParamsOf(javax.servlet.http.HttpServletRequest req)
Deprecated.
-
-
-
Method Detail
-
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
public static void publishPDFInmport(File file, IFormPublishContext publishCtx) throws IOException
- Throws:
IOException
-
publishProjectResource
public static ProjektRessource publishProjectResource(File file, String resourceName, IFormPublishContext publishCtx) throws IOException
- Throws:
IOException
-
publish
public static boolean publish(IFormPublishContext ctx) throws Exception
- Throws:
Exception
-
isValueAble
public static boolean isValueAble(IFD2XItemProvider itemProvider, String className)
- 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.Deprecated. UsepublishProjectResource(File, String, IFormPublishContext)
instead- 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 public static String getBackupPersistent(IEntityContext ec, int formVersionBackupId)
Deprecated.
-
getBackupPersistent
public static String getBackupPersistent(IEntityContext ec, FormVersionBackup backup)
-
getCurrentPersistent
@Deprecated public static String getCurrentPersistent(IEntityContext ec, int formVersionId)
Deprecated.
-
getCurrentPersistent
public static String getCurrentPersistent(IEntityContext ec, FormVersion formVersion)
-
-