Enum MessageDirectionExternalUser
- java.lang.Object
-
- java.lang.Enum<MessageDirectionExternalUser>
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.email.config.MessageDirectionExternalUser
-
- All Implemented Interfaces:
Serializable,Comparable<MessageDirectionExternalUser>
public enum MessageDirectionExternalUser extends Enum<MessageDirectionExternalUser>
This enum represents the direction of the message for the external user email task
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_TO_EXTERNAL_USEREXTERNAL_USER_TO_AGENTRE_AGENT_TO_EXTERNAL_USER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLocalizedMessage(Locale locale)Gives the localized messagestatic fr.paris.lutece.util.ReferenceListgetReferenceList(Locale locale)Builds a RefenrenceList object containing all the MessageDirectionExternalUser objectsstatic MessageDirectionExternalUservalueOf(int nMessageDirectionExternalUserId)returns MessageDirectionExternalUser enum from idstatic MessageDirectionExternalUservalueOf(String name)Returns the enum constant of this type with the specified name.static MessageDirectionExternalUser[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_USER_TO_AGENT
public static final MessageDirectionExternalUser EXTERNAL_USER_TO_AGENT
-
AGENT_TO_EXTERNAL_USER
public static final MessageDirectionExternalUser AGENT_TO_EXTERNAL_USER
-
RE_AGENT_TO_EXTERNAL_USER
public static final MessageDirectionExternalUser RE_AGENT_TO_EXTERNAL_USER
-
-
Method Detail
-
values
public static MessageDirectionExternalUser[] 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 (MessageDirectionExternalUser c : MessageDirectionExternalUser.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageDirectionExternalUser 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
-
valueOf
public static MessageDirectionExternalUser valueOf(int nMessageDirectionExternalUserId)
returns MessageDirectionExternalUser enum from id- Parameters:
nMessageDirectionExternalUserId- level value- Returns:
- MessageDirectionExternalUser enum
-
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
Gives the localized message- Parameters:
locale- the locale to use- Returns:
- the message
-
getReferenceList
public static fr.paris.lutece.util.ReferenceList getReferenceList(Locale locale)
Builds a RefenrenceList object containing all the MessageDirectionExternalUser objects- Parameters:
locale- the locale used to retrieve the localized messages- Returns:
- the ReferenceList object
-
-