Package org.cyclos.model.system.images
Enum TempImageTarget
- java.lang.Object
-
- java.lang.Enum<TempImageTarget>
-
- org.cyclos.model.system.images.TempImageTarget
-
- All Implemented Interfaces:
Serializable,Comparable<TempImageTarget>
public enum TempImageTarget extends Enum<TempImageTarget>
The possible targets (usages) for temporary images
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AD_CATEGORYThe image will be used for an advertisement categoryADVERTISEMENTThe image will be used for an advertisement of a specific userCONTACT_INFOThe image will be used for a public contact information of a specific userCUSTOM_VALUEThe image will be used for a value of a specific custom fieldDEFAULT_USERThe image will be used as the default user image in a configurationIDENTITY_PROVIDERThe image will be used for an external identity providerOIDC_CLIENTThe image will be used for an OpenID Connect clientUSER_PROFILEThe image will be used as a profile image for an existing userUSER_REGISTRATIONThe image will be used as a profile image for a newly registered userVOUCHER_CATEGORYThe image will be used for a voucher categoryVOUCHER_TYPEThe image will be used for a voucher type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanrequiresMember()booleanrequiresUser()static TempImageTargetvalueOf(String name)Returns the enum constant of this type with the specified name.static TempImageTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_REGISTRATION
public static final TempImageTarget USER_REGISTRATION
The image will be used as a profile image for a newly registered user
-
USER_PROFILE
public static final TempImageTarget USER_PROFILE
The image will be used as a profile image for an existing user
-
CONTACT_INFO
public static final TempImageTarget CONTACT_INFO
The image will be used for a public contact information of a specific user
-
ADVERTISEMENT
public static final TempImageTarget ADVERTISEMENT
The image will be used for an advertisement of a specific user
-
CUSTOM_VALUE
public static final TempImageTarget CUSTOM_VALUE
The image will be used for a value of a specific custom field
-
AD_CATEGORY
public static final TempImageTarget AD_CATEGORY
The image will be used for an advertisement category
-
VOUCHER_TYPE
public static final TempImageTarget VOUCHER_TYPE
The image will be used for a voucher type
-
VOUCHER_CATEGORY
public static final TempImageTarget VOUCHER_CATEGORY
The image will be used for a voucher category
-
DEFAULT_USER
public static final TempImageTarget DEFAULT_USER
The image will be used as the default user image in a configuration
-
OIDC_CLIENT
public static final TempImageTarget OIDC_CLIENT
The image will be used for an OpenID Connect client
-
IDENTITY_PROVIDER
public static final TempImageTarget IDENTITY_PROVIDER
The image will be used for an external identity provider
-
-
Method Detail
-
values
public static TempImageTarget[] 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 (TempImageTarget c : TempImageTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TempImageTarget 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
-
requiresMember
public boolean requiresMember()
-
requiresUser
public boolean requiresUser()
-
-