com.jurismarches.vradi.ui.email.helpers
Enum EmailBeanConstant

java.lang.Object
  extended by java.lang.Enum<EmailBeanConstant>
      extended by com.jurismarches.vradi.ui.email.helpers.EmailBeanConstant
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EmailBeanConstant>

public enum EmailBeanConstant
extends java.lang.Enum<EmailBeanConstant>

Version:
$Revision: 1715 $ Last update : $Date: 2010-10-27 21:21:28 +0200 (mer., 27 oct. 2010) $ By : $Author: tchemit $
Author:
sletellier

Enum Constant Summary
FORM
           
GROUP
           
SESSION
           
USER
           
 
Field Summary
protected  java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> beanClass
           
protected  java.lang.Class<? extends EmailContentUI> uiClass
           
 
Method Summary
protected
<B extends org.nuiton.wikitty.BusinessEntity>
B
cast(java.lang.Class<B> toCast, org.nuiton.wikitty.BusinessEntity bean)
           
 java.lang.String decorate(Session currentSession, org.nuiton.wikitty.BusinessEntity bean)
           
 org.nuiton.wikitty.BusinessEntity getBean(VradiDataProvider provider, java.lang.String id)
           
 java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> getBeanClass()
           
static EmailBeanConstant getConstantByBeanClass(java.lang.Class<?> beanClass)
           
 java.lang.String getToolTipText(org.nuiton.wikitty.BusinessEntity bean)
           
 java.lang.Class<? extends EmailContentUI> getUIClass()
           
static java.lang.Class<? extends EmailContentUI> getUIClass(java.lang.Class<?> beanClass)
           
static EmailBeanConstant valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EmailBeanConstant[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GROUP

public static final EmailBeanConstant GROUP

USER

public static final EmailBeanConstant USER

FORM

public static final EmailBeanConstant FORM

SESSION

public static final EmailBeanConstant SESSION
Field Detail

beanClass

protected java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> beanClass

uiClass

protected java.lang.Class<? extends EmailContentUI> uiClass
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getBeanClass

public java.lang.Class<? extends org.nuiton.wikitty.BusinessEntity> getBeanClass()

getUIClass

public java.lang.Class<? extends EmailContentUI> getUIClass()

getConstantByBeanClass

public static EmailBeanConstant getConstantByBeanClass(java.lang.Class<?> beanClass)

getBean

public org.nuiton.wikitty.BusinessEntity getBean(VradiDataProvider provider,
                                                 java.lang.String id)

getUIClass

public static java.lang.Class<? extends EmailContentUI> getUIClass(java.lang.Class<?> beanClass)

decorate

public java.lang.String decorate(Session currentSession,
                                 org.nuiton.wikitty.BusinessEntity bean)

getToolTipText

public java.lang.String getToolTipText(org.nuiton.wikitty.BusinessEntity bean)

cast

protected <B extends org.nuiton.wikitty.BusinessEntity> B cast(java.lang.Class<B> toCast,
                                                               org.nuiton.wikitty.BusinessEntity bean)


Copyright © 2009-2010 JurisMarches. All Rights Reserved.