Interface IFormAPI
-
- All Superinterfaces:
T4PublishAPI
public interface IFormAPI extends T4PublishAPI
Publish API for processing forms.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
process(int formId)
Process/Publish the form with the provided id.String
processIFrame(int formId)
Process/Publish the form with the provided id, generating the form in an IFrame.
-
-
-
Method Detail
-
process
String process(int formId) throws IOException, SQLException
Process/Publish the form with the provided id.- Parameters:
formId
- The id of the form to be published.- Returns:
- The generated form HTML.
- Throws:
IOException
- If the HTML cannot be generated.SQLException
- If database communication is interrupted.
-
processIFrame
String processIFrame(int formId) throws IOException, SQLException
Process/Publish the form with the provided id, generating the form in an IFrame.- Parameters:
formId
- The id of the form to be published.- Returns:
- The generated form IFrame HTML.
- Throws:
IOException
- If the IFrame HTML cannot be generated.SQLException
- If database communication is interrupted.
-
-