Releases: OpenNTF/SocialSDK
Social Business Toolkit SDK - 20131101
What's new in the Social Business Toolkit SDK
FollowService (JavaScript)
CommunityService Invite API's (JavaScript and Java)
Bug Fixes
sbtsdk-1.0.0.20131009
Updates to Java and JavaScript API's
BlogService, ActivityService, ForumService, FileService
New sample to demonstrate how to use OAuth endpoints in a J2EE application
See Grant Access Web sample.
Works with On-Premise and SmartCloud IBM Connections.
SearchBox control
Perform searches across the installed Connections applications.
sbtsdk-1.0.0.20130926-1550
What's new in the Social Business Toolkit SDK
Blogs Service
Programmatically create, update, read and delete Blog entries. (Java, JavaScript, On-Premise, API)
Activities Service
Programmatically create, update, read and delete Activity entries. (Java, JavaScript, On-Premise, API)
Search Service
Perform searches across the installed Connections applications. (Java, On-Premise, API)
Bookmarks Grid
Display list of bokkmarks. (JavaScript, On-Premise, Control)
API consistency and general cleanup (Java, JavaScript)
Details listed below
API Consistency Changes
ActivitySteam
Java changes
- getActivityStream() changed to getStream()
2 getActivityStream(String user, String group, String app,Map<String, String> params) renamed to getStream(String user, String group, String app,Map<String, String> params) - New method added getMyStatusUpdates() : New method ( Already existed on JS side )
- getNotificationsForMe() : Changed api to use RESPONSES instead of NOTESFORME
- postMBEntry changed to postMicroblogEntry()
JS Changes
- New methods added : getAllUpdates(), getStatusUpdatesFromMyNetwork(), getMyActionableItemsForApplication(), getMySavedViewItemsForApplication(), searchByPattern()
- Changed postMicroblogEntry to take both string or object
- Renamed getUpdatesFromAUser to getUpdatesFromUser
- Renamed getUpdatesFromACommunity to getUpdatesFromCommunity
- Renamed getMyActionableView to getMyActionableItems
- Renamed getMySavedView to getMySavedItems
CommunityService
Java Changes
- removed methods getMembers with communityObject as parameter, newCommunity(), deleteCommunity() with Community Object
- changed addMember to use Member object and remove role argument
- added getCommunityTheme and setCommunityTheme in Community class
- removed addMember(String memberID, String role) from Community class
- added update() in Community class
- added getCommunityUuid() in invite class
- added getContent and setContent in invite
JS Changes
- removeMember() in CommunityService and Community class uses just the memberid instead of paasing Member object
- Added getId() wrapper method in Invite class.
ProfileService Connections
Java Changes
- changed getters to connections naming convention in Profile class
- added method getTags()
- removed newProfile /newConnectionEntry methods
- renamed getReportToChain() to getReportingChain
- renamed getDirectReports to getPeopleManage
- changed updateProfilePhoto(file, userid) to accept a userid
JS Changes
- changed getTags() to rely just on userid parameter
- changed getColleagues() to rely just on userid parameter
- Added new class for ConnectionEntry and a new wrapper getColleaguesConnectionEntries to return array of ConnectionEntry
FileService
- New Methods Added :
CommentEntry(now Comment) : getTitle, getContent, getCreated, getModified, getVersionLabel, getUpdated, getPublished, getModifier, getAuthor, getLanguage, getDeleteWithRecord
FileEntry(now File) : getSelfUrl, getAlternateUrl, getDownloadUrl, getEditLink, getEditMediaLink, getCommentsUrl, getAuthor instead of getAuthorEntry, getVersionUuid, getRecommendationsCount, getCommentsCount, getSharesCount, getFoldersCount, getAttachmentsCount, getVersionsCount, getReferencesCount, getSummary, getContentUrl, getContentType, getAcls, getHitCount, getAnonymousHitCount, getTags, load, save, addComment, pin, unpin, lock, unlock, remove, update, download.
- Methods / Variables removed :
CommentEntry - getData and setData methods, other unused member variables
added method addCommentToFile which takes FileEntry - Renaming :
CommentEntry.java to Comment.java, FileEntry to File.java,
FileService : method name upload to uploadFile, updateFile / information to updateFileMetaData
4.New Classes : CommentEntryFeedHandler, and FileEntryFeedHandler
Internal Changes : Usage of Tranformers
JS Changes
- Updated method like getId to getFileId to match Java services
- Added getCategory() in File Entity
- Added new APIs: addFileToFolders ,createFolder , deleteAllFilesFromRecycleBin ,deleteComment ,deleteFileFromRecycleBin ,
deleteFileShare , deleteFolder ,getAllUserFiles ,getFileComments ,getFileFromRecycleBin getFilesAwaitingApproval ,getFileShares
getFilesInFolder , getFilesInMyRecycleBin ,getFileWithGivenVersion ,getFolder ,getFoldersWithRecentlyAddedFiles
getPinnedFolders ,getPublicFolders ,pinFolder ,removeFileFromFolder ,restoreFileFromRecycleBin ,shareFileWithCommunities ,
unpinFolder , updateMyComment , updateComment ,addFileToFolder ,- Updated FileService to use tranformer design pattern
ProfileService Smartcloud
Java:
- Added load method in Profile.java class.
- Renamed getTitle to getJobTitle in Profile.java
- Renamed getPhoneNumber to getTelephoneNumber
- Renamed getAboutMe to getAbout in profile.java
- Added getOrg() method in profile.java.
- Renamed getDataHandler method from profile.java
- Added getObjectId in Profile.java
- add getDefaultEndpoint method in ProfileService.java
- Name of ProfilesJsonPath(in Java) changed to ProfileJPath.
JS :
- getData method to be removed from profile class in JS
- Removed getProfileByGUID method which is deprecated.
- Added getMyProfile method needs to be added to JS.