|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FormService
Service interface for Form specific operations.
| Method Summary | |
|---|---|
Form |
activateForm(String formID,
boolean updateDependencies)
Deprecated. |
Form |
copyForm(String oldformID,
Form newform)
Create a copy of the Form identified by the oldformID. |
Form |
createForm(Form form)
Create a new Form object. |
Form |
createTestForm(String formID)
Deprecated. |
void |
deleteForm(String formID)
Deprecated. |
Boolean |
formExists(String formName)
Check if a Form exists by the given name. |
List |
getAllForms(Query query)
List all Forms filtered by the given Query. |
List |
getDependentLetters(String formID)
Retrieve the list of Letters dependent on the Form identified by the given
formID. |
Form |
getForm(String formID)
Fetch the Form identified by the given formID. |
boolean |
isReferenced(String formID)
Check if this Form is being referenced by any other asset (Letter). |
Form |
markReadyToPublish(String formID)
Mark as ready to publish the Form identified by the given formID. |
Form |
publishForm(String formID)
Publish the Form identified by the given formID. |
Form |
retrieveVersion(String formId,
Date publishDate)
Returns the version of form that was published on or before the specified date. |
Form |
revertToLastPublished(String formId)
Reverts the form to the last published version. |
boolean |
updateDependencies(Form oldForm,
Form newForm)
Update the references of the old Form oldForm, in any dependent assets,
with the new Form newForm. |
boolean |
updateDependencies(Form oldForm,
Form newForm,
List letters)
Update the references of the old Form oldForm, in any dependent assets (passed as third parameter),
with the new Form newForm. |
Form |
updateForm(Form form)
Update the given Form. |
| Method Detail |
|---|
Boolean formExists(String formName)
throws ICCException
formName - Name of the form.
ICCException
List getAllForms(Query query)
throws ICCException
Forms filtered by the given Query.
query - Query to select Forms (supports only first level
attributes/properties of an object).Form objects
ICCExceptionStatement} and {@link Query}.
Form createTestForm(String formID)
throws ICCException
Form object.
formID - ID of Form whose test/inactive version is to be created.
ICCException
void deleteForm(String formID)
throws ICCException
Form object identified by the given formID.
formID - ID of the Form to be deleted.
ICCException
List getDependentLetters(String formID)
throws ICCException
Letters dependent on the Form identified by the given
formID.
formID - ID of the Form whose dependencies are to be fetched.
Letters which depend on the given Form.
ICCException
Form markReadyToPublish(String formID)
throws ICCException
Form identified by the given formID.
formID - ID of the Form.
Form object marked for publishing
ICCException
Form activateForm(String formID,
boolean updateDependencies)
throws ICCException
Form identified by the given formID.
formID - ID of the Form.updateDependencies - Whether to set this new activated version in the dependencies.
Form object
ICCException
Form publishForm(String formID)
throws ICCException
Form identified by the given formID.
formID - ID of the Form.
Form object
ICCException
Form getForm(String formID)
throws ICCException
Form identified by the given formID.
formID - ID of the Form to be fetched.
Form identified by the given formID.
ICCException
Form createForm(Form form)
throws ICCException
Form object.
form - The Form to be created.
Form object
ICCException
Form updateForm(Form form)
throws ICCException
Form.
form - Form object to be updated.
Form object.
ICCException
Form copyForm(String oldformID,
Form newform)
throws ICCException
Form identified by the oldformID.
newform does not have content in it, the content of the original Form
is set in it.
oldformID - ID of the original Form. Used to fetch the original content, if need be.newform - copy of the original Form (may have properties altered by the user)
Form.
ICCException
boolean isReferenced(String formID)
throws ICCException
formID - ID of the Form whose dependencies are to be fetched.
ICCException
boolean updateDependencies(Form oldForm,
Form newForm)
throws ICCException
oldForm, in any dependent assets,
with the new Form newForm.
oldForm - The old Form object.newForm - The new Form object, which should be set as the new reference.
ICCException
boolean updateDependencies(Form oldForm,
Form newForm,
List letters)
throws ICCException
oldForm, in any dependent assets (passed as third parameter),
with the new Form newForm.
oldForm - The old Form object.newForm - The new Form object, which should be set as the new reference.letters - List of letters which are required to be updated.
ICCException
Form revertToLastPublished(String formId)
throws ICCException
formId - The Form ID.
ICCException
Form retrieveVersion(String formId,
Date publishDate)
formId - The Form ID.publishDate - specifies the date for fetching published form.
ICCException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||