Package com.saperion.ngc.scripthelper
Class FormPopupHelper
- java.lang.Object
-
- com.saperion.ngc.scripthelper.FormPopupHelper
-
public final class FormPopupHelper extends java.lang.Object
Helper for opening a mask/form as popup.- Since:
- 7.5
- Author:
- art
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IntelligentFormPopupWindow
openEditForm(java.lang.String formName, DocumentId docId)
Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindow
openEditForm(java.lang.String formName, DocumentId docId, java.lang.String popupTitle)
Opens a form popup window in index mode for editing existing documents with the given form.static IntelligentFormPopupWindow
openIndexForm(java.lang.String formName)
Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openIndexForm(java.lang.String formName, java.lang.String popupTitle)
Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openIndexForm(java.lang.String formName, java.lang.String popupTitle, boolean readOnly)
Opens a form popup window in default mode with the given form.static IntelligentFormPopupWindow
openNewItemForm(java.lang.String formName, java.lang.String ddcName)
Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindow
openNewItemForm(java.lang.String formName, java.lang.String ddcName, java.lang.String popupTitle)
Opens a form popup window in index mode for new documents with the given form.static IntelligentFormPopupWindow
openQueryForm(java.lang.String formName)
Opens a form popup window in query mode with the given form.static IntelligentFormPopupWindow
openQueryForm(java.lang.String formName, java.lang.String popupTitle)
Opens a form popup window in query mode with the given form.
-
-
-
Method Detail
-
openIndexForm
public static IntelligentFormPopupWindow openIndexForm(java.lang.String formName)
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
public static IntelligentFormPopupWindow openIndexForm(java.lang.String formName, java.lang.String popupTitle)
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(java.lang.String formName, java.lang.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
public static IntelligentFormPopupWindow openNewItemForm(java.lang.String formName, java.lang.String ddcName)
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(java.lang.String formName, java.lang.String ddcName, java.lang.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
public static IntelligentFormPopupWindow openEditForm(java.lang.String formName, DocumentId docId)
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(java.lang.String formName, DocumentId docId, java.lang.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
public static IntelligentFormPopupWindow openQueryForm(java.lang.String formName)
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
public static IntelligentFormPopupWindow openQueryForm(java.lang.String formName, java.lang.String popupTitle)
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
-
-