|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jurismarches.vradi.ui.email.EmailHandler
public class EmailHandler
Handler de l'UI de gestion des email.
| Nested Class Summary | |
|---|---|
protected class |
EmailHandler.RemoveAllFormFromSession
|
protected class |
EmailHandler.RemoveFormFromSession
|
protected class |
EmailHandler.RemoveFormFromSessionForUser
|
| Constructor Summary | |
|---|---|
EmailHandler()
|
|
| Method Summary | |
|---|---|
void |
addAllGroupSending(JPanel ui,
Session session,
Form bean,
List values)
|
void |
addAllGroupSending(JPanel ui,
Session session,
List<Form> beanList,
List values)
|
void |
addAllUserSending(QueryMakerViewUI ui,
Session session,
Form bean,
List values)
|
void |
addAllUserSending(QueryMakerViewUI ui,
Session session,
List<Form> beanList,
List values)
|
void |
addGroupSending(JPanel ui,
Session session,
Form form,
Object selected)
|
void |
addGroupSending(JPanel ui,
Session session,
Form form,
Object selected,
boolean ask)
|
protected void |
addGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object selected)
|
protected void |
addGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object selected,
boolean ask)
|
void |
addUserSending(JPanel ui,
Session session,
Form form,
Object selected)
|
protected void |
addUserSending(JPanel ui,
Session session,
Form form,
Object selected,
boolean ask)
|
void |
addUserSending(JPanel ui,
Session session,
List<Form> forms,
Object selected)
|
protected void |
addUserSending(JPanel ui,
Session session,
List<Form> forms,
Object selected,
boolean ask)
|
protected boolean |
askAbordSending(EmailPopupUI ui,
String msg)
|
protected boolean |
askToAddGroups(JPanel ui,
String formAsString,
String groupAsString)
|
protected boolean |
askToAddUsers(JPanel ui,
String formAsString,
String userAsString)
|
protected boolean |
askToRemoveAllForm(JPanel ui,
String formAsString)
|
protected boolean |
askToRemoveUserForm(JPanel ui,
String userName,
String formAsString)
|
void |
bindEmailsWithForms(EmailPopupUI ui)
Lien les formulaires non lié sur la session selectionnée. |
protected boolean |
checkAllSending(EmailPopupUI ui,
Session session)
|
protected void |
close(jaxx.runtime.JAXXContext context)
|
void |
createNewSession(EmailPopupUI ui)
Creer une nouvelle session. |
void |
deleteSession(EmailPopupUI ui)
Close selected session in tree. |
void |
displayForm(jaxx.runtime.JAXXContext context,
VradiTreeNode node)
|
void |
displaySession(jaxx.runtime.JAXXContext context,
EmailNavigationTreeHelper helper,
VradiTreeNode node)
|
MouseListener |
getOfferListTableMouseListener(SendingViewUI ui)
Implementation du click (droit/gauche) sur la table des offres résultats/ Comportement : double clic : ouvre l'offre clic droit : changer le status, ajouter a une session de mail |
org.nuiton.wikitty.WikittyProxy |
getProxy()
|
protected List<Form> |
getSendingForms(Sending sending)
Recupere la liste des form pou un sending. |
protected Sending |
getSendingForUser(Session session,
String userId)
|
protected List<Sending> |
getSendingList(Session session)
|
protected Session |
getSessionBySending(String sendingId)
|
List<Session> |
getSessions(Date date)
|
SessionViewUI |
getSessionsListUI(jaxx.runtime.JAXXContext context)
|
SendingViewUI |
getSessionViewUI(jaxx.runtime.JAXXContext context)
|
VradiStorageService |
getStorageService()
|
protected List<String> |
getStringAsList(String s)
|
EmailPopupUI |
getUI(jaxx.runtime.JAXXContext context)
|
protected String |
getUserName(Sending sending)
|
EmailPopupUI |
init(jaxx.runtime.JAXXContext rootContext)
|
protected void |
openUI(jaxx.runtime.JAXXContext context,
jaxx.runtime.swing.CardLayout2 contentLayout,
JPanel content,
VradiTreeNode node)
Open UI depending on node type. |
protected void |
reloadTree(EmailPopupUI ui)
|
void |
removeGroupSending(JPanel ui,
Session session,
Form form,
Object[] selecteds)
|
void |
removeGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds)
|
void |
removeUserSending(JPanel ui,
Session session,
Form form,
Object[] selecteds)
|
protected void |
removeUserSending(JPanel ui,
Session session,
Form form,
Object[] selecteds,
boolean ask)
|
void |
removeUserSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds)
|
protected void |
removeUserSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds,
boolean ask)
|
protected void |
selectOffer(jaxx.runtime.JAXXContext context,
JTable listTable)
|
boolean |
send(EmailPopupUI ui)
Called to send a full session. |
void |
sendSending(SendingViewUI ui,
Sending sending)
Called to send only one simple sending. |
protected void |
showOfferListContextMenu(SendingViewUI ui,
org.jdesktop.swingx.JXTable table,
OfferListTableModel model,
MouseEvent e)
Le menu contextuel lors d'un clic droit sur la table. |
void |
updateParagraph(Sending sending,
String text)
|
void |
updateReceptionProof(Sending sending,
boolean isSelected)
|
Sending |
updateSendingStatus(Sending sending,
VradiConstants.SendingStatus status)
|
Session |
updateSessionStatus(Session session,
VradiConstants.SessionStatus status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailHandler()
| Method Detail |
|---|
public EmailPopupUI init(jaxx.runtime.JAXXContext rootContext)
public EmailPopupUI getUI(jaxx.runtime.JAXXContext context)
public SessionViewUI getSessionsListUI(jaxx.runtime.JAXXContext context)
public SendingViewUI getSessionViewUI(jaxx.runtime.JAXXContext context)
public VradiStorageService getStorageService()
public org.nuiton.wikitty.WikittyProxy getProxy()
protected void close(jaxx.runtime.JAXXContext context)
public List<Session> getSessions(Date date)
public void createNewSession(EmailPopupUI ui)
public void bindEmailsWithForms(EmailPopupUI ui)
ui - uiprotected List<Form> getSendingForms(Sending sending)
sending -
protected void openUI(jaxx.runtime.JAXXContext context,
jaxx.runtime.swing.CardLayout2 contentLayout,
JPanel content,
VradiTreeNode node)
context - dataProvider - contentLayout - content - node -
public void displaySession(jaxx.runtime.JAXXContext context,
EmailNavigationTreeHelper helper,
VradiTreeNode node)
public MouseListener getOfferListTableMouseListener(SendingViewUI ui)
protected void showOfferListContextMenu(SendingViewUI ui,
org.jdesktop.swingx.JXTable table,
OfferListTableModel model,
MouseEvent e)
offerListUI - l'ui d'originee - event du clic
protected boolean askToRemoveUserForm(JPanel ui,
String userName,
String formAsString)
protected boolean askToRemoveAllForm(JPanel ui,
String formAsString)
protected void selectOffer(jaxx.runtime.JAXXContext context,
JTable listTable)
public void displayForm(jaxx.runtime.JAXXContext context,
VradiTreeNode node)
public void addAllUserSending(QueryMakerViewUI ui,
Session session,
Form bean,
List values)
public void addAllUserSending(QueryMakerViewUI ui,
Session session,
List<Form> beanList,
List values)
public void addUserSending(JPanel ui,
Session session,
List<Form> forms,
Object selected)
protected void addUserSending(JPanel ui,
Session session,
List<Form> forms,
Object selected,
boolean ask)
public void addUserSending(JPanel ui,
Session session,
Form form,
Object selected)
protected void addUserSending(JPanel ui,
Session session,
Form form,
Object selected,
boolean ask)
protected boolean askToAddUsers(JPanel ui,
String formAsString,
String userAsString)
public void removeUserSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds)
protected void removeUserSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds,
boolean ask)
public void removeUserSending(JPanel ui,
Session session,
Form form,
Object[] selecteds)
protected void removeUserSending(JPanel ui,
Session session,
Form form,
Object[] selecteds,
boolean ask)
public void addAllGroupSending(JPanel ui,
Session session,
Form bean,
List values)
public void addAllGroupSending(JPanel ui,
Session session,
List<Form> beanList,
List values)
protected void addGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object selected)
protected void addGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object selected,
boolean ask)
public void addGroupSending(JPanel ui,
Session session,
Form form,
Object selected)
public void addGroupSending(JPanel ui,
Session session,
Form form,
Object selected,
boolean ask)
protected boolean askToAddGroups(JPanel ui,
String formAsString,
String groupAsString)
public void removeGroupSending(JPanel ui,
Session session,
List<Form> forms,
Object[] selecteds)
public void removeGroupSending(JPanel ui,
Session session,
Form form,
Object[] selecteds)
protected void reloadTree(EmailPopupUI ui)
public void sendSending(SendingViewUI ui,
Sending sending)
ui - parent uisending - sending to sendpublic boolean send(EmailPopupUI ui)
ui - parent ui
true if task has been
protected boolean checkAllSending(EmailPopupUI ui,
Session session)
protected boolean askAbordSending(EmailPopupUI ui,
String msg)
public Sending updateSendingStatus(Sending sending,
VradiConstants.SendingStatus status)
public Session updateSessionStatus(Session session,
VradiConstants.SessionStatus status)
protected String getUserName(Sending sending)
public void deleteSession(EmailPopupUI ui)
ui - parent ui
public void updateReceptionProof(Sending sending,
boolean isSelected)
public void updateParagraph(Sending sending,
String text)
protected List<Sending> getSendingList(Session session)
protected Sending getSendingForUser(Session session,
String userId)
protected Session getSessionBySending(String sendingId)
protected List<String> getStringAsList(String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||