Package com.avoka.component.sharepoint


package com.avoka.component.sharepoint

Provides Microsoft SharePoint integration classes. The primary class used in this package is the SPClient which is used to create a connection to the SharePoint server and provides factory method for creating SharePoint service objects.

Examples

The Groovy script example below illustrates using the SPClient object to create an List SharePoint web service object, which is then user to lookup a list collection. In this examples configuration Service Parameters are accessed via the serviceParameters map object.


import com.avoka.component.sharepoint.SPClient

import com.avoka.component.sharepoint.service.Lists



// Create a SharePoint client using the service parameters map with the configured connection details

def spClient = new SPClient(serviceParameters)



// Create a List web service

def listService = spClient.getLists()



// Get a List collection map 

def collectionMap = listService.getListCollection(serviceParameters.siteContext) 
  • Class
    Description
    Provides an abstract SharePoint service class to be extended by concrete SharePoint service implementations.
    Provides a Microsoft SharePoint Client class with web service factory methods.
    Provides a Microsoft SharePoint connection class.
    Provides a SharePoint exception for SOAP fault messages generated on the SharePoint server.