Class WordpressSevicePostRevisionAdapter
- java.lang.Object
-
- org.apache.camel.component.wordpress.api.service.impl.WordpressSevicePostRevisionAdapter
-
- All Implemented Interfaces:
WordpressService,WordpressServicePostRevision
public class WordpressSevicePostRevisionAdapter extends Object implements WordpressServicePostRevision
-
-
Constructor Summary
Constructors Constructor Description WordpressSevicePostRevisionAdapter(String wordpressUrl, String apiVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(Integer postId, Integer revisionId)protected StringgetApiVersion()protected AgetSpi()protected Class<PostRevisionsSPI>getSpiType()List<PostRevision>list(Integer postId, Context context)PostRevisionretrieve(Integer postId, Integer revisionId, Context context)voidsetWordpressAuthentication(WordpressAuthentication authentication)Sets the Wordpress Authentication Model-
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.WordpressService
setWordpressAuthentication
-
-
-
-
Method Detail
-
getSpiType
protected Class<PostRevisionsSPI> getSpiType()
-
delete
public void delete(Integer postId, Integer revisionId)
- Specified by:
deletein interfaceWordpressServicePostRevision
-
retrieve
public PostRevision retrieve(Integer postId, Integer revisionId, Context context)
- Specified by:
retrievein interfaceWordpressServicePostRevision
-
list
public List<PostRevision> list(Integer postId, Context context)
- Specified by:
listin interfaceWordpressServicePostRevision
-
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
-
-