void
|
connect(String username, String password)
Connect
|
String
|
connectionId()
Are we connected
|
int
|
countAllComments(int nodeId)
Count all comments in a node
|
int
|
countNewComments(int nodeId, int since)
Counts all new comments in a node.
|
Comment
|
createComment(Comment comment)
Create a comment.
|
File
|
createFile(File file)
|
Node
|
createNode(Node node)
Creates a node.
|
TaxonomyTerm
|
createTaxonomyTerm(TaxonomyTerm taxonomyTerm)
|
TaxonomyVocabulary
|
createTaxonomyVocabulary(TaxonomyVocabulary taxonomyVocabulary)
Create a taxonomyVocabulary
|
User
|
createUser(User user)
|
void
|
deleteComment(int commentId)
|
void
|
deleteFile(int fileId)
Delete a file.
|
void
|
deleteNode(int nodeId)
|
void
|
deleteTaxonomyTerm(int taxonomyTermId)
|
void
|
deleteTaxonomyVocabulary(int taxonomyVocId)
|
void
|
deleteUser(int userId)
|
void
|
disconnect()
Disconnect
|
String
|
getApiUrl()
|
String
|
getCommentEndpoint()
|
List<Comment>
|
getCommentsForNode(int nodeId)
Get the list of comments of a node
|
String
|
getFileEndpoint()
|
List<File>
|
getFilesForNode(int nodeId)
Get the list of files attached of a node
|
String
|
getNodeEndpoint()
|
List<Node>
|
getNodesWithTerm(int taxonomyTermId)
Get a list of Nodes related to the term
|
int
|
getPort()
|
String
|
getServer()
|
String
|
getTaxonomyTermEndpoint()
|
String
|
getTaxonomyVocabularyEndpoint()
|
List<TaxonomyTerm>
|
getTaxonomyVocabularyTree(int vocabularyId, int parent, int maxdepth)
The the list of terms that match the requirements of the request.
|
String
|
getUserEndpoint()
|
List<Comment>
|
indexComments(List<String> fields, int startPage, int pagesize)
Get a list of Comments with only the fields specified in the list of fields and the uri field for the comment.
|
List<File>
|
indexFiles(List<String> fields, int startPage, int pagesize)
Get a list of files with only the fields specified in the list of fields and the uri field for the File.
|
List<Node>
|
indexNodes(List<String> fields, int startPage, int pagesize)
Get a list of Nodes with only the fields specified in the list of fields and the uri field for the node.
|
List<TaxonomyTerm>
|
indexTaxonomyTerms(List<String> fields, int startPage, int pagesize)
Get a list of taxonomy terms with only the fields specified in the list of fields and the uri field for the term.
|
List<TaxonomyVocabulary>
|
indexTaxonomyVocabulary(List<String> fields, int startPage, int pagesize)
Get a list of taxonomy vocabulary with only the fields specified in the list of fields and the uri field for the vocabulary.
|
List<User>
|
indexUsers(List<String> fields, int startPage, int pagesize)
Get a list of Users with only the fields specified in the list of fields and the uri field for the user.
|
boolean
|
isConnected()
Are we connected
|
Comment
|
readComment(String commentId)
Read a comment.
|
File
|
readFile(String fileId)
Read a file.
|
Node
|
readNode(String nodeId)
Read a node.
|
TaxonomyTerm
|
readTaxonomyTerm(String taxonomyTermId)
Read a taxonomy term.
|
TaxonomyVocabulary
|
readTaxonomyVocabulary(String vocabularyId)
Read a taxonomy vocabulary.
|
User
|
readUser(String userId)
Read an user.
|
User
|
registerUser(User user)
|
void
|
setApiUrl(String apiUrl)
|
void
|
setCommentEndpoint(String commentEndpoint)
|
void
|
setFileEndpoint(String fileEndpoint)
|
void
|
setNodeEndpoint(String nodeEndpoint)
|
void
|
setPort(int port)
|
void
|
setServer(String server)
|
void
|
setTaxonomyTermEndpoint(String taxonomyTermEndpoint)
|
void
|
setTaxonomyVocabularyEndpoint(String taxonomyVocabularyEndpoint)
|
void
|
setUserEndpoint(String userEndpoint)
|
Comment
|
updateComment(Comment comment)
|
void
|
updateCustomFieldForNode(int nodeId, String fieldName, Map<String, String> customProperties)
Update one custom field with the properties set at the map
|
File
|
updateFile(File file)
|
Node
|
updateNode(Node node)
|
TaxonomyTerm
|
updateTaxonomyTerm(TaxonomyTerm taxonomyTerm)
|
TaxonomyVocabulary
|
updateTaxonomyVocabulary(TaxonomyVocabulary taxonomyVocabulary)
Update the taxonomyVocabulary
|
User
|
updateUser(User user)
|