Class WordpressServiceCommentsAdapter
- java.lang.Object
-
- org.apache.camel.component.wordpress.api.service.impl.WordpressServiceCommentsAdapter
-
- All Implemented Interfaces:
WordpressCrudService<Comment,CommentSearchCriteria>,WordpressService,WordpressServiceComments
public class WordpressServiceCommentsAdapter extends Object implements WordpressServiceComments
-
-
Constructor Summary
Constructors Constructor Description WordpressServiceCommentsAdapter(String wordpressUrl, String apiVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(T object)Tdelete(Integer id)protected CommentdoCreate(Comment object)protected CommentdoDelete(Integer id)protected DeletedModel<T>doForceDelete(Integer id)protected CommentdoRetrieve(Integer entityID, Context context)protected CommentdoUpdate(Integer id, Comment object)DeletedModel<T>forceDelete(Integer id)protected StringgetApiVersion()protected AgetSpi()protected Class<CommentsSPI>getSpiType()List<Comment>list(CommentSearchCriteria c)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<CommentsSPI> getSpiType()
-
list
public List<Comment> list(CommentSearchCriteria c)
- Specified by:
listin interfaceWordpressCrudService<Comment,CommentSearchCriteria>
-
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
-
-