1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.store; |
21 |
|
|
22 |
|
import java.util.ArrayList; |
23 |
|
import java.util.List; |
24 |
|
|
25 |
|
import com.xpn.xwiki.XWikiContext; |
26 |
|
import com.xpn.xwiki.XWikiException; |
27 |
|
import com.xpn.xwiki.doc.XWikiDocument; |
28 |
|
import com.xpn.xwiki.objects.classes.BaseClass; |
29 |
|
|
|
|
| 0% |
Uncovered Elements: 24 (24) |
Complexity: 13 |
Complexity Density: 1.18 |
|
30 |
|
public abstract class XWikiDefaultStore implements XWikiStoreInterface |
31 |
|
{ |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0 |
@Override... |
33 |
|
public List searchDocumentsNames(String wheresql, XWikiContext context) throws XWikiException |
34 |
|
{ |
35 |
0 |
return searchDocumentsNames(wheresql, 0, 0, "", context); |
36 |
|
} |
37 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
38 |
0 |
@Override... |
39 |
|
public List searchDocumentsNames(String wheresql, int nb, int start, XWikiContext context) throws XWikiException |
40 |
|
{ |
41 |
0 |
return searchDocumentsNames(wheresql, nb, start, "", context); |
42 |
|
} |
43 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
0 |
@Override... |
45 |
|
public List<XWikiDocument> searchDocuments(String wheresql, XWikiContext context) throws XWikiException |
46 |
|
{ |
47 |
0 |
return searchDocuments(wheresql, true, 0, 0, context); |
48 |
|
} |
49 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
50 |
0 |
@Override... |
51 |
|
public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, XWikiContext context) |
52 |
|
throws XWikiException |
53 |
|
{ |
54 |
0 |
return searchDocuments(wheresql, distinctbylanguage, 0, 0, context); |
55 |
|
} |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0 |
@Override... |
58 |
|
public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbylanguage, boolean customMapping, |
59 |
|
XWikiContext context) throws XWikiException |
60 |
|
{ |
61 |
0 |
return searchDocuments(wheresql, distinctbylanguage, customMapping, 0, 0, context); |
62 |
|
} |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0 |
@Override... |
65 |
|
public List<XWikiDocument> searchDocuments(String wheresql, int nb, int start, XWikiContext context) |
66 |
|
throws XWikiException |
67 |
|
{ |
68 |
0 |
return searchDocuments(wheresql, true, nb, start, context); |
69 |
|
} |
70 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
71 |
0 |
@Override... |
72 |
|
public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbyname, int nb, int start, |
73 |
|
XWikiContext context) throws XWikiException |
74 |
|
{ |
75 |
0 |
return searchDocuments(wheresql, distinctbyname, false, nb, start, context); |
76 |
|
} |
77 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
78 |
0 |
@Override... |
79 |
|
public boolean injectCustomMapping(BaseClass doc1class, XWikiContext xWikiContext) throws XWikiException |
80 |
|
{ |
81 |
0 |
return false; |
82 |
|
} |
83 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
84 |
0 |
@Override... |
85 |
|
public boolean injectCustomMappings(XWikiDocument doc, XWikiContext xWikiContext) throws XWikiException |
86 |
|
{ |
87 |
0 |
return false; |
88 |
|
} |
89 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
90 |
0 |
@Override... |
91 |
|
public void injectCustomMappings(XWikiContext context) throws XWikiException |
92 |
|
{ |
93 |
|
} |
94 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
95 |
0 |
@Override... |
96 |
|
public void injectUpdatedCustomMappings(XWikiContext context) throws XWikiException |
97 |
|
{ |
98 |
|
} |
99 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
100 |
0 |
@Override... |
101 |
|
public List getCustomMappingPropertyList(BaseClass bclass) |
102 |
|
{ |
103 |
0 |
return new ArrayList(); |
104 |
|
} |
105 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
106 |
0 |
@Override... |
107 |
|
public List<XWikiDocument> searchDocuments(String wheresql, boolean distinctbyname, boolean customMapping, int nb, |
108 |
|
int start, XWikiContext context) throws XWikiException |
109 |
|
{ |
110 |
0 |
return searchDocuments(wheresql, distinctbyname, customMapping, true, nb, start, context); |
111 |
|
} |
112 |
|
} |