◆ ProposalListbox()
org.turro.contacts.zul.proposal.ProposalListbox.ProposalListbox |
( |
| ) |
|
◆ deleteSelected()
void org.turro.contacts.zul.proposal.ProposalListbox.deleteSelected |
( |
| ) |
throws InterruptedException |
Definition at line 119 of file ProposalListbox.java.
120 Messages.confirmDeletion().show(() -> {
121 Iterator<Listitem> it = getItems().iterator();
122 while(it.hasNext()) {
123 Listitem li = it.next();
124 if(li.isSelected()) {
125 proposals.remove((ContactProposal) li.getValue());
129 ProposalSet.
serialize(Application.getApplication(), proposals);
◆ importVCard()
void org.turro.contacts.zul.proposal.ProposalListbox.importVCard |
( |
| ) |
throws InterruptedException, IOException |
Definition at line 66 of file ProposalListbox.java.
67 Application app = Application.getApplication();
70 public Object execute(Context context) {
72 ProposalSet.serialize(Application.getApplication(), proposals);
◆ processSelected()
void org.turro.contacts.zul.proposal.ProposalListbox.processSelected |
( |
| ) |
throws InterruptedException, Exception |
Definition at line 97 of file ProposalListbox.java.
98 Messages.confirmProcess().show(() -> {
99 Iterator<Listitem> it = getItems().iterator();
100 while(it.hasNext()) {
101 Listitem li = it.next();
102 if(li.isSelected()) {
103 ContactProposal cp = (ContactProposal) li.getValue();
104 if(!cp.isNoAction()) {
107 proposals.remove(cp);
109 }
catch (Exception ex) {
110 Logger.getLogger(
ProposalListbox.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(
null), ex);
115 ProposalSet.
serialize(Application.getApplication(), proposals);
◆ processSingle()
void org.turro.contacts.zul.proposal.ProposalListbox.processSingle |
( |
ContactProposal |
proposal | ) |
throws InterruptedException, Exception |
Definition at line 78 of file ProposalListbox.java.
79 Iterator<Listitem> it = getItems().iterator();
82 Listitem li = it.next();
86 }
else if(li.getValue().equals(proposal)) {
87 ContactProposal cp = (ContactProposal) li.getValue();
94 ProposalSet.
serialize(Application.getApplication(), proposals);
◆ setSocialGroups()
void org.turro.contacts.zul.proposal.ProposalListbox.setSocialGroups |
( |
Collection< SocialGroupValue > |
socialGroups | ) |
|
◆ setType()
void org.turro.contacts.zul.proposal.ProposalListbox.setType |
( |
ContactType |
type | ) |
|
The documentation for this class was generated from the following file: