Changeset 15063
- Timestamp:
- 03/06/10 14:20:46 (2 years ago)
- Location:
- trunk/Jav_Wsp/src/com/scenari/wsp/src/search
- Files:
-
- 2 added
- 2 edited
-
ItemSgnRegexpExecExp.java (added)
-
ItemSrcTypeExecExp.java (modified) (3 diffs)
-
SearchExecutorWsp.java (modified) (2 diffs)
-
exp/ItemSgnRegexp.java (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_Wsp/src/com/scenari/wsp/src/search/ItemSrcTypeExecExp.java
r14479 r15063 65 65 * Iterator qui filtre selon une recherche full-text dans l'item. 66 66 */ 67 public class FullTextFilterIt extends PredicateFilterIterator<ISearchResultRowInternal> implements Predicate<ISearchResultRowInternal> {67 public class SrcTypesFilterIt extends PredicateFilterIterator<ISearchResultRowInternal> implements Predicate<ISearchResultRowInternal> { 68 68 69 69 protected boolean fResultAttempted; … … 71 71 protected int fSrcTypesValue; 72 72 73 public FullTextFilterIt(Iterator<ISearchResultRowInternal> pFrom, int pSrcTypes, boolean pResultAttempted) {73 public SrcTypesFilterIt(Iterator<ISearchResultRowInternal> pFrom, int pSrcTypes, boolean pResultAttempted) { 74 74 super(pFrom); 75 75 fResultAttempted = pResultAttempted; … … 146 146 public Iterator<ISearchResultRowInternal> match(Iterator<ISearchResultRowInternal> pUris, ISearchContextInternal pContext) throws Exception { 147 147 int vSrcTypes = getInt(fSrcTypes.evaluate(pContext)); 148 return new FullTextFilterIt(pUris, vSrcTypes, matchValue()).setPredicateAsSelf();148 return new SrcTypesFilterIt(pUris, vSrcTypes, matchValue()).setPredicateAsSelf(); 149 149 } 150 150 -
trunk/Jav_Wsp/src/com/scenari/wsp/src/search/SearchExecutorWsp.java
r14479 r15063 49 49 import com.scenari.src.search.exp.LinkParents; 50 50 import com.scenari.src.search.exp.LinkParentsOutOfFolder; 51 import com.scenari.wsp.src.search.exp.ItemSgnRegexp; 51 52 import com.scenari.wsp.src.search.exp.ItemSrcType; 52 53 … … 85 86 Class vClass = pExp.getClass(); 86 87 if (vClass == ItemSrcType.class) return new ItemSrcTypeExecExp(this).init((ItemSrcType) pExp, pMakeContext); 88 if (vClass == ItemSgnRegexp.class) return new ItemSgnRegexpExecExp(this).init((ItemSgnRegexp) pExp, pMakeContext); 87 89 if (vClass == FullText.class) return new FullTextExecExp(this).init((FullText) pExp, pMakeContext); 88 90 if (vClass == LinkDesc.class) return new LinkDescExecExp(this).init((LinkDesc) pExp, pMakeContext);
Note: See TracChangeset
for help on using the changeset viewer.