Package de.xima.fc.security.endpoint
Enum EProjectView
- java.lang.Object
-
- java.lang.Enum<EProjectView>
-
- de.xima.fc.security.endpoint.EProjectView
-
- All Implemented Interfaces:
IView
,IWebEndpoint
,Serializable
,Comparable<EProjectView>
public enum EProjectView extends Enum<EProjectView> implements IView
View definitions that require an authenticated user and depend on a project.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizer
getAuthorizer()
IAvailabiltyResolver
getAvailibilityResolver()
String
getId()
EProjectView
getParent()
Returns the parent of this view.IUriResolver
getUriResolver()
String
toString()
static EProjectView
valueOf(String name)
Returns the enum constant of this type with the specified name.static EProjectView[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DESIGNER
public static final EProjectView DESIGNER
-
DESIGNER_FORM
public static final EProjectView DESIGNER_FORM
-
DESIGNER_WORKFLOW
public static final EProjectView DESIGNER_WORKFLOW
-
DESIGNER_PREVIEW
public static final EProjectView DESIGNER_PREVIEW
-
DESIGNER_PDF_IMPORT
public static final EProjectView DESIGNER_PDF_IMPORT
-
RESOURCES
public static final EProjectView RESOURCES
-
INBOX
public static final EProjectView INBOX
-
DATATABLE
public static final EProjectView DATATABLE
-
APPOINTMENTS
public static final EProjectView APPOINTMENTS
-
TEMPLATES_CSS
public static final EProjectView TEMPLATES_CSS
-
TEMPLATES_HTML
public static final EProjectView TEMPLATES_HTML
-
DATA_SOURCES
public static final EProjectView DATA_SOURCES
-
DATA_QUERIES_DB
public static final EProjectView DATA_QUERIES_DB
-
DATA_QUERIES_LDAP
public static final EProjectView DATA_QUERIES_LDAP
-
DATA_CONNECTION_DB
public static final EProjectView DATA_CONNECTION_DB
-
DATA_CONNECTION_LDAP
public static final EProjectView DATA_CONNECTION_LDAP
-
DATA_COUNTER
public static final EProjectView DATA_COUNTER
-
DATA_CONNECTION_WEBDAV
public static final EProjectView DATA_CONNECTION_WEBDAV
-
-
Method Detail
-
values
public static EProjectView[] 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 (EProjectView c : EProjectView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EProjectView 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 interfaceIWebEndpoint
- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
public IUriResolver getUriResolver()
- Specified by:
getUriResolver
in interfaceIWebEndpoint
- Returns:
- the uri resolver which defines the location of this endpoint.
-
getAvailibilityResolver
public IAvailabiltyResolver getAvailibilityResolver()
- Specified by:
getAvailibilityResolver
in interfaceIWebEndpoint
- Returns:
- the availability resolver that defines the availability requirements of this web endpoint. May be
null
. Ifnull
resolver is returned than the web endpoint is available.
-
getAuthorizer
public IAuthorizer getAuthorizer()
- Specified by:
getAuthorizer
in interfaceIWebEndpoint
- Returns:
- the authorizer that defines authorization requirements of this web endpoint. May be
null
. Ifnull
authorizer is returned than the view web enpoint is public, which means any user can access it.
-
getParent
@Nullable public EProjectView getParent()
Returns the parent of this view. If the view has a parent than this means the view is a sub view of this parent and can't stand on it's own. Therefore never redirect to views that are a sub view of its parent.- Returns:
- the parent of this view or
null
.
-
toString
public String toString()
- Overrides:
toString
in classEnum<EProjectView>
-
-