Changeset 15063


Ignore:
Timestamp:
03/06/10 14:20:46 (2 years ago)
Author:
sys
Message:

Exp de recherche : ItemSgnRegexp

Location:
trunk/Jav_Wsp/src/com/scenari/wsp/src/search
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_Wsp/src/com/scenari/wsp/src/search/ItemSrcTypeExecExp.java

    r14479 r15063  
    6565         * Iterator qui filtre selon une recherche full-text dans l'item. 
    6666         */ 
    67         public class FullTextFilterIt extends PredicateFilterIterator<ISearchResultRowInternal> implements Predicate<ISearchResultRowInternal> { 
     67        public class SrcTypesFilterIt extends PredicateFilterIterator<ISearchResultRowInternal> implements Predicate<ISearchResultRowInternal> { 
    6868 
    6969                protected boolean fResultAttempted; 
     
    7171                protected int fSrcTypesValue; 
    7272 
    73                 public FullTextFilterIt(Iterator<ISearchResultRowInternal> pFrom, int pSrcTypes, boolean pResultAttempted) { 
     73                public SrcTypesFilterIt(Iterator<ISearchResultRowInternal> pFrom, int pSrcTypes, boolean pResultAttempted) { 
    7474                        super(pFrom); 
    7575                        fResultAttempted = pResultAttempted; 
     
    146146        public Iterator<ISearchResultRowInternal> match(Iterator<ISearchResultRowInternal> pUris, ISearchContextInternal pContext) throws Exception { 
    147147                int vSrcTypes = getInt(fSrcTypes.evaluate(pContext)); 
    148                 return new FullTextFilterIt(pUris, vSrcTypes, matchValue()).setPredicateAsSelf(); 
     148                return new SrcTypesFilterIt(pUris, vSrcTypes, matchValue()).setPredicateAsSelf(); 
    149149        } 
    150150 
  • trunk/Jav_Wsp/src/com/scenari/wsp/src/search/SearchExecutorWsp.java

    r14479 r15063  
    4949import com.scenari.src.search.exp.LinkParents; 
    5050import com.scenari.src.search.exp.LinkParentsOutOfFolder; 
     51import com.scenari.wsp.src.search.exp.ItemSgnRegexp; 
    5152import com.scenari.wsp.src.search.exp.ItemSrcType; 
    5253 
     
    8586                Class vClass = pExp.getClass(); 
    8687                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); 
    8789                if (vClass == FullText.class) return new FullTextExecExp(this).init((FullText) pExp, pMakeContext); 
    8890                if (vClass == LinkDesc.class) return new LinkDescExecExp(this).init((LinkDesc) pExp, pMakeContext); 
Note: See TracChangeset for help on using the changeset viewer.