Package de.xima.fc.user_portal.route
Enum EUserPortalGeneralView
- java.lang.Object
-
- java.lang.Enum<EUserPortalGeneralView>
-
- de.xima.fc.user_portal.route.EUserPortalGeneralView
-
- All Implemented Interfaces:
IAnyUserPortalRoute,IUserPortalRoute<IRoutingContext>,Serializable,Comparable<EUserPortalGeneralView>
public enum EUserPortalGeneralView extends Enum<EUserPortalGeneralView> implements IUserPortalRoute<IRoutingContext>
Generic views for the user portal that do not require any specific context.- Since:
- 8.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_GENERALERROR_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intdefaultStatusCode()The default HTTP status code to return.Stringid()Gets the ID of this route.org.ocpsoft.rewrite.servlet.config.HttpConfigurationProviderrewriteConfigurator()Gets the configurator for the configuring rewrite rules for this route.IUserPortalRouterUrlHandler<IRoutingContext>urlHandler()Gets the URL handler for this route.static EUserPortalGeneralViewvalueOf(String name)Returns the enum constant of this type with the specified name.static EUserPortalGeneralView[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERROR_GENERAL
public static final EUserPortalGeneralView ERROR_GENERAL
-
ERROR_NOT_FOUND
public static final EUserPortalGeneralView ERROR_NOT_FOUND
-
-
Method Detail
-
values
public static EUserPortalGeneralView[] 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 (EUserPortalGeneralView c : EUserPortalGeneralView.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EUserPortalGeneralView 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
-
defaultStatusCode
public int defaultStatusCode()
Description copied from interface:IAnyUserPortalRouteThe default HTTP status code to return. Defaults to 200.- Specified by:
defaultStatusCodein interfaceIAnyUserPortalRoute- Returns:
- The default HTTP status code.
-
id
public String id()
Description copied from interface:IAnyUserPortalRouteGets the ID of this route.- Specified by:
idin interfaceIAnyUserPortalRoute- Returns:
- The ID.
-
rewriteConfigurator
public org.ocpsoft.rewrite.servlet.config.HttpConfigurationProvider rewriteConfigurator()
Description copied from interface:IAnyUserPortalRouteGets the configurator for the configuring rewrite rules for this route.- Specified by:
rewriteConfiguratorin interfaceIAnyUserPortalRoute- Returns:
- The rewrite configurator.
-
urlHandler
public IUserPortalRouterUrlHandler<IRoutingContext> urlHandler()
Description copied from interface:IAnyUserPortalRouteGets the URL handler for this route.- Specified by:
urlHandlerin interfaceIAnyUserPortalRoute- Specified by:
urlHandlerin interfaceIUserPortalRoute<IRoutingContext>- Returns:
- The URL handler.
-
-