public class WordpressServiceUsersAdapter extends Object implements WordpressServiceUsers
Constructor and Description |
---|
WordpressServiceUsersAdapter(String wordpressUrl,
String apiVersion) |
Modifier and Type | Method and Description |
---|---|
T |
create(T object) |
T |
delete(Integer id) |
protected User |
doCreate(User object) |
protected User |
doDelete(Integer id) |
protected DeletedModel<User> |
doForceDelete(Integer id) |
protected User |
doRetrieve(Integer entityID,
Context context) |
protected User |
doUpdate(Integer id,
User object) |
DeletedModel<T> |
forceDelete(Integer id) |
protected String |
getApiVersion() |
protected A |
getSpi() |
protected Class<UsersSPI> |
getSpiType() |
List<User> |
list(UserSearchCriteria s) |
T |
retrieve(Integer entityID) |
T |
retrieve(Integer entityID,
Context context) |
void |
setWordpressAuthentication(WordpressAuthentication authentication)
Sets the Wordpress Authentication Model
|
T |
update(Integer id,
T object) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create, delete, forceDelete, retrieve, retrieve, update
setWordpressAuthentication
public List<User> list(UserSearchCriteria s)
list
in interface WordpressCrudService<User,UserSearchCriteria>
protected DeletedModel<User> doForceDelete(Integer id)
public final T create(T object)
create
in interface WordpressCrudService<T,S extends SearchCriteria>
public final T delete(Integer id)
delete
in interface WordpressCrudService<T,S extends SearchCriteria>
public final DeletedModel<T> forceDelete(Integer id)
forceDelete
in interface WordpressCrudService<T,S extends SearchCriteria>
public final T update(Integer id, T object)
update
in interface WordpressCrudService<T,S extends SearchCriteria>
public T retrieve(Integer entityID)
retrieve
in interface WordpressCrudService<T,S extends SearchCriteria>
public final T retrieve(Integer entityID, Context context)
retrieve
in interface WordpressCrudService<T,S extends SearchCriteria>
protected final A getSpi()
protected final String getApiVersion()
public final void setWordpressAuthentication(WordpressAuthentication authentication)
WordpressService
setWordpressAuthentication
in interface WordpressService
Apache Camel