◆ checkBusiness()
static boolean org.turro.plugin.contacts.ContactRelations.checkBusiness |
( |
String |
businessId, |
|
|
String |
workerId |
|
) |
| |
|
static |
Definition at line 70 of file ContactRelations.java.
71 return CompareUtil.compare(businessId, workerId) != 0 &&
72 getWorkers(businessId,
MODE_ALL).stream().noneMatch(b -> b.getRelatedId().equals(workerId));
◆ getBusiness() [1/2]
◆ getBusiness() [2/2]
static List<IContactRelation> org.turro.plugin.contacts.ContactRelations.getBusiness |
( |
String |
idContact, |
|
|
int |
mode |
|
) |
| |
|
static |
Definition at line 38 of file ContactRelations.java.
39 List<IContactRelation> list =
new ArrayList<>();
40 for(IContactRelationSolver process : Instances.cached().byAnnotation(ElephantRelationSolver.class, IContactRelationSolver.class)) {
41 if(checkMode(mode, process)) list.addAll(process.getBusiness(idContact));
◆ getRelations() [1/2]
◆ getRelations() [2/2]
static List<IContactRelation> org.turro.plugin.contacts.ContactRelations.getRelations |
( |
String |
idContact, |
|
|
int |
mode |
|
) |
| |
|
static |
Definition at line 62 of file ContactRelations.java.
63 List<IContactRelation> list =
new ArrayList<>();
64 for(IContactRelationSolver process : Instances.cached().byAnnotation(ElephantRelationSolver.class, IContactRelationSolver.class)) {
65 if(checkMode(mode, process)) list.addAll(process.getRelations(idContact));
◆ getWorkers() [1/2]
◆ getWorkers() [2/2]
static List<IContactRelation> org.turro.plugin.contacts.ContactRelations.getWorkers |
( |
String |
idContact, |
|
|
int |
mode |
|
) |
| |
|
static |
Definition at line 50 of file ContactRelations.java.
51 List<IContactRelation> list =
new ArrayList<>();
52 for(IContactRelationSolver process : Instances.cached().byAnnotation(ElephantRelationSolver.class, IContactRelationSolver.class)) {
53 if(checkMode(mode, process)) list.addAll(process.getWorkers(idContact));
◆ MODE_ALL
final int org.turro.plugin.contacts.ContactRelations.MODE_ALL = 0 |
|
static |
The documentation for this class was generated from the following file: