Class WordpressServicePostsAdapter
java.lang.Object
org.apache.camel.component.wordpress.api.service.impl.WordpressServicePostsAdapter
- All Implemented Interfaces:
WordpressCrudService<Post,,PostSearchCriteria> WordpressService,WordpressServicePosts
The
WordpressServicePosts implementation. Aggregates the PostsSPI interface using
JAXRSClientFactory to make the API calls.- Since:
- 0.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Postfinal Postprotected Postprotected Postprotected DeletedModel<Post> doForceDelete(Integer id) protected PostdoRetrieve(Integer postId, Context context) protected Postfinal DeletedModel<Post> forceDelete(Integer id) protected final Stringprotected final PostsSPIgetSpi()list(PostSearchCriteria criteria) final PostDefault endpoint.final voidsetWordpressAuthentication(WordpressAuthentication authentication) Sets the Wordpress Authentication Modelfinal PostMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.camel.component.wordpress.api.service.WordpressCrudService
create, delete, forceDelete, retrieve, updateMethods inherited from interface org.apache.camel.component.wordpress.api.service.WordpressService
setWordpressAuthentication
-
Constructor Details
-
WordpressServicePostsAdapter
-
-
Method Details
-
getSpiType
-
list
- Specified by:
listin interfaceWordpressCrudService<Post,PostSearchCriteria>
-
retrieve
Description copied from interface:WordpressServicePostsDefault endpoint.- Specified by:
retrievein interfaceWordpressServicePosts- Parameters:
postId-context-password-- Returns:
-
doRetrieve
-
retrieve
- Specified by:
retrievein interfaceWordpressCrudService<Post,PostSearchCriteria>
-
doCreate
-
doDelete
-
doForceDelete
-
doUpdate
-
create
- Specified by:
createin interfaceWordpressCrudService<A,T>
-
delete
- Specified by:
deletein interfaceWordpressCrudService<A,T>
-
forceDelete
- Specified by:
forceDeletein interfaceWordpressCrudService<A,T>
-
update
- Specified by:
updatein interfaceWordpressCrudService<A,T>
-
retrieve
- Specified by:
retrievein interfaceWordpressCrudService<A,T>
-
getSpi
-
getApiVersion
-
setWordpressAuthentication
Description copied from interface:WordpressServiceSets the Wordpress Authentication Model- Specified by:
setWordpressAuthenticationin interfaceWordpressService- Parameters:
authentication-
-