/** * Adds the order by the given field, on ASCENDING sort. * * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> orderAscBy(EntityField field);
/** * Adds the predicate <b>not equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> notEquals(String field, String propertyValue);
/** * Adds the predicate <b>less than</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> lessThan(EntityField field, long propertyValue);
/** * Adds the predicate <b>less than equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> lessThanEquals(String field, long propertyValue);
/** * Adds the predicate <b>not in</b> to the selector for the given field and set of values. * * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> notIn(String field, String... values);
/** * Adds the predicate <b>contains all</b> to the selector for the given field and value. * * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> containsAll(String field, String... values);
/** * Downloads a report and returns a ReportDownloadResponse with the results. * * @param reportRequest the report request. * @return encapsulated http response body and status code. * @throws ReportException if there is an exception while making the HTTP request to the server. */ @UsesAdsUtilities({AdsUtility.REPORT_DOWNLOADER}) RawReportDownloadResponse downloadReport(ReportRequest reportRequest) throws ReportException;
/** * Adds the predicate <b>not equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> notEquals(String field, String propertyValue);
/** * Adds the predicate <b>contains none</b> to the selector for the given field and value. * * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> containsNone(EntityField field, String... values); }
/** * Chooses the set of fields that will be selected via the API. * * <p>Calling this method multiple times will overwrite the previous fields that were set. * * @param fields the set of fields of the given entity. * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> fields(String... fields);
/** * Adds the given amount to the current offset. * * @param additionalOffset the amount that will be added to the offset * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> increaseOffsetBy(int additionalOffset);
/** * Adds the predicate <b>equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> equals(String field, String propertyValue);
/** * Adds the predicate <b>equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> equals(EntityField field, String propertyValue);
/** * Adds the predicate <b>contains</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> contains(String field, String propertyValue);
/** * Adds the predicate <b>contains</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> contains(EntityField field, String propertyValue);
/** * Adds the predicate <b>contains ignore case</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> containsIgnoreCase(String field, String propertyValue);
/** * Adds the predicate <b>contains ignore case</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> containsIgnoreCase(EntityField field, String propertyValue);
/** * Adds the predicate <b>less than equals</b> to the selector for the given field and value. * * @param propertyValue the property value as a String independently of the field type. The caller * should take care of the formatting if it is necessary */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> lessThanEquals(EntityField field, long propertyValue);
/** * Adds the predicate <b>equals</b> to the selector for the entity Id and the given id value. * * @param id the ID of the current entity. This field represents different values for different * entity types * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER}) SelectorBuilderInterface<SelectorT> equalsId(Long id);
/** * Adds the predicate <b>contains none</b> to the selector for the given field and value. * * @return the builder itself to proceed the chain. */ @UsesAdsUtilities({AdsUtility.SELECTOR_BUILDER, AdsUtility.SELECTOR_FIELD}) SelectorBuilderInterface<SelectorT> containsNone(EntityField field, String... values); }