Revision 38117
Added by Katerina Iatropoulou almost 9 years ago
DocumentProvider.java | ||
---|---|---|
7 | 7 |
import gr.uoa.di.web.utils.ep.EPManager; |
8 | 8 |
import gr.uoa.di.web.utils.ep.EPManagerException; |
9 | 9 |
import gr.uoa.di.web.utils.ep.domain.Node; |
10 |
import org.apache.log4j.Logger; |
|
10 | 11 |
|
11 | 12 |
import java.util.ArrayList; |
12 | 13 |
import java.util.List; |
13 | 14 |
|
14 |
import org.apache.log4j.Logger; |
|
15 |
|
|
16 | 15 |
public class DocumentProvider { |
17 | 16 |
|
18 | 17 |
private EPManager epManager = null; |
... | ... | |
31 | 30 |
|
32 | 31 |
if (xmlDoc != null) { |
33 | 32 |
Document doc = getDocumentReader().read(xmlDoc); |
34 |
if (!doc.getFieldValues("CobjTypology").get(0).toLowerCase().equals("textual")) {
|
|
33 |
if (!doc.getFieldValues("CobjTypology").get(0).toLowerCase().equals("*")) {
|
|
35 | 34 |
logger.debug("Found indexed compound object " + id); |
36 | 35 |
logger.debug("Updating indexed compound object from dlms " + id); |
37 | 36 |
//TODO: uncomment went dlms is ready! |
Also available in: Unified diff
updated uoa-web-utils to work with Solr index and DatasourceManager - related to #993