Examples of search()


Examples of com.centraview.email.RuleList.search()

        returnDL.setPrimaryTable("emailrule");
        returnDL.setSortMember(sortColumn);

        if (searchString != null && searchString.startsWith("SIMPLE :")) {
          returnDL.setSearchString(searchString);
          returnDL.search();
        }

        RuleList emptyDL = createEmptyObject(returnDL);
        emptyDL.setTotalNoOfRecords(returnDL.getTotalNoOfRecords());
        emptyDL.setListID(currentListID);

Examples of com.centraview.file.FileList.search()

      String searchStr = request.getParameter("simpleSearch");
      if(searchStr != null && (searchStr.trim()).length() > 0)
      {
        searchStr = searchStr.trim();
        DL.setSearchString("SIMPLE: "+searchStr);
        DL.search();
      }
      request.setAttribute("displaylist" , DL );

    }
    catch (Exception e)

Examples of com.cloud.configuration.dao.ConfigurationDao.search()

        Integer apiPort = null; // api port, null by default
        ConfigurationDao configDao = locator.getDao(ConfigurationDao.class);
        SearchCriteria<ConfigurationVO> sc = configDao.createSearchCriteria();
        sc.addAnd("name", SearchCriteria.Op.EQ, "integration.api.port");
        List<ConfigurationVO> values = configDao.search(sc, null);
        if ((values != null) && (values.size() > 0)) {
            ConfigurationVO apiPortConfig = values.get(0);
            if (apiPortConfig.getValue() != null) {
                apiPort = Integer.parseInt(apiPortConfig.getValue());
            }

Examples of com.cloud.network.dao.IPAddressDao.search()

        VlanDao fakeVlanDao = mock(VlanDao.class);
        when (fakeVlanDao.findById(anyLong())).thenReturn(mock(VlanVO.class));
        modelImpl._vlanDao = fakeVlanDao;
        when(fakeSearch.create()).thenReturn(mock(SearchCriteria.class));
        when(
                ipAddressDao.search(
                        any(SearchCriteria.class),
                        (Filter)org.mockito.Matchers.isNull()
                        )
                ).thenReturn(fakeList);
        when (

Examples of com.dotmarketing.portlets.contentlet.business.ContentletAPI.search()

      if(!InodeUtils.isSet(contentlet.getInode())){
        return new ArrayList<Contentlet>();
      }
      List<Contentlet> comments = null;
      if(contentlet.getStructure().getVelocityVarName().equals(commentsVelocityStructureName)){
        comments = conAPI.search("+Comments-Comments-parent:" + contentlet.getIdentifier() + " +live:true +languageid:" + contentlet.getLanguageId() + " +deleted:false", 0, -1, "Comments.datePublished " + (descendingOrder ? "desc":"asc"), APILocator.getUserAPI().getSystemUser(), true);
      }else{
        comments = conAPI.search("+" + getRelationshipName(contentlet) + ":" + contentlet.getIdentifier() + " +live:true +languageid:" + contentlet.getLanguageId() + " +deleted:false", 0, -1, "Comments.datePublished " + (descendingOrder ? "desc":"asc"), APILocator.getUserAPI().getSystemUser(), true);
      }
//      int count = 0;
//      StringBuilder bob = new StringBuilder();

Examples of com.dotmarketing.sitesearch.business.SiteSearchAPI.search()

            NOTE: THE CONTENT TEXT DOES NOT CONTAIN THE ROOT WORDS, THIS IS JUST THE REFERENCE TEXT SHOWING HOW SHOULD WORKS!!
             */

            //Testing the stemer
            SiteSearchResults siteSearchResults = siteSearchAPI.search( indexName, "argu", 0, 100 );
            //Validations
            assertTrue( siteSearchResults.getError() == null || siteSearchResults.getError().isEmpty() );
            assertTrue( siteSearchResults.getTotalResults() > 0 );
            String highLights = siteSearchResults.getResults().get( 0 ).getHighLights()[0];
            assertTrue( highLights.contains( "<em>argue</em>" ) );

Examples of com.dubture.getcomposer.packages.AsyncPackagistSearch.search()

      });
     
      if (showProjectsCheckbox.getSelection()) {
        search.setFilter("project");
      }
      search.search(text);
     
    } catch (Exception e) {
      Logger.logException(e);
    }
  }

Examples of com.eclipsesource.tabris.internal.ui.action.SearchAction.search()

  @Override
  public void handleNotify( String event, JsonObject properties ) {
    super.handleNotify( event, properties );
    SearchAction action = ( SearchAction )getDescriptor().getAction();
    if( event.equals( EVENT_SEARCH ) ) {
      action.search( properties.get( PROPERTY_QUERY ).asString() );
    } else if( event.equals( EVENT_MODIFY ) ) {
      action.modified( properties.get( PROPERTY_QUERY ).asString(), new ProposalHandlerImpl( getRemoteObject() ) );
    }
  }

Examples of com.eclipsesource.tabris.ui.action.SearchAction.search()

  }

  private void doSearch( String query ) {
    ActionDescriptor descriptor = getDescriptor();
    SearchAction action = ( SearchAction )descriptor.getAction();
    action.search( query );
    activateText( false );
    text.setText( "" );
    clearMenuItems();
  }

Examples of com.esri.gpt.agp.client.AgpSearchRequest.search()

   
    AgpSearchRequest request = new AgpSearchRequest();
    AgpSearchCriteria criteria = new AgpSearchCriteria();
    criteria.setQ(sQuery);
    criteria.setNum(1);
    request.search(destination.getConnection(),criteria,
      new AgpItemListener() {
        @Override
        public void onItemLoaded(AgpConnection connection, AgpItem item)
          throws Exception {
          if (url.equals(item.getProperties().get("url").getValue()) && Ags2AgpCopy.this.destination.getDestinationOwner().equals(item.getProperties().get("owner").getValue())) {
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.