19 package org.turro.assistant;
21 import java.util.Collection;
22 import java.util.Collections;
23 import java.util.List;
24 import org.turro.action.Contacts;
25 import org.turro.annotation.ExternalAssistant;
26 import org.turro.elephant.entities.db.QueueOptions;
27 import org.turro.elephant.security.IUser;
28 import org.turro.entities.Entities;
29 import org.turro.mail.queue.QueueManager;
30 import org.turro.plugin.contacts.IContact;
31 import org.turro.publication.entity.Publication;
32 import org.turro.publication.entity.PublicationCategory;
33 import org.turro.publication.util.PublicationElephantNotification;
43 public void add(Object entity,
boolean deep,
AssistantSet assistants, Object data) {
44 if(entity instanceof String) {
82 publicationCategory = ((
Publication) entity).getPublicationCategory();
86 if(publicationCategory !=
null) {
87 if((data instanceof String) && ((String) data).contains(
AssistantConstants.FROM_SUBSCRIPTIONS)) {
99 return Collections.EMPTY_LIST;
void addSubject(String value)
void addContact(IContact contact, Object relationEntity)
void addFromEntityPath(String entityPath, boolean deep, AssistantSet assistants, Object data)
void add(Object entity, boolean deep, AssistantSet assistants, Object data)
List< String > getParticiped(IContact contact)
void addFromEntity(Object entity, boolean deep, AssistantSet assistants, Object data)
void addFromEntityData(Object entity, AssistantSet assistants, Object data)
void addFromEntityPathData(String entityPath, AssistantSet assistants, Object data)
static IElephantEntity getController(String path)
Collection< QueueOptions > getSubcribers(String idCategory)
IContact getContactAuthor()
static String convertId(PublicationCategory category)
static final String CONNECTOR_EMAIL