Package com.saperion.ngc.iform
Class FormUtil
java.lang.Object
com.saperion.ngc.iform.FormUtil
Provides utility-methods for
IntelligentFormViews.-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks if all viewers of the form are able to edit documents.static booleanChecks if all viewers of the given form are able to show revisions.static booleanisIndexForm(FormMode formMode) Returns true if the form is any type of index-form.static booleanReturns true if the form is any type of index-form.static booleanisQueryForm(FormMode formMode) Returns true if the form is any type of query-form.static booleanReturns true if the form is any type of query-form.
-
Method Details
-
isQueryForm
Returns true if the form is any type of query-form.- Parameters:
formMode- mode of the form- Returns:
- true if the form is a query-form
-
isQueryForm
Returns true if the form is any type of query-form.- Parameters:
form- the form- Returns:
- true if the form is a query-form
-
isIndexForm
Returns true if the form is any type of index-form.- Parameters:
formMode- the mode of the form- Returns:
- true if the form is a index-form
-
isIndexForm
Returns true if the form is any type of index-form.- Parameters:
form- the form- Returns:
- true if the form is a index-form
-
canModifyDocuments
Checks if all viewers of the form are able to edit documents.- Parameters:
form- the form to check- Returns:
- true if all viewers can edit document, otherwise false
-
canShowRevisions
Checks if all viewers of the given form are able to show revisions.- Parameters:
form- the form to check- Returns:
- true if all viewers can show revisions, otherwise false
-