Class WordpressServiceUsersAdapter
- java.lang.Object
-
- org.apache.camel.component.wordpress.api.service.impl.WordpressServiceUsersAdapter
-
- All Implemented Interfaces:
WordpressCrudService<User,UserSearchCriteria>,WordpressService,WordpressServiceUsers
public class WordpressServiceUsersAdapter extends Object implements WordpressServiceUsers
-
-
Constructor Summary
Constructors Constructor Description WordpressServiceUsersAdapter(String wordpressUrl, String apiVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcreate(T object)Tdelete(Integer id)protected UserdoCreate(User object)protected UserdoDelete(Integer id)protected DeletedModel<User>doForceDelete(Integer id)protected UserdoRetrieve(Integer entityID, Context context)protected UserdoUpdate(Integer id, User object)DeletedModel<T>forceDelete(Integer id)protected StringgetApiVersion()protected AgetSpi()protected Class<UsersSPI>getSpiType()List<User>list(UserSearchCriteria s)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
-
list
public List<User> list(UserSearchCriteria s)
- Specified by:
listin interfaceWordpressCrudService<User,UserSearchCriteria>
-
doForceDelete
protected DeletedModel<User> doForceDelete(Integer id)
-
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>
-
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
-
-