|
Clearspace API (1.10.14) Web Services Client Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.community.webservices.ServiceLocator
public class ServiceLocator
Entry point to the jive java soap webservices api. Supplies the client with access to all of the different services.
General Usage: ServiceLocator locator = new ServiceLocator("https://myforums.com",
"user", "password");
ContentService svc = locator.getContentService();
Community
community = svc.getCommunity(1);
| Nested Class Summary | |
|---|---|
protected static class |
ServiceLocator.CacheKey
Cache key used by CacheHandler |
| Constructor Summary | |
|---|---|
ServiceLocator(java.lang.String url)
Creates a new anonymous Service Locator. |
|
ServiceLocator(java.lang.String url,
java.lang.String username,
java.lang.String password)
Create a new service locator. |
|
ServiceLocator(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String proxyHost,
java.lang.String proxyPort)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String url
protected java.lang.String password
protected SearchService searchService
protected CommunityService communityService
protected ForumService forumService
protected UserService userService
protected GroupService groupService
protected WatchService watchService
protected PermissionService permissionService
protected DocumentService documentService
protected PollService pollService
protected RatingsService ratingsService
protected AttachmentService attachmentManagerService
protected SystemPropertiesService systemPropertiesService
protected BlogService blogService
protected java.lang.String proxyHost
protected java.lang.String proxyPort
protected org.codehaus.xfire.DefaultXFire xfire
protected org.codehaus.xfire.service.binding.ObjectServiceFactory objectServiceFactory
protected java.lang.String username
protected org.codehaus.xfire.client.XFireProxyFactory proxyFactory
protected TagService tagService
protected CommentService commentService
protected ProfileFieldService profileFieldService
protected ProfileService profileService
protected AddressBookService addressBookService
| Constructor Detail |
|---|
public ServiceLocator(java.lang.String url,
java.lang.String username,
java.lang.String password)
url - Community installation base url.username - Username of the community user to connect with.password - The Password of the community user.
public ServiceLocator(java.lang.String url,
java.lang.String username,
java.lang.String password,
java.lang.String proxyHost,
java.lang.String proxyPort)
public ServiceLocator(java.lang.String url)
url - community installation base url.| Method Detail |
|---|
public SearchService getSearchService()
SearchService.
SearchService.public CommunityService getCommunityService()
CommunityService.
CommunityService.public GroupService getGroupService()
GroupService
GroupServicepublic PermissionService getPermissionService()
PermissionService
PermissionServicepublic AddressBookService getAddressBookService()
AddressBookService.
AddressBookService.public ForumService getForumService()
ForumService.
ForumService.public UserService getUserService()
UserService
UserServicepublic WatchService getWatchService()
WatchService
WatchServicepublic DocumentService getDocumentService()
public AttachmentService getAttachmentManagerService()
AttachmentService
AttachmentServicepublic SystemPropertiesService getSystemPropertiesService()
SystemPropertiesService
SystemPropertiesServicepublic PollService getPollService()
PollService
PollServicepublic RatingsService getRatingsService()
RatingsService
RatingsServicepublic BlogService getBlogService()
BlogService.
BlogService.public TagService getTagService()
TagService.
TagService.public CommentService getCommentService()
CommentService.
CommentService.public ProfileFieldService getProfileFieldService()
ProfileFieldService.
ProfileFieldService.public ProfileService getProfileService()
ProfileService
ProfileServicepublic org.codehaus.xfire.DefaultXFire getXFire()
public <U> U createServiceProxy(java.lang.Class<U> serviceClass,
boolean mtomEnabled)
WebService with the serviceName specified.
serviceClass - The service interface.mtomEnabled - Whether or not to enable MTOM encoding
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||