Package de.xima.fc.gui.common.statics
Enum EViews
- java.lang.Object
-
- java.lang.Enum<EViews>
-
- de.xima.fc.gui.common.statics.EViews
-
- All Implemented Interfaces:
IViewModel
,INamedUiElement
,Serializable
,Comparable<EViews>
public enum EViews extends Enum<EViews> implements INamedUiElement, IViewModel
-
-
Enum Constant Summary
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAME
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<EAccessProperty>
getAccessProperties()
static EViews
getById(String id)
static EViews
getByUri(String uri)
static IViewModel
getByUri(String uri, boolean isMasterServer)
static EViews
getByUriOrNull(String uri)
static EViews
getByViewTarget(String viewTarget, boolean isMasterServer)
Deprecated.String
getDisplayName(Locale locale)
String
getFacesRedirect()
String
getHelpId()
String
getId()
String
getLinkTarget()
String
getURI()
String
getViewTarget()
Deprecated.usegetURI()
boolean
isAllowed(ViewBean viewBean)
boolean
isExternal()
boolean
isProtected()
boolean
isPublic()
static boolean
isUriExternal(String uri)
static boolean
isUriLoginPage(String uri)
static boolean
isUriPublic(String uri)
void
setAccessProperties(List<EAccessProperty> accessProperties)
Deprecated.void
setHelpId(String helpId)
Deprecated.void
setId(String id)
Deprecated.void
setLinkTarget(String linkTarget)
Deprecated.void
setURI(String uri)
Deprecated.void
setViewTarget(String uri)
Deprecated.static EViews
valueOf(String name)
Returns the enum constant of this type with the specified name.static EViews
valueOfOrNull(String viewName)
static EViews[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE_LOGIN_RELATIVE
public static final EViews PRIVATE_LOGIN_RELATIVE
-
PRIVATE_LOGIN
public static final EViews PRIVATE_LOGIN
-
PROJEKT_OVERVIEW
public static final EViews PROJEKT_OVERVIEW
-
PROJEKT_NEW
public static final EViews PROJEKT_NEW
-
PROJEKT_XF_DESIGNER
public static final EViews PROJEKT_XF_DESIGNER
-
PROJEKT_DESIGNER_FORM
public static final EViews PROJEKT_DESIGNER_FORM
-
PROJEKT_DESIGNER_WORKFLOW
public static final EViews PROJEKT_DESIGNER_WORKFLOW
-
PROJEKT_DESIGNER_FORM_PDF_IMPORT
public static final EViews PROJEKT_DESIGNER_FORM_PDF_IMPORT
-
PROJEKT_DESIGNER
public static final EViews PROJEKT_DESIGNER
-
PROJEKT_PREVIEW
public static final EViews PROJEKT_PREVIEW
-
PROJEKT_PROVIDE
public static final EViews PROJEKT_PROVIDE
-
PROJEKT_WORKFLOW
public static final EViews PROJEKT_WORKFLOW
-
PROJEKT_RESOURCES
public static final EViews PROJEKT_RESOURCES
-
PROJEKT_VERSIONS
public static final EViews PROJEKT_VERSIONS
-
PROJEKT_DATATABLE
public static final EViews PROJEKT_DATATABLE
-
PROJEKT_INBOX
public static final EViews PROJEKT_INBOX
-
PROJEKT_COPY
public static final EViews PROJEKT_COPY
-
PROJEKT_IMPORT
public static final EViews PROJEKT_IMPORT
-
PROJECT_UPDATE
public static final EViews PROJECT_UPDATE
-
PROJEKT_ACCESS
public static final EViews PROJEKT_ACCESS
-
PROJEKT_PUBLISH
public static final EViews PROJEKT_PUBLISH
-
PROJEKT_DOI
public static final EViews PROJEKT_DOI
-
PROJECT_INVITE
public static final EViews PROJECT_INVITE
-
PROJEKT_PRINT_EXPORT
public static final EViews PROJEKT_PRINT_EXPORT
-
PROJEKT_PORTRAIT_EXPORT
public static final EViews PROJEKT_PORTRAIT_EXPORT
-
PROJECT_EXPORT
public static final EViews PROJECT_EXPORT
-
PROJECT_GROUP
public static final EViews PROJECT_GROUP
-
DASHBOARD
public static final EViews DASHBOARD
-
ADMIN_DASHBOARD
public static final EViews ADMIN_DASHBOARD
-
STATISTICS
public static final EViews STATISTICS
-
INBOXES
public static final EViews INBOXES
-
DATA
public static final EViews DATA
-
DATA_DB_CONNECTION
public static final EViews DATA_DB_CONNECTION
-
DATA_SOURCES
public static final EViews DATA_SOURCES
-
DATA_DB_QUERIES
public static final EViews DATA_DB_QUERIES
-
DATA_LDAP_CONNECTION
public static final EViews DATA_LDAP_CONNECTION
-
DATA_LDAP_QUERIES
public static final EViews DATA_LDAP_QUERIES
-
DATA_COUNTER
public static final EViews DATA_COUNTER
-
DATA_WEBDAV_CONNECTION
public static final EViews DATA_WEBDAV_CONNECTION
-
USER
public static final EViews USER
-
USER_USERS
public static final EViews USER_USERS
-
USER_GROUPS
public static final EViews USER_GROUPS
-
USER_ROLES
public static final EViews USER_ROLES
-
USER_LDAPGROUPS
public static final EViews USER_LDAPGROUPS
-
USER_EXTERNAL
public static final EViews USER_EXTERNAL
-
CLIENT
public static final EViews CLIENT
-
CLIENT_SETTINGS
public static final EViews CLIENT_SETTINGS
-
CLIENT_PLUGINS
public static final EViews CLIENT_PLUGINS
-
CLIENT_FRONTENDSERVER
public static final EViews CLIENT_FRONTENDSERVER
-
CLIENT_CONTRACT
public static final EViews CLIENT_CONTRACT
-
PROTOCOL
public static final EViews PROTOCOL
-
PROTOCOL_PROCESS
public static final EViews PROTOCOL_PROCESS
-
PROTOCOL_CLIENT
public static final EViews PROTOCOL_CLIENT
-
PROTOCOL_SYSTEM
public static final EViews PROTOCOL_SYSTEM
-
RESOURSES
public static final EViews RESOURSES
-
RESOURSES_CSS
public static final EViews RESOURSES_CSS
-
RESOURSES_XSLT
public static final EViews RESOURSES_XSLT
-
RESOURSES_HTML
public static final EViews RESOURSES_HTML
-
RESOURSES_TEXT
public static final EViews RESOURSES_TEXT
-
RESOURSES_MAIL
public static final EViews RESOURSES_MAIL
-
RESOURSES_URL
public static final EViews RESOURSES_URL
-
RESOURSES_FILE
public static final EViews RESOURSES_FILE
-
RESOURSES_VARIABLE
public static final EViews RESOURSES_VARIABLE
-
APPOINTMENTS
public static final EViews APPOINTMENTS
-
SETTINGS
public static final EViews SETTINGS
-
SETTINGS_LICENSE
public static final EViews SETTINGS_LICENSE
-
SETTINGS_INFO
public static final EViews SETTINGS_INFO
-
SETTINGS_DATABASE
public static final EViews SETTINGS_DATABASE
-
SETTINGS_AUTOMATIC_LOGIN
public static final EViews SETTINGS_AUTOMATIC_LOGIN
-
SETTINGS_CLIENTS
public static final EViews SETTINGS_CLIENTS
-
SETTINGS_EXTERNAL_USER
public static final EViews SETTINGS_EXTERNAL_USER
-
SETTINGS_FRONTENDSERVER
public static final EViews SETTINGS_FRONTENDSERVER
-
SETTINGS_CLUSTER
public static final EViews SETTINGS_CLUSTER
-
SETTINGS_LOGGING
public static final EViews SETTINGS_LOGGING
-
SETTINGS_PLUGIN
public static final EViews SETTINGS_PLUGIN
-
SETTINGS_MAILSERVER
public static final EViews SETTINGS_MAILSERVER
-
SETTINGS_GENRAL
public static final EViews SETTINGS_GENRAL
-
SETTINGS_LOOK_FEEL
public static final EViews SETTINGS_LOOK_FEEL
-
SETTINGS_MESSAGES
public static final EViews SETTINGS_MESSAGES
-
INBOX
public static final EViews INBOX
-
INBOX_REVIEW
public static final EViews INBOX_REVIEW
-
INBOX_WORKFLOW
public static final EViews INBOX_WORKFLOW
-
USER_PROFILE
public static final EViews USER_PROFILE
-
EXTERNAL_LOGIN
public static final EViews EXTERNAL_LOGIN
-
EXTERNAL
public static final EViews EXTERNAL
-
EXTERNALFD2
public static final EViews EXTERNALFD2
-
EXTERNAL_CP
public static final EViews EXTERNAL_CP
-
LOADING
public static final EViews LOADING
-
ERROR
public static final EViews ERROR
-
ERROR_GENERAL
public static final EViews ERROR_GENERAL
-
ERROR_ACCESS_DENIED
public static final EViews ERROR_ACCESS_DENIED
-
ERROR_NOT_FOUND
public static final EViews ERROR_NOT_FOUND
-
AJAX_LOGIN
public static final EViews AJAX_LOGIN
-
AJAX_LOGIN_BACK
public static final EViews AJAX_LOGIN_BACK
-
FORGOT_PW
public static final EViews FORGOT_PW
-
CHANGE_PW
public static final EViews CHANGE_PW
-
SET_PW
public static final EViews SET_PW
-
RESET_PW
public static final EViews RESET_PW
-
PROJEKT_DASH
@Deprecated public static final EViews PROJEKT_DASH
Deprecated.
-
PROTOCOL_ACTIONS
@Deprecated public static final EViews PROTOCOL_ACTIONS
Deprecated.
-
PROTOCOL_STATES
@Deprecated public static final EViews PROTOCOL_STATES
Deprecated.
-
SETTINGS_UPDATE
@Deprecated public static final EViews SETTINGS_UPDATE
Deprecated.
-
PRIVATE
@Deprecated public static final EViews PRIVATE
Deprecated.
-
FORMCYCLE_QA
@Deprecated public static final EViews FORMCYCLE_QA
Deprecated.
-
-
Method Detail
-
values
public static EViews[] 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 (EViews c : EViews.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EViews 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
-
getId
public String getId()
- Specified by:
getId
in interfaceIViewModel
- Returns:
- the id
-
getURI
public String getURI()
- Specified by:
getURI
in interfaceIViewModel
- Returns:
- The external URI for this EView, such as
/ui/protected/project/workflow.xhtml
-
getLinkTarget
public String getLinkTarget()
- Specified by:
getLinkTarget
in interfaceIViewModel
- Returns:
- Target for menu entry link f.e. _self, _blank, _top, framename
-
getHelpId
public String getHelpId()
- Specified by:
getHelpId
in interfaceIViewModel
- Returns:
- the helpId
-
getFacesRedirect
public String getFacesRedirect()
-
getAccessProperties
public List<EAccessProperty> getAccessProperties()
-
isExternal
public boolean isExternal()
- Specified by:
isExternal
in interfaceIViewModel
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceIViewModel
-
isProtected
public boolean isProtected()
-
isAllowed
public boolean isAllowed(ViewBean viewBean)
- Specified by:
isAllowed
in interfaceIViewModel
-
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).
-
getById
public static EViews getById(String id) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getByUri
public static EViews getByUri(String uri) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
getByUri
public static IViewModel getByUri(String uri, boolean isMasterServer) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
isUriExternal
public static boolean isUriExternal(String uri)
- Parameters:
uri
- uri to check.- Returns:
- Whether the given uri refers to an external view (eg. those used by the Typo3 extension etc.)
-
isUriLoginPage
public static boolean isUriLoginPage(String uri)
-
isUriPublic
public static boolean isUriPublic(String uri)
-
getViewTarget
@Deprecated public String getViewTarget()
Deprecated.usegetURI()
- Returns:
- The viewTarget for this EView
-
setViewTarget
@Deprecated public void setViewTarget(String uri)
Deprecated.
-
setId
@Deprecated public void setId(String id)
Deprecated.
-
setURI
@Deprecated public void setURI(String uri)
Deprecated.
-
setHelpId
@Deprecated public void setHelpId(String helpId)
Deprecated.
-
setLinkTarget
@Deprecated public void setLinkTarget(String linkTarget)
Deprecated.
-
setAccessProperties
@Deprecated public void setAccessProperties(List<EAccessProperty> accessProperties)
Deprecated.
-
getByViewTarget
@Deprecated public static EViews getByViewTarget(String viewTarget, boolean isMasterServer) throws IllegalArgumentException
Deprecated.- Parameters:
viewTarget
-String
the target view uriisMasterServer
-Boolean
if is masterServer- Returns:
EViews
the found view- Throws:
IllegalArgumentException
- if view is not found
-
-