public enum MessageDirectionExternalUser extends Enum<MessageDirectionExternalUser>
Enum Constant and Description |
---|
AGENT_TO_EXTERNAL_USER |
EXTERNAL_USER_TO_AGENT |
RE_AGENT_TO_EXTERNAL_USER |
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedMessage(Locale locale)
Gives the localized message
|
static fr.paris.lutece.util.ReferenceList |
getReferenceList(Locale locale)
Builds a RefenrenceList object containing all the MessageDirectionExternalUser objects
|
static MessageDirectionExternalUser |
valueOf(int nMessageDirectionExternalUserId)
returns MessageDirectionExternalUser enum from id
|
static MessageDirectionExternalUser |
valueOf(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.
|
public static final MessageDirectionExternalUser EXTERNAL_USER_TO_AGENT
public static final MessageDirectionExternalUser AGENT_TO_EXTERNAL_USER
public static final MessageDirectionExternalUser RE_AGENT_TO_EXTERNAL_USER
public static MessageDirectionExternalUser[] values()
for (MessageDirectionExternalUser c : MessageDirectionExternalUser.values()) System.out.println(c);
public static MessageDirectionExternalUser valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MessageDirectionExternalUser valueOf(int nMessageDirectionExternalUserId)
nMessageDirectionExternalUserId
- level valuepublic String getLocalizedMessage(Locale locale)
locale
- the locale to usepublic static fr.paris.lutece.util.ReferenceList getReferenceList(Locale locale)
locale
- the locale used to retrieve the localized messagesCopyright © 2020 City of Paris. All rights reserved.