com.groiss.dms
Interface FormType


public interface FormType

The type of a DMSForm


Field Summary
static int DOCUMENT_FORM
          Determines that this formtype is a document
static long EMAIL
          Email formtype
static int FOLDER_FORM
          Determines that this formtype is a folder
static long NOTE
          Holds the oid for notes
static int PROCESS_FORM
          Determines that this formtype is a form
static long STANDARD_DOCUMENT
          Holds the oid for standard documents
static long STANDARD_FOLDER
          Holds the oid for 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 WEBLINK
          Holds the oid for web links
 
Method Summary
 java.lang.String getClassName()
          Returns the full qualified name of the class implementing the DMSForm represented by this FormType.
 java.lang.String getDMSTableHandler()
          Returns the name of the class specified as DMSTableHandler.
 int getHeight()
           
 java.lang.String getId()
          Return the id of the FormType.
 int getKind()
          Returns the kind of this FormType (e.g.
 java.lang.String getName()
          Returns the name of the FormType
 long getOid()
          Returns the unique oid of the object.
 int getTemplateType()
          type of form template: HTML, XHTML, XFORM
 int getVersion()
          Return the version of the FormType.
 int getWidth()
           
 java.lang.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).
 

Field Detail

PROCESS_FORM

static final int PROCESS_FORM
Determines that this formtype is a form

See Also:
Constant Field Values

DOCUMENT_FORM

static final int DOCUMENT_FORM
Determines that this formtype is a document

See Also:
Constant Field Values

FOLDER_FORM

static final int FOLDER_FORM
Determines that this formtype is a folder

See Also:
Constant Field Values

STANDARD_DOCUMENT

static final long STANDARD_DOCUMENT
Holds the oid for standard documents

See Also:
Constant Field Values

STANDARD_FOLDER

static final long STANDARD_FOLDER
Holds the oid for standard folders

See Also:
Constant Field Values

NOTE

static final long NOTE
Holds the oid for notes

See Also:
Constant Field Values

WEBLINK

static final long WEBLINK
Holds the oid for web links

See Also:
Constant Field Values

EMAIL

static final long EMAIL
Email formtype

See Also:
Constant Field Values

TEMPLATE_HTML

static final int TEMPLATE_HTML
template type is HTML

See Also:
Constant Field Values

TEMPLATE_XHTML

static final int TEMPLATE_XHTML
template type is XHTML

See Also:
Constant Field Values

TEMPLATE_XFORMS

static final int TEMPLATE_XFORMS
template type is XFORMS

See Also:
Constant Field Values
Method Detail

getOid

long getOid()
Returns the unique oid of the object.

Returns:
the oid

getId

java.lang.String getId()
Return the id of the FormType.

Returns:
the id

getVersion

int getVersion()
Return the version of the FormType.

Returns:
the version, a natural number

getName

java.lang.String getName()
Returns the name of the FormType

Returns:
the name, a string object

getClassName

java.lang.String getClassName()
Returns the full qualified name of the class implementing the DMSForm represented by this FormType.


newInstance

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).


getKind

int getKind()
Returns the kind of this FormType (e.g. PROCESS_FORM)


getWidth

int getWidth()

getHeight

int getHeight()

getDMSTableHandler

java.lang.String getDMSTableHandler()
Returns the name of the class specified as DMSTableHandler. This is only usefull for formtypes of type FOLDER_FORM


getTemplateType

int getTemplateType()
type of form template: HTML, XHTML, XFORM


getXhtmlPage

java.lang.String getXhtmlPage()
returns the location of the xhtml-template

Returns:
the location of the xhtml-template


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.