public interface FormType
Modifier and Type | Field and Description |
---|---|
static int |
DOCUMENT_FORM
Determines that this formtype is a document
|
static long |
EMAIL
Holds the oid of the formtype of emails
|
static int |
FOLDER_FORM
Determines that this formtype is a folder
|
static String |
FORM_PACKAGE
Deprecated.
can be configured. Use
Settings.getFormPackage() instead. |
static long |
MESSAGE_TEMPLATE
Holds the oid of the formtype for message templates
|
static long |
NEWS
Holds the oid of the formtype of news
|
static long |
NOTE
Holds the oid of the formtype of notes
|
static long |
ODTTEMPLATE
Holds the oid of the formtype of odttemplates
|
static int |
PROCESS_FORM
Determines that this formtype is a form
|
static long |
PROFILEPICTURE
Holds the oid of the formtype of profile pictures
|
static long |
RECENTLYUSED
Holds the oid of the formtype for the recently used folders
|
static long |
RECYCLEBIN
Holds the oid of the formtype of recycle bins
|
static long |
STANDARD_DOCUMENT
Holds the oid of the formtype of standard documents
|
static long |
STANDARD_FOLDER
Holds the oid of the formtype of standard folders
|
static int |
TEMPLATE_HTML
template type is HTML
|
static int |
TEMPLATE_XFORMS
template type is XFORMS
|
static int |
TEMPLATE_XHTML
template type is XHTML
|
static long |
VALUE
Holds the oid of the formtype of values
|
static long |
VALUELIST
Holds the oid of the formtype of valuelists
|
static long |
WEBLINK
Holds the oid of the formtype of web links
|
Modifier and Type | Method and Description |
---|---|
List<FormField> |
fieldList(int... includedTypes)
Return the fields of this form type.
|
Application |
getApplication()
Returns the application of the formtype.
|
String |
getClassName()
Returns the full qualified name of the class implementing the DMSForm represented by this
FormType.
|
String |
getDMSTableHandler()
Returns the name of the class specified as
DMSTableHandler . |
String |
getFileFilter()
Returns a string defining patterns to restrict the types of accepted files by this formtype (only relevant for FormTypes of Type
DOCUMENT_FORM ). |
int |
getHeight() |
String |
getId()
Return the id of the FormType.
|
int |
getKind()
Returns the kind of this FormType (e.g.
|
String |
getName()
Returns the name of the FormType
|
long |
getOid()
Returns the unique oid of the object.
|
String |
getTableDefinition() |
FormField |
getTableField(int subtableid)
Return the form-field for the subform table with the given id.
|
int |
getTemplateType()
type of form template: HTML, XHTML, XFORM
|
int |
getVersion()
Return the version of the FormType.
|
int |
getWidth() |
String |
getXhtmlPage()
returns the location of the xhtml-template
|
DMSForm |
newInstance()
Creates a new instance of the DMSForm represented by this FormType, but does
not insert it to the database (therefore the returned DMSForm will not have
an oid set).
|
static final int PROCESS_FORM
static final int DOCUMENT_FORM
static final int FOLDER_FORM
static final long NOTE
static final long STANDARD_DOCUMENT
static final long STANDARD_FOLDER
static final long WEBLINK
static final long NEWS
static final long VALUELIST
static final long VALUE
static final long EMAIL
static final long ODTTEMPLATE
static final long PROFILEPICTURE
static final long RECYCLEBIN
static final long RECENTLYUSED
static final long MESSAGE_TEMPLATE
static final int TEMPLATE_HTML
static final int TEMPLATE_XHTML
static final int TEMPLATE_XFORMS
@Deprecated static final String FORM_PACKAGE
Settings.getFormPackage()
instead.String getTableDefinition()
long getOid()
String getId()
int getVersion()
String getName()
String getClassName()
DMSForm newInstance()
int getKind()
Application getApplication()
int getWidth()
int getHeight()
String getDMSTableHandler()
DMSTableHandler
. This is only
usefull for formtypes of type FOLDER_FORM
int getTemplateType()
String getXhtmlPage()
String getFileFilter()
DOCUMENT_FORM
). See description of HTML file input attribute 'accept' for the syntax of such patterns.List<FormField> fieldList(int... includedTypes)
includedTypes
- if not empty, the result is restricted to the field types in the list.FormField getTableField(int subtableid)
subtableid
- id of the subform table@enterprise 10.0.38934 Copyright © 2001-2024 Groiss Informatics GmbH. All Rights Reserved.