Package com.saperion.ngc.scripthelper
Class FormPopupHelper
java.lang.Object
com.saperion.ngc.scripthelper.FormPopupHelper
Helper for opening a mask/form as popup.
- Since:
- 7.5
- Author:
- art
-
Method Summary
Modifier and TypeMethodDescriptionstatic IntelligentFormPopupWindow
openEditForm
(String formName, DocumentId docId) Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindow
openEditForm
(String formName, DocumentId docId, String popupTitle) Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindow
openIndexForm
(String formName) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openIndexForm
(String formName, String popupTitle) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openIndexForm
(String formName, String popupTitle, boolean readOnly) Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openNewItemForm
(String formName, String ddcName) Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindow
openNewItemForm
(String formName, String ddcName, String popupTitle) Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindow
openQueryForm
(String formName) Opens a form popup window in query mode with the given form.static IntelligentFormPopupWindow
openQueryForm
(String formName, String popupTitle) Opens a form popup window in query mode with the given form.
-
Method Details
-
openIndexForm
Opens a form popup window in default mode with the given form.- Parameters:
formName
- name of the form, which should be opened- Returns:
- form popup window
-
openIndexForm
Opens a form popup window in default mode with the given form.- Parameters:
formName
- name of the form, which should be openedpopupTitle
- title of the form popup window- Returns:
- form popup window
-
openIndexForm
public static IntelligentFormPopupWindow openIndexForm(String formName, String popupTitle, boolean readOnly) Opens a form popup window in default mode with the given form.- Parameters:
formName
- name of the form, which should be openedpopupTitle
- title of the form popup windowreadOnly
- value for read only parameter- Returns:
- form popup window
-
openNewItemForm
Opens a form popup window in index mode for new documents with the given form.- Parameters:
formName
- name of the form, which should be openedddcName
- name of the definition for the new documents- Returns:
- form popup window
-
openNewItemForm
public static IntelligentFormPopupWindow openNewItemForm(String formName, String ddcName, String popupTitle) Opens a form popup window in index mode for new documents with the given form.- Parameters:
formName
- name of the form, which should be openedddcName
- name of the definition for the new documentspopupTitle
- title of the form popup window- Returns:
- form popup window
-
openEditForm
Opens a form popup window in index mode for editing existing documents with the given form.- Parameters:
formName
- name of the form, which should be openeddocId
- document id of the document to edit- Returns:
- form popup window
-
openEditForm
public static IntelligentFormPopupWindow openEditForm(String formName, DocumentId docId, String popupTitle) Opens a form popup window in index mode for editing existing documents with the given form.- Parameters:
formName
- name of the form, which should be openeddocId
- document id of the document to editpopupTitle
- title of the form popup window- Returns:
- form popup window
-
openQueryForm
Opens a form popup window in query mode with the given form.- Parameters:
formName
- name of the form, which should be opened- Returns:
- form popup window
-
openQueryForm
Opens a form popup window in query mode with the given form.- Parameters:
formName
- name of the form, which should be openedpopupTitle
- title of the form popup window- Returns:
- form popup window
-