|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.context.DefaultJAXXContext
jaxx.runtime.context.DefaultApplicationContext
com.jurismarches.vradi.VradiContext
public class VradiContext
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jaxx.runtime.context.DefaultApplicationContext |
|---|
jaxx.runtime.context.DefaultApplicationContext.AutoLoad, jaxx.runtime.context.DefaultApplicationContext.MethodAccess |
| Field Summary | |
|---|---|
static jaxx.runtime.context.JAXXContextEntryDef<AdminPopupUI> |
ADMIN_UI_ENTRY_DEF
|
protected static jaxx.runtime.context.JAXXContextEntryDef<List<Client>> |
CLIENTS_ENTRY_DEF
where the clients are hold in context |
static jaxx.runtime.context.JAXXContextEntryDef<EmailPopupUI> |
EMAIL_UI_ENTRY_DEF
|
protected static jaxx.runtime.context.JAXXContextEntryDef<Map<String,VradiFormDTO>> |
FORMS_DTO_ENTRY_DEF
where the forms dto are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Form>> |
FORMS_ENTRY_DEF
where the forms are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<org.sharengo.wikitty.WikittyExtension>> |
FORMS_TYPE_ENTRY_DEF
where the forms type are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<Group>> |
GROUPS_ENTRY_DEF
where the groups are hold in context |
protected static VradiContext |
instance
l'intance partagée accessible après un appel à la méthode init() |
protected Object |
lock
Un objet pour bloquer le context |
static jaxx.runtime.context.JAXXContextEntryDef<VradiMainUI> |
MAIN_UI_ENTRY_DEF
|
static jaxx.runtime.context.JAXXContextEntryDef<List<OfferEditUI>> |
OFFERT_EDIT_UI_ENTRY_DEF
|
static jaxx.runtime.context.JAXXContextEntryDef<OfferListUI> |
OFFERT_LIST_UI_ENTRY_DEF
|
static jaxx.runtime.context.JAXXContextEntryDef<org.sharengo.wikitty.TreeNodeImpl> |
ROOT_TREE_NODE_ENTRY_DEF
|
static jaxx.runtime.context.JAXXContextEntryDef<SearchUI> |
SEARCH_UI_ENTRY_DEF
|
protected static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Sending>> |
SENDING_ENTRY_DEF
where the session are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<VradiSessionDTO>> |
SESSIONS_DTO_ENTRY_DEF
where the session are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Session>> |
SESSIONS_ENTRY_DEF
where the session are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<Status>> |
STATUSES_ENTRY_DEF
where the statuses are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<VradiThesaurusDTO> |
THESAURUS_ENTRY_DEF
where the thesaurus are hold in context |
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,jaxx.runtime.swing.navigation.NavigationModel>> |
THESAURUS_NAVIGATION_MODEL
|
protected static jaxx.runtime.context.JAXXContextEntryDef<Map<String,org.sharengo.wikitty.TreeNodeImpl>> |
TREE_NODE_ENTRY_DEF
where the clients are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<User>> |
USERS_ENTRY_DEF
where the users are hold in context |
protected static jaxx.runtime.context.JAXXContextEntryDef<List<XmlStream>> |
XMLSTREAMS_ENTRY_DEF
where the xmlStreams are hold in context |
| Fields inherited from class jaxx.runtime.context.DefaultApplicationContext |
|---|
entryListened, forwards, pcs |
| Fields inherited from class jaxx.runtime.context.DefaultJAXXContext |
|---|
data, PARENT_CONTEXT_ENTRY, parentContext |
| Constructor Summary | |
|---|---|
protected |
VradiContext()
|
| Method Summary | ||
|---|---|---|
static void |
addAllFormsDTOInEntryDef(List<VradiFormDTO> formList)
|
|
static void |
addAllFormsInEntryDef(List<Form> formList)
|
|
static void |
addAllSendingInEntryDef(List<Sending> sendingList)
|
|
static void |
addAllSessionDTOEntryDef(List<VradiSessionDTO> sessions)
|
|
static void |
addAllSessionEntryDef(List<Session> sessions)
|
|
static void |
addFormDTOInEntryDef(VradiFormDTO form)
|
|
static void |
addFormInEntryDef(Form form)
|
|
static
|
addIfNecessary(jaxx.runtime.context.JAXXContextEntryDef<List<T>> entryDef,
T o)
|
|
void |
close()
close the application's context. |
|
protected static
|
fillMap(List<E> value)
|
|
static List<Form> |
findAllFormsInEntryDef(List<VradiFormDTO> formDTOs)
|
|
static List<org.sharengo.wikitty.TreeNodeImpl> |
findAllTreeNodeInEntryDef(List<String> ids)
|
|
static VradiFormDTO |
findFormsDTOInEntryDef(String id)
|
|
static Form |
findFormsInEntryDef(String id)
|
|
protected static
|
findInMapRef(jaxx.runtime.context.JAXXContextEntryDef<Map<String,E>> ref,
String id)
|
|
static Sending |
findSendingInEntryDef(String id)
|
|
static Session |
findSessionInEntryDef(String id)
|
|
static org.sharengo.wikitty.TreeNodeImpl |
findTreeNodeInEntryDef(String id)
|
|
static VradiContext |
get()
Récupération du contexte applicatif. |
|
static jaxx.runtime.context.JAXXContextEntryDef<List<Client>> |
getClientsEntryDef()
|
|
static List<Client> |
getClientsInEntryDef()
|
|
jaxx.runtime.decorator.DecoratorProvider |
getDecoratorProvider()
|
|
jaxx.runtime.swing.renderer.DecoratorProviderListCellRenderer |
getDecoratorProviderListCellRenderer()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,VradiFormDTO>> |
getFormsDTOEntryDef()
|
|
static List<VradiFormDTO> |
getFormsDTOInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Form>> |
getFormsEntryDef()
|
|
static List<Form> |
getFormsInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<org.sharengo.wikitty.WikittyExtension>> |
getFormsTypeEntryDef()
|
|
static List<org.sharengo.wikitty.WikittyExtension> |
getFormsTypeInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<Group>> |
getGroupsEntryDef()
|
|
static List<Group> |
getGroupsInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<org.sharengo.wikitty.TreeNodeImpl> |
getRootTreeNodeEntryDef()
|
|
static org.sharengo.wikitty.TreeNodeImpl |
getRootTreeNodeInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Sending>> |
getSendingEntryDef()
|
|
static List<Sending> |
getSendingInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<VradiSessionDTO>> |
getSessionDTOEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Session>> |
getSessionEntryDef()
|
|
static List<VradiSessionDTO> |
getSessionsDTOInEntryDef()
|
|
static List<Session> |
getSessionsInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<Status>> |
getStatusEntryDef()
|
|
static List<Status> |
getStatusInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<VradiThesaurusDTO> |
getThesaurusEntryDef()
|
|
static VradiThesaurusDTO |
getThesaurusInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<Map<String,org.sharengo.wikitty.TreeNodeImpl>> |
getTreeNodeEntryDef()
|
|
static List<org.sharengo.wikitty.TreeNodeImpl> |
getTreeNodeInEntryDef()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<User>> |
getUsersEntryDef()
|
|
static List<User> |
getUsersInEntryDef()
|
|
VradiConfig |
getVradiConfig()
|
|
static jaxx.runtime.context.JAXXContextEntryDef<List<XmlStream>> |
getXmlStreamEntryDef()
|
|
static List<XmlStream> |
getXmlStreamInEntryDef()
|
|
static VradiContext |
init()
Permet l'initialisation du contexte applicatif et positionne l'instance partagée. |
|
static void |
initEntryDef()
|
|
static void |
initThesaurusDef()
|
|
static boolean |
isInit()
|
|
protected static void |
loadAllChildrenThesaurus(VradiThesaurusDTO thesaurusDTO)
|
|
void |
lock()
|
|
void |
releaseLock()
|
|
static void |
remove(org.sharengo.wikitty.BusinessEntity entity)
|
|
static void |
replace(org.sharengo.wikitty.BusinessEntity entity)
|
|
static void |
setClientsEntryDef(List<Client> values)
|
|
static void |
setFormsDTOEntryDef(List<VradiFormDTO> values)
|
|
static void |
setFormsEntryDef(List<Form> values)
|
|
static void |
setFormsTypeEntryDef(List<org.sharengo.wikitty.WikittyExtension> values)
|
|
static void |
setGroupsEntryDef(List<Group> values)
|
|
static void |
setRootTreeNodeEntryDef(org.sharengo.wikitty.TreeNodeImpl rootThesaurus)
|
|
static void |
setSendingEntryDef(List<Sending> values)
|
|
static void |
setSessionDTOEntryDef(List<VradiSessionDTO> values)
|
|
static void |
setSessionEntryDef(List<Session> values)
|
|
static void |
setStatusEntryDef(List<Status> values)
|
|
static void |
setThesaurusEntryDef(VradiThesaurusDTO value)
|
|
static void |
setTreeNodeEntryDef(List<org.sharengo.wikitty.TreeNodeImpl> value)
|
|
static void |
setUsersEntryDef(List<User> values)
|
|
static void |
setXmlStreamEntryDef(List<XmlStream> values)
|
|
| Methods inherited from class jaxx.runtime.context.DefaultApplicationContext |
|---|
addPropertyChangeListener, addPropertyChangeListener, addPropertyChangeListener, fireEntryChanged, fireEntryChanged, firePropertyChange, getContextValue, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, newAccess, newAccess, newInstance, removeContextValue, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, setContextValue |
| Methods inherited from class jaxx.runtime.context.DefaultJAXXContext |
|---|
clear, getContextValue, getEntry, getKey, getKeys, getParentContext, remove0, removeContextValue, setContextValue, setParentContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final jaxx.runtime.context.JAXXContextEntryDef<VradiMainUI> MAIN_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<OfferListUI> OFFERT_LIST_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<List<OfferEditUI>> OFFERT_EDIT_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<SearchUI> SEARCH_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<AdminPopupUI> ADMIN_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<EmailPopupUI> EMAIL_UI_ENTRY_DEF
public static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,jaxx.runtime.swing.navigation.NavigationModel>> THESAURUS_NAVIGATION_MODEL
public static final jaxx.runtime.context.JAXXContextEntryDef<org.sharengo.wikitty.TreeNodeImpl> ROOT_TREE_NODE_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<VradiThesaurusDTO> THESAURUS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,org.sharengo.wikitty.TreeNodeImpl>> TREE_NODE_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<Client>> CLIENTS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<User>> USERS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<Group>> GROUPS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<Status>> STATUSES_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<org.sharengo.wikitty.WikittyExtension>> FORMS_TYPE_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,Form>> FORMS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,VradiFormDTO>> FORMS_DTO_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<XmlStream>> XMLSTREAMS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<List<VradiSessionDTO>> SESSIONS_DTO_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,Session>> SESSIONS_ENTRY_DEF
protected static final jaxx.runtime.context.JAXXContextEntryDef<Map<String,Sending>> SENDING_ENTRY_DEF
protected static VradiContext instance
init()
protected final Object lock
| Constructor Detail |
|---|
protected VradiContext()
| Method Detail |
|---|
public static boolean isInit()
true si le context a été initialisé via la méthode
init(),
public static VradiContext init()
throws IllegalStateException
IllegalStateException - si un contexte applicatif a déja été positionné.
public static VradiContext get()
throws IllegalStateException
IllegalStateException - si le contexte n'a pas été initialisé via
la méthode init()
public void lock()
throws InterruptedException
InterruptedExceptionpublic void releaseLock()
public void close()
throws Exception
Exception - if any pb while closingpublic static jaxx.runtime.context.JAXXContextEntryDef<VradiThesaurusDTO> getThesaurusEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<Map<String,org.sharengo.wikitty.TreeNodeImpl>> getTreeNodeEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<Client>> getClientsEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<User>> getUsersEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<Group>> getGroupsEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<Status>> getStatusEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<org.sharengo.wikitty.WikittyExtension>> getFormsTypeEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Form>> getFormsEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<Map<String,VradiFormDTO>> getFormsDTOEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<XmlStream>> getXmlStreamEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Session>> getSessionEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<List<VradiSessionDTO>> getSessionDTOEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<Map<String,Sending>> getSendingEntryDef()
public static jaxx.runtime.context.JAXXContextEntryDef<org.sharengo.wikitty.TreeNodeImpl> getRootTreeNodeEntryDef()
public static VradiThesaurusDTO getThesaurusInEntryDef()
public static List<org.sharengo.wikitty.TreeNodeImpl> getTreeNodeInEntryDef()
public static List<Client> getClientsInEntryDef()
public static List<User> getUsersInEntryDef()
public static List<Group> getGroupsInEntryDef()
public static List<Status> getStatusInEntryDef()
public static List<org.sharengo.wikitty.WikittyExtension> getFormsTypeInEntryDef()
public static List<Form> getFormsInEntryDef()
public static List<VradiFormDTO> getFormsDTOInEntryDef()
public static List<XmlStream> getXmlStreamInEntryDef()
public static List<VradiSessionDTO> getSessionsDTOInEntryDef()
public static List<Session> getSessionsInEntryDef()
public static List<Sending> getSendingInEntryDef()
public static org.sharengo.wikitty.TreeNodeImpl getRootTreeNodeInEntryDef()
public static void setThesaurusEntryDef(VradiThesaurusDTO value)
public static void setTreeNodeEntryDef(List<org.sharengo.wikitty.TreeNodeImpl> value)
public static void setClientsEntryDef(List<Client> values)
public static void setUsersEntryDef(List<User> values)
public static void setGroupsEntryDef(List<Group> values)
public static void setStatusEntryDef(List<Status> values)
public static void setFormsTypeEntryDef(List<org.sharengo.wikitty.WikittyExtension> values)
public static void setFormsEntryDef(List<Form> values)
public static void setFormsDTOEntryDef(List<VradiFormDTO> values)
public static void setXmlStreamEntryDef(List<XmlStream> values)
public static void setSessionDTOEntryDef(List<VradiSessionDTO> values)
public static void setSessionEntryDef(List<Session> values)
public static void setSendingEntryDef(List<Sending> values)
public static void setRootTreeNodeEntryDef(org.sharengo.wikitty.TreeNodeImpl rootThesaurus)
public static org.sharengo.wikitty.TreeNodeImpl findTreeNodeInEntryDef(String id)
public static List<org.sharengo.wikitty.TreeNodeImpl> findAllTreeNodeInEntryDef(List<String> ids)
public static Form findFormsInEntryDef(String id)
public static List<Form> findAllFormsInEntryDef(List<VradiFormDTO> formDTOs)
public static VradiFormDTO findFormsDTOInEntryDef(String id)
public static Session findSessionInEntryDef(String id)
public static Sending findSendingInEntryDef(String id)
public static void addFormInEntryDef(Form form)
public static void addAllFormsInEntryDef(List<Form> formList)
public static void addFormDTOInEntryDef(VradiFormDTO form)
public static void addAllFormsDTOInEntryDef(List<VradiFormDTO> formList)
public static void addAllSendingInEntryDef(List<Sending> sendingList)
public static void addAllSessionEntryDef(List<Session> sessions)
public static void addAllSessionDTOEntryDef(List<VradiSessionDTO> sessions)
protected static <E extends org.sharengo.wikitty.BusinessEntity> E findInMapRef(jaxx.runtime.context.JAXXContextEntryDef<Map<String,E>> ref,
String id)
protected static <E extends org.sharengo.wikitty.BusinessEntity> Map<String,E> fillMap(List<E> value)
public VradiConfig getVradiConfig()
public jaxx.runtime.decorator.DecoratorProvider getDecoratorProvider()
public jaxx.runtime.swing.renderer.DecoratorProviderListCellRenderer getDecoratorProviderListCellRenderer()
public static <T> void addIfNecessary(jaxx.runtime.context.JAXXContextEntryDef<List<T>> entryDef,
T o)
public static void initThesaurusDef()
throws VradiException
VradiExceptionprotected static void loadAllChildrenThesaurus(VradiThesaurusDTO thesaurusDTO)
public static void initEntryDef()
public static void replace(org.sharengo.wikitty.BusinessEntity entity)
public static void remove(org.sharengo.wikitty.BusinessEntity entity)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||