Package de.xima.fc.gui.common.statics
Enum EContentView
- java.lang.Object
-
- java.lang.Enum<EContentView>
-
- de.xima.fc.gui.common.statics.EContentView
-
- All Implemented Interfaces:
IViewModel
,INamedUiElement
,Serializable
,Comparable<EContentView>
public enum EContentView extends Enum<EContentView> implements IViewModel, INamedUiElement
Enumeration describing views to formcycle content pages. Mainly for use inside IFrames.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPOINTMENTS
DATA_CONNECTION_DB
DATA_CONNECTION_LDAP
DATA_COUNTER
DATA_QUERIES_DB
DATA_QUERIES_LDAP
DATA_SOURCES
FORM
The form designer that lets the user edit the current form fields and styling of the web form.FORM_PDF_IMPORT
Separate popup page with the PDF importer.FORM_PREVIEW
PROJECT_DATATABLE
PROJECT_INBOX
PROJECT_RESOURCES
Lets the user edit the files belonging to the current project.TEMPLATES_CSS
TEMPLATES_HTML
WEBDAV_CONNECTION_DB
WORKFLOW
The workflow designer that lets the user edit the workflow configuration that determines what happens when the form is submitted.
-
Field Summary
Fields Modifier and Type Field Description static EContentView
PARENT
The content view that represents the parent designer page, i.e.-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
-
-
-
Enum Constant Detail
-
FORM
public static final EContentView FORM
The form designer that lets the user edit the current form fields and styling of the web form.
-
FORM_PDF_IMPORT
public static final EContentView FORM_PDF_IMPORT
Separate popup page with the PDF importer.
-
WORKFLOW
public static final EContentView WORKFLOW
The workflow designer that lets the user edit the workflow configuration that determines what happens when the form is submitted.
-
FORM_PREVIEW
public static final EContentView FORM_PREVIEW
-
PROJECT_RESOURCES
public static final EContentView PROJECT_RESOURCES
Lets the user edit the files belonging to the current project.
-
PROJECT_INBOX
public static final EContentView PROJECT_INBOX
-
PROJECT_DATATABLE
public static final EContentView PROJECT_DATATABLE
-
APPOINTMENTS
public static final EContentView APPOINTMENTS
-
TEMPLATES_CSS
public static final EContentView TEMPLATES_CSS
-
TEMPLATES_HTML
public static final EContentView TEMPLATES_HTML
-
DATA_QUERIES_DB
public static final EContentView DATA_QUERIES_DB
-
DATA_QUERIES_LDAP
public static final EContentView DATA_QUERIES_LDAP
-
DATA_SOURCES
public static final EContentView DATA_SOURCES
-
DATA_CONNECTION_DB
public static final EContentView DATA_CONNECTION_DB
-
DATA_CONNECTION_LDAP
public static final EContentView DATA_CONNECTION_LDAP
-
DATA_COUNTER
public static final EContentView DATA_COUNTER
-
WEBDAV_CONNECTION_DB
public static final EContentView WEBDAV_CONNECTION_DB
-
-
Field Detail
-
PARENT
public static EContentView PARENT
The content view that represents the parent designer page, i.e.null
-
-
Method Detail
-
values
public static EContentView[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EContentView c : EContentView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EContentView valueOf(String name)
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
public String getDisplayName(Locale locale)
- Specified by:
getDisplayName
in interfaceINamedUiElement
- Specified by:
getDisplayName
in interfaceIViewModel
- Returns:
- Wert, der das entsprechende Objekt an Oberfläche repräsentiert (wird i.A. zur Laufzeit ermittelt).
-
getDisplayTitle
public String getDisplayTitle(Locale locale)
- Parameters:
locale
- Locale to use.- Returns:
- The title (tooltip) for this view in the given locale.
-
getCategory
public EContentViewCategory getCategory()
- Returns:
- The title (tooltip) for this view in the given locale.
-
getParentView
public IView getParentView()
-
getURI
@Deprecated public String getURI()
Deprecated.Should be replaced by method that build URI with context data (seeIUriResolver.buildUri(de.xima.fc.security.interfaces.endpoint.uri.IUriBuilderContext)
).- Specified by:
getURI
in interfaceIViewModel
-
getExtenalURI
public String getExtenalURI(FormVersion formVersion)
-
getHelpId
public String getHelpId()
- Specified by:
getHelpId
in interfaceIViewModel
-
getIcon
public IGuiIcon getIcon()
- Returns:
- The icon for this view.
-
getId
public String getId()
- Specified by:
getId
in interfaceIViewModel
- Returns:
- Tab ID of this designer view.
-
getById
public static EContentView getById(String id)
- Parameters:
id
- An ID as returned bygetId()
.- Returns:
- The corresponding designer view for the given ID, or
null
when no such view exists.
-
getByUri
public static EContentView getByUri(String uri)
-
getAccessProperties
@Deprecated public EAccessProperty[] getAccessProperties()
Deprecated.UseIWebEndpoint.getAuthorizer()
fromgetParentView()
isntead.
-
getParent
@Deprecated public EViews getParent()
Deprecated.
-
isPublic
@Deprecated public boolean isPublic()
Deprecated.- Specified by:
isPublic
in interfaceIViewModel
-
isAllowed
@Deprecated public boolean isAllowed(ViewBean viewBean)
Deprecated.- Specified by:
isAllowed
in interfaceIViewModel
-
getLinkTarget
@Deprecated public String getLinkTarget()
Deprecated.- Specified by:
getLinkTarget
in interfaceIViewModel
-
isExternal
@Deprecated public boolean isExternal()
Deprecated.- Specified by:
isExternal
in interfaceIViewModel
-
-