Class WordpressServiceCategoriesAdapter
- java.lang.Object
-
- org.apache.camel.component.wordpress.api.service.impl.WordpressServiceCategoriesAdapter
-
- All Implemented Interfaces:
WordpressCrudService<Category,CategorySearchCriteria>,WordpressService,WordpressServiceCategories
public class WordpressServiceCategoriesAdapter extends Object implements WordpressServiceCategories
-
-
Constructor Summary
Constructors Constructor Description WordpressServiceCategoriesAdapter(String wordpressUrl, String apiVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(T object)Tdelete(Integer id)protected CategorydoCreate(Category object)protected CategorydoDelete(Integer id)protected DeletedModel<T>doForceDelete(Integer id)protected CategorydoRetrieve(Integer entityID, Context context)protected CategorydoUpdate(Integer id, Category object)DeletedModel<T>forceDelete(Integer id)protected StringgetApiVersion()protected AgetSpi()protected Class<CategoriesSPI>getSpiType()List<Category>list(CategorySearchCriteria criteria)Tretrieve(Integer entityID)Tretrieve(Integer entityID, Context context)voidsetWordpressAuthentication(WordpressAuthentication authentication)Sets the Wordpress Authentication ModelTupdate(Integer id, T object)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.camel.component.wordpress.api.service.WordpressCrudService
create, delete, forceDelete, retrieve, retrieve, update
-
Methods inherited from interface org.apache.camel.component.wordpress.api.service.WordpressService
setWordpressAuthentication
-
-
-
-
Method Detail
-
getSpiType
protected Class<CategoriesSPI> getSpiType()
-
list
public List<Category> list(CategorySearchCriteria criteria)
- Specified by:
listin interfaceWordpressCrudService<Category,CategorySearchCriteria>
-
create
public final T create(T object)
- Specified by:
createin interfaceWordpressCrudService<A,T>
-
delete
public final T delete(Integer id)
- Specified by:
deletein interfaceWordpressCrudService<A,T>
-
forceDelete
public final DeletedModel<T> forceDelete(Integer id)
- Specified by:
forceDeletein interfaceWordpressCrudService<A,T>
-
doForceDelete
protected DeletedModel<T> doForceDelete(Integer id)
-
update
public final T update(Integer id, T object)
- Specified by:
updatein interfaceWordpressCrudService<A,T>
-
retrieve
public T retrieve(Integer entityID)
- Specified by:
retrievein interfaceWordpressCrudService<A,T>
-
retrieve
public final T retrieve(Integer entityID, Context context)
- Specified by:
retrievein interfaceWordpressCrudService<A,T>
-
getSpi
protected final A getSpi()
-
getApiVersion
protected final String getApiVersion()
-
setWordpressAuthentication
public final void setWordpressAuthentication(WordpressAuthentication authentication)
Description copied from interface:WordpressServiceSets the Wordpress Authentication Model- Specified by:
setWordpressAuthenticationin interfaceWordpressService
-
-