All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.afrozaar.wordpress.wpapi.v2.Wordpress Maven / Gradle / Ivy

There is a newer version: 4.8.3
Show newest version
package com.afrozaar.wordpress.wpapi.v2;

import com.afrozaar.wordpress.wpapi.v2.api.Categories;
import com.afrozaar.wordpress.wpapi.v2.api.CustomCalls;
import com.afrozaar.wordpress.wpapi.v2.api.Medias;
import com.afrozaar.wordpress.wpapi.v2.api.Pages;
import com.afrozaar.wordpress.wpapi.v2.api.PostMetas;
import com.afrozaar.wordpress.wpapi.v2.api.Posts;
import com.afrozaar.wordpress.wpapi.v2.api.Tags;
import com.afrozaar.wordpress.wpapi.v2.api.Taxonomies;
import com.afrozaar.wordpress.wpapi.v2.api.Terms;
import com.afrozaar.wordpress.wpapi.v2.api.Users;
import com.afrozaar.wordpress.wpapi.v2.request.SearchRequest;
import com.afrozaar.wordpress.wpapi.v2.response.PagedResponse;

import java.net.URI;
import java.util.function.Function;

public interface Wordpress extends Posts, PostMetas, Taxonomies, Terms, Medias, Pages, Users, Tags, Categories, CustomCalls {

    String getContext();

     PagedResponse getPagedResponse(String context, Class typeRef, String... expandParams);

     PagedResponse getPagedResponse(URI uri, Class typeRef);

     PagedResponse traverse(PagedResponse response, Function, String> direction);

     PagedResponse search(SearchRequest search);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy