- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 33 of file Assistants.java.
◆ addAssistants() [1/2]
static void org.turro.assistant.Assistants.addAssistants |
( |
String |
path, |
|
|
boolean |
deep, |
|
|
AssistantSet |
list, |
|
|
Object |
data |
|
) |
| |
|
static |
Definition at line 43 of file Assistants.java.
44 for(IAssistant iAssistant : Instances.cached().byAnnotation(ExternalAssistant.class, IAssistant.class)) {
45 iAssistant.add(path, deep, list, data);
47 iAssistant.addFromEntityPathData(path, list, data);
◆ addAssistants() [2/2]
static void org.turro.assistant.Assistants.addAssistants |
( |
String |
role, |
|
|
AssistantSet |
list, |
|
|
Object |
data |
|
) |
| |
|
static |
Definition at line 35 of file Assistants.java.
36 for(IContact c : Contacts.getByRole(role)) {
37 if(c !=
null && c.isWebUser()) {
38 list.add(
new Assistant(c.getName(), c.getConnector(IUser.CONNECTOR_EMAIL), c,
null));
◆ addAssistantsFromEntity()
static void org.turro.assistant.Assistants.addAssistantsFromEntity |
( |
Object |
entity, |
|
|
boolean |
deep, |
|
|
AssistantSet |
list, |
|
|
Object |
data |
|
) |
| |
|
static |
Definition at line 52 of file Assistants.java.
53 for(IAssistant iAssistant : Instances.cached().byAnnotation(ExternalAssistant.class, IAssistant.class)) {
54 iAssistant.addFromEntity(entity, deep, list, data);
56 iAssistant.addFromEntityData(entity, list, data);
◆ getParticipated()
static List<String> org.turro.assistant.Assistants.getParticipated |
( |
IContact |
contact | ) |
|
|
static |
Definition at line 61 of file Assistants.java.
62 List<String> participed =
new ArrayList<>();
63 for(IAssistant iAssistant : Instances.cached().byAnnotation(ExternalAssistant.class, IAssistant.class)) {
64 participed.addAll(iAssistant.getParticiped(contact));
The documentation for this class was generated from the following file: