Package de.xima.fc.security.endpoint
Enum EDesignerEndpoint
- java.lang.Object
-
- java.lang.Enum<EDesignerEndpoint>
-
- de.xima.fc.security.endpoint.EDesignerEndpoint
-
- All Implemented Interfaces:
IWebEndpoint
,Serializable
,Comparable<EDesignerEndpoint>
public enum EDesignerEndpoint extends Enum<EDesignerEndpoint> implements IWebEndpoint
Default definitions for designer web endpoints.- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PREVIEW_SUBMIT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IAuthorizer
getAuthorizer()
IAvailabiltyResolver
getAvailibilityResolver()
@NotEmpty String
getId()
@NotNull IUriResolver
getUriResolver()
String
toString()
static EDesignerEndpoint
valueOf(String name)
Returns the enum constant of this type with the specified name.static EDesignerEndpoint[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PREVIEW_SUBMIT
public static final EDesignerEndpoint PREVIEW_SUBMIT
-
-
Method Detail
-
values
public static EDesignerEndpoint[] 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 (EDesignerEndpoint c : EDesignerEndpoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EDesignerEndpoint 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
@NotEmpty public @NotEmpty String getId()
- Specified by:
getId
in interfaceIWebEndpoint
- Returns:
- the unique ID of this web endpoint.
-
getUriResolver
@NotNull public @NotNull 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.
-
toString
public String toString()
- Overrides:
toString
in classEnum<EDesignerEndpoint>
-
-