Package com.saperion.ngc.iform
Class FormUtil
java.lang.Object
com.saperion.ngc.iform.FormUtil
Provides utility-methods for
IntelligentFormView
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks if all viewers of the form are able to edit documents.static boolean
Checks if all viewers of the given form are able to show revisions.static boolean
isIndexForm
(FormMode formMode) Returns true if the form is any type of index-form.static boolean
Returns true if the form is any type of index-form.static boolean
isQueryForm
(FormMode formMode) Returns true if the form is any type of query-form.static boolean
Returns 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
-