Platform Explorer / Nuxeo Platform 2021.53

Contribution org.nuxeo.salesforce.SalesforceComponent--providers

This contribution is part of XML component org.nuxeo.salesforce.SalesforceComponent inside nuxeo-salesforce-core-2021.2.0.jar /OSGI-INF/SalesforceComponent.xml

Extension Point

Extension point providers of component PageProviderService.

Registration Order

31
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <coreQueryPageProvider name="sfdc_load_library">
          <whereClause docType="SalesforceSearch">
            <fixedPart>
          	  ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0
          	</fixedPart>
            <predicate operator="=" parameter="sf:objectId">
              <field name="recordId" schema="salesforce_search"/>
            </predicate>
          </whereClause>
          <sort ascending="false" column="dc:created"/>      
          <pageSize>50</pageSize>
        </coreQueryPageProvider>
  • <coreQueryPageProvider name="sfdc_linked_docs">
          <whereClause docType="SalesforceSearch">
            <fixedPart>
          	  ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0 AND dc:source LIKE :recordId
          	</fixedPart>
            <predicate operator="FULLTEXT" parameter="ecm:fulltext">
              <field name="ecm_fulltext" schema="salesforce_search"/>
            </predicate>
          </whereClause>
          <quickFilters>
            <quickFilter name="noFolder">
              <clause>ecm:mixinType != 'Folderish'</clause>
            </quickFilter>
          </quickFilters>
          <!--  sort column="dc:modified" ascending="false" / -->
          <pageSize>50</pageSize>
        </coreQueryPageProvider>

XML Source

<extension point="providers" target="org.nuxeo.ecm.platform.query.api.PageProviderService">
  	<coreQueryPageProvider name="sfdc_load_library">
      <whereClause docType="SalesforceSearch">
        <fixedPart>
      	  ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0
      	</fixedPart>
        <predicate operator="=" parameter="sf:objectId">
          <field name="recordId" schema="salesforce_search"/>
        </predicate>
      </whereClause>
      <sort ascending="false" column="dc:created"/>      
      <pageSize>50</pageSize>
    </coreQueryPageProvider>  	
  
  	<coreQueryPageProvider name="sfdc_linked_docs">
      <whereClause docType="SalesforceSearch">
        <fixedPart>
      	  ecm:mixinType != 'HiddenInNavigation' AND ecm:isVersion = 0 AND ecm:isTrashed = 0 AND dc:source LIKE :recordId
      	</fixedPart>
        <predicate operator="FULLTEXT" parameter="ecm:fulltext">
          <field name="ecm_fulltext" schema="salesforce_search"/>
        </predicate>
      </whereClause>
      <quickFilters>
        <quickFilter name="noFolder">
          <clause>ecm:mixinType != 'Folderish'</clause>
        </quickFilter>
      </quickFilters>
      <!--  sort column="dc:modified" ascending="false" / -->
      <pageSize>50</pageSize>
    </coreQueryPageProvider>  	
  </extension>