Package org.cyclos.impl.utils
Enum LinkType
- java.lang.Object
-
- java.lang.Enum<LinkType>
-
- org.cyclos.impl.utils.LinkType
-
- All Implemented Interfaces:
Serializable,Comparable<LinkType>
public enum LinkType extends Enum<LinkType>
Possible types of links to be generated by theLinkGeneratorHandler
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EASY_INVOICELink for paying an easy invoiceEMAIL_CHANGELink to validate the new e-mail before it is updatedEXTERNAL_REDIRECTCallback URL for a custom operation of type external URLHOMELink to the home pageIDENTITY_PROVIDER_CALLBACKLink for the callback URL when using an external identity providerIDENTITY_PROVIDER_REDIRECTLink for the redirect URL of the backend that redirects to the external identity providerINVITELink for a user invitationLOGINLink to the login pageMOBILELink to open directly in the mobile application, using the cyclos:// schemeMOBILE_REDIRECTLink to redirect to a mobile application pageNOTIFICATIONLink to be included in a notification, pointing to some related dataREGISTRATION_VALIDATIONLink to verify the e-mail after a user registrationREPLY_MESSAGELink for replying an internal messageROOTLink to the root pageTICKETLink for paying a given ticketUNSUBSCRIBE_EMAILLink for unsubscribing from a given e-mail typeVOUCHER_INFOLink for displaying information for a voucherWIZARD_EXECUTIONLink for a custom wizard executionWIZARD_EXTERNAL_REDIRECTCallback URL for a custom wizard with a step that performs an extenal redirect
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LinkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static LinkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT
public static final LinkType ROOT
Link to the root page
-
LOGIN
public static final LinkType LOGIN
Link to the login page
-
HOME
public static final LinkType HOME
Link to the home page
-
REGISTRATION_VALIDATION
public static final LinkType REGISTRATION_VALIDATION
Link to verify the e-mail after a user registration
-
EMAIL_CHANGE
public static final LinkType EMAIL_CHANGE
Link to validate the new e-mail before it is updated
-
NOTIFICATION
public static final LinkType NOTIFICATION
Link to be included in a notification, pointing to some related data
-
MOBILE_REDIRECT
public static final LinkType MOBILE_REDIRECT
Link to redirect to a mobile application page
-
MOBILE
public static final LinkType MOBILE
Link to open directly in the mobile application, using the cyclos:// scheme
-
EXTERNAL_REDIRECT
public static final LinkType EXTERNAL_REDIRECT
Callback URL for a custom operation of type external URL
-
WIZARD_EXTERNAL_REDIRECT
public static final LinkType WIZARD_EXTERNAL_REDIRECT
Callback URL for a custom wizard with a step that performs an extenal redirect
-
WIZARD_EXECUTION
public static final LinkType WIZARD_EXECUTION
Link for a custom wizard execution
-
TICKET
public static final LinkType TICKET
Link for paying a given ticket
-
EASY_INVOICE
public static final LinkType EASY_INVOICE
Link for paying an easy invoice
-
IDENTITY_PROVIDER_CALLBACK
public static final LinkType IDENTITY_PROVIDER_CALLBACK
Link for the callback URL when using an external identity provider
-
IDENTITY_PROVIDER_REDIRECT
public static final LinkType IDENTITY_PROVIDER_REDIRECT
Link for the redirect URL of the backend that redirects to the external identity provider
-
REPLY_MESSAGE
public static final LinkType REPLY_MESSAGE
Link for replying an internal message
-
UNSUBSCRIBE_EMAIL
public static final LinkType UNSUBSCRIBE_EMAIL
Link for unsubscribing from a given e-mail type
-
VOUCHER_INFO
public static final LinkType VOUCHER_INFO
Link for displaying information for a voucher
-
INVITE
public static final LinkType INVITE
Link for a user invitation
-
-
Method Detail
-
values
public static LinkType[] 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 (LinkType c : LinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LinkType 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
-
-