The Communote Client for Java provides functionality to authentificate to communote and to access resources. Furthermore he contains java representations of resources.
Here are some important informations to use the Communote Client as an dependency in applications.
Please note that the Communote Client for Java has only development status! So we not guarantee for entire functionality to access the Communote REST API.
If you want to use the Communote Client following constructor parameter are necessary:
Type | Name | Description |
---|---|---|
String | baseURL | URL of API of system you want to access (http://.../microblog/global/api/rest/v3_0) |
String | username | login name of user who wants to access |
String | password | password of user |
An overview of all Client methods you can find below.
Every resource has his own package. For example the topic resource is located in that package:\
com.communote.plugins.api.rest.client.resource.topic;
Subresources are located in subpackages and resources of subresources in subsubpackages an so on.
In every resource package you can found following classes.
Resource classes represents the result of an request. So every resource class is an deserialized form of the returned GET request.
For an specific information about the attributes of an returned resource read the attribute documentation part of appropriate resource for GET and LIST (Resource Documentation).
Every parameter classes represent an HTTP-Request to create, get, edit, list or delete the appropriate resource.
For the naming of the parameter class the Client used following convention:
HTTP-Method | Name of Parameter Class | Example for Topic |
---|---|---|
POST | Create...Parameter | CreateTopicParameter |
PUT | Edit...Parameter | EditTopicParameter |
GET | Get...Parameter | GetTopicParameter |
LIST | Get...ResourceParameter | GetCollectionTopicParameter |
DELETE | Delete...Parameter | DeleteTopicParameter |
Take care that you choose the right parameter class. Some parameter classes have the same name so you must be careful that you have the right class. You can see this in the package path of the parameter class.
com.communote.plugins.api.rest.client.resource.topic.property; com.communote.plugins.api.rest.client.resource.note.property;
The parameter classes contains all necessary parameters and attributes for the request with the appropriate HTTP-Method. Besides this, every parameter class contain tree important methods:
Method | Return | Description |
---|---|---|
getUriPath() | String | Get the path to resource |
isValidParameterList() | Boolean | Valid that all manatory parameters / attributes are set |
getResourceJSONRepresentation() | String | Get the serialize parameter class as json |
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
For example you want to know witch parameters or attributes are necessary to create an topic with CreateTopicParameter or you need to know how to use them?
So check the reference of topic resource with an HTTP POST (convention table above) request.
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createAttachment | CreateAttachmentParameter | Long |
getAttachment | GetAttachmentParameter | AttachmentResource |
getCollectionAttachment | GetCollectionAttachmentParameter | List<AttachmentResource> |
deleteAttachment | DeleteAttachmentParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.attachment
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getAttachmentPreview | GetPreviewParameter | PreviewResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.attachment.preview
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getGroup | GetGroupParameter | GroupResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.group
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getCollectionGroupMember | GetCollectionMemberParameter | List<MemberResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.group.member
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getCollectionLastModificationDate | GetCollectionLastModificationDateParameter | List<LastModificationDateResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.lastmodificationdate
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createNote | CreateNoteParameter | Long |
editNote | EditNoteParameter | Long |
getNote | GetNoteParameter | NoteResource |
getCollectionNote | GetCollectionNoteParameter | List<NoteResource> |
deleteNote | DeleteNoteParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.note
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createFavorite | CreateFavoriteParameter | Long |
getCollectionNoteFavorite | GetCollectionFavoriteParameter | List<FavoriteResource> |
deleteFavorite | DeleteFavoriteParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.note.favorite
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createLike | CreateLikeParameter | Long |
getCollectionNoteLike | GetCollectionLikeParameter | List<LikeResource> |
deleteLike | DeleteLikeParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.note.like
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createProperty | CreatePropertyParameter | Long |
getNoteProperty | GetPropertyParameter | PropertyResource |
getCollectionNoteProperty | GetCollectionPropertyParameter | List<PropertyResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.note.property
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
editTag | EditTagParameter | Long |
getTag | GetTagParameter | TagResource |
getCollectionTag | GetCollectionTagParameter | List<TagResource> |
deleteTag | DeleteTagParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.tag
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getTagStoreTagList | GetTagStoreTagListParameter | TagStoreTagListResource |
getCollectionTagStoreTagList | GetCollectionTagStoreTagListParameter | List<TagStoreTagListResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.tagstoretaglist
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getTagStoreTagListTagStoreTag | GetTagStoreTagParameter | TagStoreTagResource |
getCollectionTagStoreTagListTagStoreTag | GetCollectionTagStoreTagParameter | List<TagStoreTagResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.tagstoretaglist.tagstoretag
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTagSuggestionList | CreateTagSuggestionListParameter | Long |
getCollectionTagSuggestionList | GetCollectionTagSuggestionListParameter | List<TagSuggestionListResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.tagsuggestionlist
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTimelineNote | CreateTimelineNoteParameter | Long |
editTimelineNote | EditTimelineNoteParameter | Long |
getTimelineNote | GetTimelineNoteParameter | TimelineNoteResource |
getCollectionTimelineNote | GetCollectionTimelineNoteParameter | List<TimelineNoteResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinenote
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createProperty | CreatePropertyParameter | Long |
getTimelineNoteProperty | GetPropertyParameter | PropertyResource |
getCollectionTimelineNoteProperty | GetCollectionPropertyParameter | List<PropertyResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinenote.property
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getTimelineNoteTimelineNoteDiscussion | GetTimelineNoteDiscussionParameter | TimelineNoteDiscussionResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinenote.timelinenotediscussion
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getTimelineNoteTimelineNoteTag | GetTimelineNoteTagParameter | TimelineNoteTagResource |
getCollectionTimelineNoteTimelineNoteTag | GetCollectionTimelineNoteTagParameter | List<TimelineNoteTagResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinenote.timelinenotetag
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTimelineTag | CreateTimelineTagParameter | Long |
getCollectionTimelineTag | GetCollectionTimelineTagParameter | List<TimelineTagResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinetag
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTimelineTopic | CreateTimelineTopicParameter | Long |
getCollectionTimelineTopic | GetCollectionTimelineTopicParameter | List<TimelineTopicResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelinetopic
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTimelineUser | CreateTimelineUserParameter | Long |
getCollectionTimelineUser | GetCollectionTimelineUserParameter | List<TimelineUserResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.timelineuser
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createTopic | CreateTopicParameter | Long |
editTopic | EditTopicParameter | Long |
getTopic | GetTopicParameter | TopicResource |
getCollectionTopic | GetCollectionTopicParameter | List<TopicResource> |
deleteTopic | DeleteTopicParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createChildTopic | CreateChildTopicParameter | Long |
deleteChildTopic | DeleteChildTopicParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.childtopic
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createExternalObject | CreateExternalObjectParameter | Long |
editExternalObject | EditExternalObjectParameter | Long |
getTopicExternalObject | GetExternalObjectParameter | ExternalObjectResource |
getCollectionTopicExternalObject | GetCollectionExternalObjectParameter | List<ExternalObjectResource> |
deleteExternalObject | DeleteExternalObjectParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.externalobject
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createFollow | CreateFollowParameter | Long |
getCollectionTopicFollow | GetCollectionFollowParameter | List<FollowResource> |
deleteFollow | DeleteFollowParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.follow
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createProperty | CreatePropertyParameter | Long |
getTopicProperty | GetPropertyParameter | PropertyResource |
getCollectionTopicProperty | GetCollectionPropertyParameter | List<PropertyResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.property
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
editRight | EditRightParameter | Long |
getTopicRight | GetRightParameter | RightResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.right
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createRole | CreateRoleParameter | Long |
editRole | EditRoleParameter | Long |
getTopicRole | GetRoleParameter | RoleResource |
getCollectionTopicRole | GetCollectionRoleParameter | List<RoleResource> |
deleteRole | DeleteRoleParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.role
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createRoleBulkExternal | CreateRoleBulkExternalParameter | Long |
editRoleBulkExternal | EditRoleBulkExternalParameter | Long |
getTopicRoleBulkExternal | GetRoleBulkExternalParameter | RoleBulkExternalResource |
deleteRoleBulkExternal | DeleteRoleBulkExternalParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.rolebulkexternal
Package - Files
RoleBulkExternalTopicRight
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getTopicRoleBulkExternalRoleBulkExternalTopicRight | GetRoleBulkExternalTopicRightParameter | RoleBulkExternalTopicRightResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.rolebulkexternal.rolebulkexternaltopicright
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createRoleExternal | CreateRoleExternalParameter | Long |
editRoleExternal | EditRoleExternalParameter | Long |
getTopicRoleExternal | GetRoleExternalParameter | RoleExternalResource |
getCollectionTopicRoleExternal | GetCollectionRoleExternalParameter | List<RoleExternalResource> |
deleteRoleExternal | DeleteRoleExternalParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.topic.roleexternal
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createUser | CreateUserParameter | Long |
editUser | EditUserParameter | Long |
getUser | GetUserParameter | UserResource |
getCollectionUser | GetCollectionUserParameter | List<UserResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getCollectionUserExternalLogin | GetCollectionExternalLoginParameter | List<ExternalLoginResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.externallogin
Package - Files
ExternalProperty
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getUserExternalLoginExternalProperty | GetExternalPropertyParameter | ExternalPropertyResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.externallogin.externalproperty
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createFollow | CreateFollowParameter | Long |
getCollectionUserFollow | GetCollectionFollowParameter | List<FollowResource> |
deleteFollow | DeleteFollowParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.follow
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getUserImage | GetImageParameter | ImageResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.image
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createNavigationItem | CreateNavigationItemParameter | Long |
editNavigationItem | EditNavigationItemParameter | Long |
getUserNavigationItem | GetNavigationItemParameter | NavigationItemResource |
getCollectionUserNavigationItem | GetCollectionNavigationItemParameter | List<NavigationItemResource> |
deleteNavigationItem | DeleteNavigationItemParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.navigationitem
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
getUserObservation | GetObservationParameter | ObservationResource |
getCollectionUserObservation | GetCollectionObservationParameter | List<ObservationResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.observation
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createProperty | CreatePropertyParameter | Long |
getUserProperty | GetPropertyParameter | PropertyResource |
getCollectionUserProperty | GetCollectionPropertyParameter | List<PropertyResource> |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.property
Package - Files
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
editUserPreference | EditUserPreferenceParameter | Long |
getUserUserPreference | GetUserPreferenceParameter | UserPreferenceResource |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.userpreference
Package - Files
Preference
Methods
Please read the appropriate documentation part of Resources, for an specific information about the attributs an parameters in every parameter class.
Name | Parameter | Return |
---|---|---|
createPreference | CreatePreferenceParameter | Long |
editPreference | EditPreferenceParameter | Long |
getUserUserPreferencePreference | GetPreferenceParameter | PreferenceResource |
deletePreference | DeletePreferenceParameter | void |
Package
Informations about packages and contained classes in packages are listed unter Important Classes.
com.communote.plugins.api.rest.client.resource.user.userpreference.preference
Package - Files