|
void | addRelation (String business, String contact, String relation) |
|
void | addStrongRelation (String business, String contact, String relation) |
|
- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 32 of file RelationSet.java.
◆ addRelation()
void org.turro.contacts.util.RelationSet.addRelation |
( |
String |
business, |
|
|
String |
contact, |
|
|
String |
relation |
|
) |
| |
Definition at line 36 of file RelationSet.java.
37 BusinessRelation r =
new BusinessRelation();
38 r.setContact(dao.find(Contact.class, contact));
39 r.setBusiness(dao.find(Contact.class, business));
40 r.setRelationType(relation);
◆ addStrongRelation()
void org.turro.contacts.util.RelationSet.addStrongRelation |
( |
String |
business, |
|
|
String |
contact, |
|
|
String |
relation |
|
) |
| |
Definition at line 46 of file RelationSet.java.
47 BusinessRelation r =
new BusinessRelation();
48 r.setContact(dao.find(Contact.class, contact));
49 r.setBusiness(dao.find(Contact.class, business));
50 r.setRelationType(relation);
The documentation for this class was generated from the following file: