public class FormPopupHelperContext extends Object
Constructor and Description |
---|
FormPopupHelperContext(String formName,
FormPopupType formType)
Creates the context with minimum of needed information.
|
Modifier and Type | Method and Description |
---|---|
String |
getDDC()
Gets the name of the definition (for new documents).
|
DocumentId |
getDocumentId()
Gets the document id (of the document to edit).
|
String |
getForm()
Gets the name of the form, which should be opened.
|
String |
getTitle()
Gets the title for the form popup window (default is 'Edit index [FORM_NAME]').
|
FormPopupType |
getType()
Gets the type of form popup window.
|
boolean |
isReadOnly()
Gets the read only parameter value (default is
false ). |
void |
setDDC(String ddc)
Sets the name of the definition.
|
void |
setDocumentId(DocumentId id)
Sets the document id.
|
void |
setReadOnly(boolean readOnly)
Sets the read only parameter value.
|
void |
setTitle(String title)
Sets the title for the form popup window.
|
public FormPopupHelperContext(String formName, FormPopupType formType)
formName
- name of the form, which should be openedformType
- type of the form popup windowpublic String getForm()
public FormPopupType getType()
public boolean isReadOnly()
false
).false
)public void setReadOnly(boolean readOnly)
readOnly
- value for read only parameterpublic String getTitle()
public void setTitle(String title)
title
- titel for the form popup windowpublic String getDDC()
null
public void setDDC(String ddc)
ddc
- name of the definitionpublic DocumentId getDocumentId()
public void setDocumentId(DocumentId id)
id
- document idCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.