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 FormElementcreateActionElement(FormVersion formVersion)static IExtendedFormPublishContextcreateContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, IEntityContext ec)Deprecated.static FormElementcreateQualifierElement(FormVersion formVersion)static com.alibaba.fastjson.JSONArraygetBackupList(IEntityContext ec, int formVersionId)Deprecated.static com.alibaba.fastjson.JSONArraygetBackupList(IEntityContext ec, FormVersion formVersion)static StringgetBackupPersistent(IEntityContext ec, int formVersionBackupId)Deprecated.static StringgetBackupPersistent(IEntityContext ec, FormVersionBackup backup)static StringgetCurrentPersistent(IEntityContext ec, int formVersionId)Deprecated.static StringgetCurrentPersistent(IEntityContext ec, FormVersion formVersion)static booleanisValueAble(IFD2XItemProvider itemProvider, String className)static booleanpublish(IFormPublishContext ctx)static voidpublishPDFInmport(File file, IFormPublishContext publishCtx)Deprecated.static ProjektRessourcepublishProjectResource(File file, String resourceName, IFormPublishContext publishCtx)Deprecated.static voidpublishResource(File file, String resourceName, IFormPublishContext publishCtx)Deprecated.static PublishRequestParameterrequestParamsOf(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
@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
public static boolean publish(IFormPublishContext ctx) throws Exception
- Throws:
 Exception
 
- 
createActionElement
public static FormElement createActionElement(FormVersion formVersion)
 
- 
createQualifierElement
public static FormElement createQualifierElement(FormVersion formVersion)
 
- 
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.- 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)
 
 - 
 
 -