public class PostService extends HttpEntityService<Post>
Modifier and Type | Method and Description |
---|---|
int |
createPost(Post post,
ContentFile contentFile) |
EQAsyncTask<Integer> |
createPost(Post post,
ContentFile contentFile,
ResponseDelegate<Integer> responseDelegate) |
int |
createPost(Post post,
Post parentPost) |
boolean |
delete(int postId) |
EQAsyncTask<Boolean> |
delete(int postId,
ResponseDelegate<Boolean> responseDelegate) |
boolean |
delete(Post post) |
EQAsyncTask<Boolean> |
delete(Post post,
ResponseDelegate<Boolean> responseDelegate) |
List<Post> |
listPosts(ContentFile contentFile,
PagingParameters pagingParameters) |
EQAsyncTask<List<Post>> |
listPosts(ContentFile contentFile,
PagingParameters pagingParameters,
ResponseDelegate<List<Post>> responseDelegate) |
getSessionGuid, setSessionGuid
public EQAsyncTask<Integer> createPost(Post post, ContentFile contentFile, ResponseDelegate<Integer> responseDelegate)
public int createPost(Post post, ContentFile contentFile) throws EQServiceException, EQEntityException
EQServiceException
EQEntityException
public int createPost(Post post, Post parentPost) throws EQServiceException, EQEntityException
EQServiceException
EQEntityException
public EQAsyncTask<Boolean> delete(Post post, ResponseDelegate<Boolean> responseDelegate)
public boolean delete(Post post) throws EQServiceException, EQEntityException
EQServiceException
EQEntityException
public EQAsyncTask<Boolean> delete(int postId, ResponseDelegate<Boolean> responseDelegate)
public boolean delete(int postId) throws EQServiceException, EQEntityException
EQServiceException
EQEntityException
public EQAsyncTask<List<Post>> listPosts(ContentFile contentFile, PagingParameters pagingParameters, ResponseDelegate<List<Post>> responseDelegate)
public List<Post> listPosts(ContentFile contentFile, PagingParameters pagingParameters) throws EQServiceException, EQEntityException
EQServiceException
EQEntityException
Copyright © 2014 Equilibrium. All rights reserved.