com.jurismarches.vradi.ui.email.helpers
Enum EmailBeanConstant
java.lang.Object
java.lang.Enum<EmailBeanConstant>
com.jurismarches.vradi.ui.email.helpers.EmailBeanConstant
- All Implemented Interfaces:
- Serializable, Comparable<EmailBeanConstant>
public enum EmailBeanConstant
- extends Enum<EmailBeanConstant>
- Version:
- $Revision: 1715 $
Last update : $Date: 2010-10-27 21:21:28 +0200 (mer., 27 oct. 2010) $
By : $Author: tchemit $
- Author:
- sletellier
GROUP
public static final EmailBeanConstant GROUP
USER
public static final EmailBeanConstant USER
FORM
public static final EmailBeanConstant FORM
SESSION
public static final EmailBeanConstant SESSION
beanClass
protected Class<? extends org.nuiton.wikitty.BusinessEntity> beanClass
uiClass
protected Class<? extends EmailContentUI> uiClass
values
public static EmailBeanConstant[] 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 (EmailBeanConstant c : EmailBeanConstant.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EmailBeanConstant 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 name
NullPointerException - if the argument is null
getBeanClass
public Class<? extends org.nuiton.wikitty.BusinessEntity> getBeanClass()
getUIClass
public Class<? extends EmailContentUI> getUIClass()
getConstantByBeanClass
public static EmailBeanConstant getConstantByBeanClass(Class<?> beanClass)
getBean
public org.nuiton.wikitty.BusinessEntity getBean(VradiDataProvider provider,
String id)
getUIClass
public static Class<? extends EmailContentUI> getUIClass(Class<?> beanClass)
decorate
public String decorate(Session currentSession,
org.nuiton.wikitty.BusinessEntity bean)
getToolTipText
public String getToolTipText(org.nuiton.wikitty.BusinessEntity bean)
cast
protected <B extends org.nuiton.wikitty.BusinessEntity> B cast(Class<B> toCast,
org.nuiton.wikitty.BusinessEntity bean)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.