Package de.xima.fc.mdl.enums
Enum EFormOfflineMode
- All Implemented Interfaces:
INamedUiElement
,Serializable
,Comparable<EFormOfflineMode>
Enumeration with the possible behaviors how a form record is treated when the associated form is currently offline.
- Since:
- 7.0.9
- Author:
- XIMA MEDIA GmbH
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionExisting form records can never be accessed when the form is offline.Existing form records can be viewed when the form is offline.Existing form records can be viewed and submitted when the form is offline. -
Field Summary
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static EFormOfflineMode
Returns the enum constant of this type with the specified name.static EFormOfflineMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FORBIDDEN
Existing form records can never be accessed when the form is offline. -
READ
Existing form records can be viewed when the form is offline. -
READ_WRITE
Existing form records can be viewed and submitted when the form is offline.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplayName
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
isReadAllowed
public boolean isReadAllowed()- Returns:
- Wheher the form can be viewed when a form record exists but the associated form is offline.
-
isWriteAllowed
public boolean isWriteAllowed()- Returns:
- Wheher the form can be submitted when a form record exists but the associated form is offline.
-