public class Service
extends java.lang.Object
| Constructor and Description |
|---|
Service()
Initializes a new instance of the Service class.
|
Service(java.lang.String siteUrl)
Initializes a new instance of the Service class.
|
Service(java.lang.String siteUrl,
java.lang.String username,
java.lang.String password)
Initializes a new instance of the Service class.
|
Service(java.lang.String siteUrl,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
Initializes a new instance of the Service class.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
addDependentLookupField(java.lang.String displayName,
java.lang.String primaryLookupFieldId,
java.lang.String showField,
java.lang.String listId)
Adds the dependent lookup field.
|
boolean |
addRoleAssignment(int principalId,
int roleId)
Adds the role assignment.
|
boolean |
applySiteTemplate(java.lang.String name)
Apply site template.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl)
Apply theme.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl,
boolean shareGenerated)
Apply theme.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl)
Apply theme.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
boolean shareGenerated)
Apply theme.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
java.lang.String backgroundImageUrl)
Apply theme.
|
boolean |
applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
java.lang.String backgroundImageUrl,
boolean shareGenerated)
Apply theme.
|
boolean |
approve(java.lang.String filePath)
Approve.
|
boolean |
approve(java.lang.String filePath,
java.lang.String comment)
Approve.
|
boolean |
breakRoleInheritance()
Break role inheritance.
|
boolean |
breakRoleInheritance(boolean copyRoleAssignments)
Break role inheritance.
|
boolean |
breakRoleInheritance(boolean copyRoleAssignments,
boolean clearSubscopes)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId,
boolean copyRoleAssignments)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId,
boolean copyRoleAssignments,
boolean clearSubscopes)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId,
int itemId)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId,
int itemId,
boolean copyRoleAssignments)
Break role inheritance.
|
boolean |
breakRoleInheritance(java.lang.String listId,
int itemId,
boolean copyRoleAssignments,
boolean clearSubscopes)
Break role inheritance.
|
void |
cancelUploadFile(java.lang.String filePath,
java.lang.String uploadId)
Stops the chunk upload session without saving the uploaded data.
|
User |
checkedOutByUser(java.lang.String filePath)
Checked out by user.
|
boolean |
checkIn(java.lang.String filePath)
Check in.
|
boolean |
checkIn(java.lang.String filePath,
CheckInType type)
Check in.
|
boolean |
checkIn(java.lang.String filePath,
CheckInType type,
java.lang.String comment)
Check in.
|
boolean |
checkIn(java.lang.String filePath,
java.lang.String comment)
Check in.
|
boolean |
checkOut(java.lang.String filePath)
Check out.
|
boolean |
copyFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath)
Copy file.
|
boolean |
copyFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath,
boolean overwrite)
Copy file.
|
Field |
createField(Field field)
Creates the field.
|
Field |
createField(FieldCreationInfo field,
java.lang.String listId)
Creates the field.
|
Field |
createField(FieldSchemaXml field)
Creates the field.
|
Field |
createField(FieldSchemaXml field,
java.lang.String listId)
Creates the field.
|
Field |
createField(Field field,
java.lang.String listId)
Creates the field.
|
File |
createFile(java.lang.String filePath,
byte[] buffer)
Creates the file.
|
File |
createFile(java.lang.String filePath,
byte[] buffer,
boolean overwrite)
Creates the file.
|
File |
createFile(java.lang.String filePath,
java.io.InputStream stream)
Creates the file.
|
File |
createFile(java.lang.String filePath,
java.io.InputStream stream,
boolean overwrite)
Creates the file.
|
Folder |
createFolder(java.lang.String folderPath)
Creates the folder.
|
Group |
createGroup(Group group)
Creates the group.
|
List |
createList(List list)
Creates the list.
|
ListItem |
createListItem(java.lang.String listId,
ListItem listItem)
Creates the list item.
|
Attachment |
createListItemAttachment(java.lang.String listId,
int itemId,
java.io.File file)
Creates the list item attachment.
|
Attachment |
createListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
byte[] buffer)
Creates the list item attachment.
|
Attachment |
createListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
java.io.InputStream stream)
Creates the list item attachment.
|
Role |
createRole(Role role)
Creates the role.
|
Site |
createSite(SiteCreationInfo siteInfo)
Creates the site.
|
File |
createTemplateFile(java.lang.String filePath)
Creates the template file.
|
File |
createTemplateFile(java.lang.String filePath,
TemplateFileType type)
Creates the template file.
|
User |
createUser(User user,
int groupId)
Creates the user.
|
View |
createView(java.lang.String listId,
View view)
Creates the view.
|
boolean |
createViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName)
Creates the view field.
|
boolean |
deleteAllFileVersions(java.lang.String filePath)
Delete all file versions.
|
boolean |
deleteAllViewFields(java.lang.String listId,
java.lang.String viewId)
Delete all view fields.
|
void |
deleteField(java.lang.String id,
java.lang.String listId)
Delete field.
|
void |
deleteFile(java.lang.String filePath)
Delete file.
|
boolean |
deleteFileVersion(java.lang.String filePath,
int versionId)
Delete file version.
|
boolean |
deleteFileVersion(java.lang.String filePath,
java.lang.String versionLabel)
Delete file version.
|
void |
deleteFolder(java.lang.String folderPath)
Delete folder.
|
boolean |
deleteGroup(int groupId)
Delete group.
|
boolean |
deleteGroup(java.lang.String loginName)
Delete group.
|
void |
deleteList(java.lang.String listId)
Delete list.
|
void |
deleteListItem(java.lang.String listId,
int itemId)
Delete list item.
|
void |
deleteRole(int roleId)
Delete role.
|
void |
deleteSite()
Delete site.
|
boolean |
deleteUser(int userId,
int groupId)
Delete user.
|
boolean |
deleteUser(java.lang.String loginName,
int groupId)
Delete user.
|
void |
deleteView(java.lang.String listId,
java.lang.String viewId)
Delete view.
|
boolean |
deleteViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName)
Delete view field.
|
boolean |
deny(java.lang.String filePath)
Deny.
|
boolean |
deny(java.lang.String filePath,
java.lang.String comment)
Deny.
|
User |
ensureUser(java.lang.String loginName)
Ensure user.
|
Group |
getAssociatedMemberGroup()
Gets the associated member group.
|
Group |
getAssociatedOwnerGroup()
Gets the associated owner group.
|
Group |
getAssociatedVisitorGroup()
Gets the associated visitor group.
|
java.lang.String |
getAuthorizationCode() |
java.lang.String |
getAuthorizationCodeRedirectUri() |
java.lang.String |
getAuthorizationCodeRequestUri(java.lang.String redirectUri) |
java.lang.String |
getAuthorizationCodeRequestUri(java.lang.String redirectUri,
java.lang.String responseMode) |
java.lang.String |
getAuthorizationCodeRequestUri(java.lang.String redirectUri,
java.lang.String responseMode,
java.lang.String state) |
java.util.List<ContentType> |
getAvailableContentTypes()
Gets the available content types.
|
java.util.List<ContentType> |
getAvailableContentTypes(java.util.List<IQueryOption> queryOptions)
Gets the available content types.
|
List |
getCatalog(ListTemplateType listTemplate)
Gets the catalog.
|
java.util.List<Change> |
getChanges(ChangeQuery query)
Gets the changes.
|
java.util.List<Change> |
getChanges(ChangeQuery query,
java.util.List<IQueryOption> queryOptions)
Gets the changes.
|
java.util.List<Change> |
getChanges(ChangeQuery query,
java.lang.String listId)
Gets the changes.
|
java.util.List<Change> |
getChanges(ChangeQuery query,
java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the changes.
|
java.lang.String |
getClientAssertion() |
org.apache.http.conn.HttpClientConnectionManager |
getClientConnectionManager()
Gets connection manager.
|
java.lang.String |
getClientId() |
java.lang.String |
getClientSecret() |
int |
getConnectTimeout()
Returns setting for connect timeout.
|
ContentType |
getContentType(java.lang.String contentTypeId)
Gets the content type.
|
ContentType |
getContentType(java.lang.String listId,
java.lang.String contentTypeId)
Gets the content type.
|
java.util.List<FieldLink> |
getContentTypeFieldLinks(java.lang.String contentTypeId)
Gets the content type field links.
|
java.util.List<FieldLink> |
getContentTypeFieldLinks(java.lang.String contentTypeId,
java.util.List<IQueryOption> queryOptions)
Gets the content type field links.
|
java.util.List<FieldLink> |
getContentTypeFieldLinks(java.lang.String listId,
java.lang.String contentTypeId)
Gets the content type field links.
|
java.util.List<FieldLink> |
getContentTypeFieldLinks(java.lang.String listId,
java.lang.String contentTypeId,
java.util.List<IQueryOption> queryOptions)
Gets the content type field links.
|
java.util.List<Field> |
getContentTypeFields(java.lang.String contentTypeId)
Gets the content type fields.
|
java.util.List<Field> |
getContentTypeFields(java.lang.String contentTypeId,
java.util.List<IQueryOption> queryOptions)
Gets the content type fields.
|
java.util.List<Field> |
getContentTypeFields(java.lang.String listId,
java.lang.String contentTypeId)
Gets the content type fields.
|
java.util.List<Field> |
getContentTypeFields(java.lang.String listId,
java.lang.String contentTypeId,
java.util.List<IQueryOption> queryOptions)
Gets the content type fields.
|
java.util.List<ContentType> |
getContentTypes()
Gets the content types.
|
java.util.List<ContentType> |
getContentTypes(java.lang.String listId)
Gets the content types.
|
java.util.List<ContentType> |
getContentTypes(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the content types.
|
ContextInfo |
getContextInfo()
Gets the context info.
|
User |
getCreatedByUser(java.lang.String filePath,
int versionId)
Gets the created by user.
|
User |
getCurrentUser()
Gets the current user.
|
org.apache.http.Header[] |
getCustomHeaders() |
java.util.List<ListTemplate> |
getCustomListTemplates()
Gets the custom list templates.
|
java.util.List<ListTemplate> |
getCustomListTemplates(java.util.List<IQueryOption> queryOptions)
Gets the custom list templates.
|
DeviceAuthorizationCode |
getDeviceAuthorizationCode() |
java.lang.String |
getDeviceCode() |
java.lang.String |
getDomain()
Gets user's domain.
|
java.util.List<BasePermission> |
getEffectiveBasePermissions()
Gets the effective base permissions.
|
EventReceiver |
getEventReceiver(java.lang.String receiverId)
Gets the event receiver.
|
java.util.List<EventReceiver> |
getEventReceivers()
Gets the event receivers.
|
java.util.List<EventReceiver> |
getEventReceivers(java.util.List<IQueryOption> queryOptions)
Gets the event receivers.
|
java.util.List<java.lang.String> |
getFeatures()
Gets the features.
|
java.util.List<java.lang.String> |
getFeatures(java.util.List<IQueryOption> queryOptions)
Gets the features.
|
Field |
getField(java.lang.String id)
Gets the field.
|
Field |
getField(java.lang.String id,
java.lang.String listId)
Gets the field.
|
Field |
getFieldByInternalNameOrTitle(java.lang.String name)
Gets the field by internal name or title.
|
Field |
getFieldByInternalNameOrTitle(java.lang.String name,
java.lang.String listId)
Gets the field by internal name or title.
|
Field |
getFieldByTitle(java.lang.String title)
Gets the field by title.
|
Field |
getFieldByTitle(java.lang.String title,
java.lang.String listId)
Gets the field by title.
|
java.util.List<Field> |
getFields()
Gets the fields.
|
java.util.List<Field> |
getFields(java.util.List<IQueryOption> queryOptions)
Gets the fields.
|
java.util.List<FieldValue> |
getFieldValues(java.lang.String listId,
int itemId)
Gets the field values.
|
java.util.List<FieldValue> |
getFieldValues(java.lang.String listId,
int itemId,
java.util.List<IQueryOption> queryOptions)
Gets the field values.
|
java.util.List<FieldValue> |
getFieldValuesAsHtml(java.lang.String listId,
int itemId)
Gets the field values.
|
java.util.List<FieldValue> |
getFieldValuesAsHtml(java.lang.String listId,
int itemId,
java.util.List<IQueryOption> queryOptions)
Gets the field values.
|
File |
getFile(java.lang.String filePath)
Gets the file.
|
User |
getFileAuthor(java.lang.String filePath)
Gets the file author.
|
File |
getFileByRelativePath(java.lang.String filePath) |
byte[] |
getFileContent(java.lang.String filePath)
Gets the file content.
|
java.util.List<FieldValue> |
getFileFieldValues(java.lang.String filePath)
Gets the field values.
|
java.util.List<FieldValue> |
getFileFieldValues(java.lang.String filePath,
java.util.List<IQueryOption> queryOptions)
Gets the field values.
|
java.util.List<Link> |
getFileLinks(java.lang.String filePath)
Gets the list item links.
|
ListItemInfo |
getFileListItemInfo(java.lang.String filePath)
Gets the list id and item id of the file.
|
java.util.List<File> |
getFiles(java.lang.String folderPath)
Gets the files.
|
java.util.List<File> |
getFiles(java.lang.String folderPath,
java.util.List<IQueryOption> queryOptions)
Gets the files.
|
java.io.InputStream |
getFileStream(java.lang.String filePath)
Gets the file stream.
|
java.io.InputStream |
getFileStreamByRelativePath(java.lang.String filePath)
Gets the file stream.
|
FileVersion |
getFileVersion(java.lang.String filePath,
int versionId)
Gets the file version.
|
java.util.List<FileVersion> |
getFileVersions(java.lang.String filePath)
Gets the file versions.
|
java.util.List<FileVersion> |
getFileVersions(java.lang.String filePath,
java.util.List<IQueryOption> queryOptions)
Gets the file versions.
|
Folder |
getFolder(java.lang.String folderPath)
Gets the folder.
|
java.util.List<FieldValue> |
getFolderFieldValues(java.lang.String folderPath)
Gets the field values.
|
java.util.List<FieldValue> |
getFolderFieldValues(java.lang.String folderPath,
java.util.List<IQueryOption> queryOptions)
Gets the field values.
|
java.util.List<Link> |
getFolderLinks(java.lang.String folderPath)
Gets the folder links.
|
ListItemInfo |
getFolderListItemInfo(java.lang.String folderPath)
Gets the list id and item id of the folder.
|
java.util.List<Folder> |
getFolders(java.lang.String parentFolder)
Gets the folders.
|
java.util.List<Folder> |
getFolders(java.lang.String parentFolder,
java.util.List<IQueryOption> queryOptions)
Gets the folders.
|
Group |
getGroup(int groupId)
Gets the group.
|
Group |
getGroup(java.lang.String loginName)
Gets the group.
|
User |
getGroupOwner(int groupId)
Gets the group owner.
|
User |
getGroupOwner(java.lang.String loginName)
Gets the group owner.
|
java.util.List<Group> |
getGroups()
Gets the groups.
|
java.util.List<Group> |
getGroups(java.util.List<IQueryOption> queryOptions)
Gets the groups.
|
java.util.List<User> |
getGroupUsers(int groupId)
Gets the group users.
|
java.util.List<User> |
getGroupUsers(int groupId,
java.util.List<IQueryOption> queryOptions)
Gets the group users.
|
java.util.List<User> |
getGroupUsers(java.lang.String loginName)
Gets the group users.
|
java.util.List<User> |
getGroupUsers(java.lang.String loginName,
java.util.List<IQueryOption> queryOptions)
Gets the group users.
|
java.net.Proxy |
getHttpURLConnectionProxy()
Gets HttpURLConnection proxy server.
|
java.io.InputStream |
getInputStream(java.lang.String url)
Gets the input stream.
|
LimitedWebPartManager |
getLimitedWebPartManager(java.lang.String filePath)
Gets the limited web part manager.
|
LimitedWebPartManager |
getLimitedWebPartManager(java.lang.String filePath,
PersonalizationScope scope)
Gets the limited web part manager.
|
List |
getList(java.lang.String listId)
Gets the list.
|
List |
getListByTitle(java.lang.String title)
Gets the list by title.
|
java.util.List<ContentType> |
getListContentTypes(java.lang.String listId)
Gets the list content types.
|
java.util.List<ContentType> |
getListContentTypes(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the list content types.
|
View |
getListDefaultView(java.lang.String listId)
Gets the list default view.
|
java.util.List<EventReceiver> |
getListEventReceivers(java.lang.String listId)
Gets the list event receivers.
|
java.util.List<EventReceiver> |
getListEventReceivers(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the list event receivers.
|
java.util.List<Field> |
getListFields(java.lang.String listId)
Gets the list fields.
|
java.util.List<Field> |
getListFields(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the list fields.
|
Form |
getListForm(java.lang.String listId,
java.lang.String formId)
Gets the list form.
|
java.util.List<Form> |
getListForms(java.lang.String listId)
Gets the list forms.
|
java.util.List<Form> |
getListForms(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the list forms.
|
ListItem |
getListItem(java.lang.String listId,
int itemId)
Gets the list item.
|
java.util.List<Attachment> |
getListItemAttachments(java.lang.String listId,
int itemId)
Gets the list item attachments.
|
java.util.List<Attachment> |
getListItemAttachments(java.lang.String listId,
int itemId,
java.util.List<IQueryOption> queryOptions)
Gets the list item attachments.
|
java.util.List<Change> |
getListItemChanges(java.lang.String listId,
ChangeLogItemQuery query)
Gets the list item changes.
|
java.util.List<Change> |
getListItemChanges(java.lang.String listId,
ChangeLogItemQuery query,
java.util.List<IQueryOption> queryOptions)
Gets the list item changes.
|
ContentType |
getListItemContentType(java.lang.String listId,
int itemId)
Gets the list item content type.
|
java.util.List<Link> |
getListItemLinks(java.lang.String filePath)
Gets the list item links.
|
java.lang.String |
getListItemProperty(java.lang.String listId,
int itemId,
java.lang.String propertyName)
Gets the list item property as xml string.
|
java.util.List<ListItem> |
getListItems(java.lang.String listId)
Gets the list items.
|
java.util.List<ListItem> |
getListItems(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the list items.
|
RegionalSettings |
getListRegionalSettings(java.lang.String listId)
Gets the list regional settings.
|
java.util.List<List> |
getLists()
Gets the lists.
|
java.util.List<List> |
getLists(java.util.List<IQueryOption> queryOptions)
Gets the lists.
|
java.lang.String |
getListSchemaXml(java.lang.String listId)
Gets the list schema xml.
|
ServerSettings |
getListServerSettings(java.lang.String listId)
Gets the list server settings.
|
ListTemplate |
getListTemplate(java.lang.String name)
Gets the list template.
|
java.util.List<ListTemplate> |
getListTemplates()
Gets the list templates.
|
java.util.List<ListTemplate> |
getListTemplates(java.util.List<IQueryOption> queryOptions)
Gets the list templates.
|
User |
getLockedByUser(java.lang.String filePath)
Gets the locked by user.
|
java.lang.String |
getLoginHostUri()
Gets login host uri.
|
User |
getModifiedByUser(java.lang.String filePath)
Gets the modified by user.
|
NavigationNode |
getNavigationNode(int id)
Gets the navigation node.
|
java.util.List<NavigationNode> |
getNavigationNodeChildren(int id)
Gets the navigation node children.
|
java.util.List<NavigationNode> |
getNavigationNodeChildren(int id,
java.util.List<IQueryOption> queryOptions)
Gets the navigation node children.
|
OAuthToken |
getOAuthToken() |
OAuthToken |
getOAuthTokenWithAuthorizationCode(java.lang.String authorizationCode,
java.lang.String authorizationCodeRedirectUri) |
OAuthToken |
getOAuthTokenWithAuthorizationCode(java.lang.String authorizationCode,
java.lang.String authorizationCodeRedirectUri,
java.lang.String clientSecret) |
OAuthToken |
getOAuthTokenWithClientAssertion(java.lang.String clientAssertion) |
OAuthToken |
getOAuthTokenWithClientSecret(java.lang.String clientSecret) |
OAuthToken |
getOAuthTokenWithDeviceAuthorizationCode(java.lang.String deviceCode) |
OAuthToken |
getOAuthTokenWithUsernamePassword(java.lang.String username,
java.lang.String password) |
OAuthToken |
getOAuthTokenWithUsernamePassword(java.lang.String username,
java.lang.String password,
java.lang.String clientSecret) |
OAuthToken |
getOAuthTokenWithUsernamePassword(java.lang.String username,
java.lang.String password,
java.lang.String clientSecret,
java.lang.String clientAssertion) |
java.lang.String |
getPassword()
Gets user's password.
|
org.apache.http.HttpHost |
getProxy()
Gets HttpClient proxy.
|
org.apache.http.auth.Credentials |
getProxyCredentials()
Gets proxy credentials.
|
java.util.List<NavigationNode> |
getQuickLaunch()
Gets the quick launch.
|
java.util.List<NavigationNode> |
getQuickLaunch(java.util.List<IQueryOption> queryOptions)
Gets the quick launch.
|
int |
getReadTimeout()
Returns setting for read timeout.
|
RealmInfo |
getRealmInfo() |
RecycleBinItem |
getRecycleBinItem(java.lang.String id)
Gets the recycle bin item.
|
User |
getRecycleBinItemAuthor(java.lang.String id)
Gets the recycle bin item author.
|
User |
getRecycleBinItemDeletedBy(java.lang.String id)
Gets the recycle bin item deleted by.
|
java.util.List<RecycleBinItem> |
getRecycleBinItems()
Gets the recycle bin items.
|
java.util.List<RecycleBinItem> |
getRecycleBinItems(java.util.List<IQueryOption> queryOptions)
Gets the recycle bin items.
|
RegionalSettings |
getRegionalSettings()
Gets the regional settings.
|
java.util.List<Field> |
getRelatedFields(java.lang.String listId)
Gets the related fields.
|
java.util.List<Field> |
getRelatedFields(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the related fields.
|
org.apache.http.client.config.RequestConfig |
getRequestConfig()
Gets request configuration.
|
java.util.List<HttpHeader> |
getRequestHttpHeaders() |
java.util.List<HttpHeader> |
getResponseHttpHeaders() |
Role |
getRole(int roleId)
Gets the role.
|
Role |
getRole(RoleType type)
Gets the role.
|
Role |
getRole(java.lang.String name)
Gets the role.
|
java.util.List<java.lang.Integer> |
getRoleAssignments()
Gets the role assignments.
|
java.util.List<java.lang.Integer> |
getRoleAssignments(int principalId)
Gets the role assignments.
|
java.util.List<java.lang.Integer> |
getRoleAssignments(java.util.List<IQueryOption> queryOptions)
Gets the role assignments.
|
java.util.List<Role> |
getRoles()
Gets the roles.
|
java.util.List<Role> |
getRoles(java.util.List<IQueryOption> queryOptions)
Gets the roles.
|
Folder |
getRootFolder()
Gets the root folder.
|
java.util.List<java.lang.String> |
getScope() |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint,
java.lang.String domainHint) |
java.lang.String |
getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint,
java.lang.String domainHint,
java.lang.String prompt) |
Site |
getSite()
Gets the site.
|
java.util.List<SiteInfo> |
getSiteInfos()
Gets the site infos.
|
java.util.List<SiteInfo> |
getSiteInfos(java.util.List<IQueryOption> queryOptions)
Gets the site infos.
|
java.util.List<Site> |
getSites()
Gets the sites.
|
java.util.List<Site> |
getSites(java.util.List<IQueryOption> queryOptions)
Gets the sites.
|
java.util.List<SiteTemplate> |
getSiteTemplates(Locale locale)
Gets the site templates.
|
java.util.List<SiteTemplate> |
getSiteTemplates(Locale locale,
boolean includeCrossLanguage)
Gets the site templates.
|
java.util.List<SiteTemplate> |
getSiteTemplates(Locale locale,
boolean includeCrossLanguage,
java.util.List<IQueryOption> queryOptions)
Gets the site templates.
|
java.util.List<SiteTemplate> |
getSiteTemplates(Locale locale,
java.util.List<IQueryOption> queryOptions)
Gets the site templates.
|
java.lang.String |
getSiteUrl()
Gets SharePoint site url.
|
java.lang.String |
getTenant() |
ThemeInfo |
getThemeInfo()
Gets the theme info.
|
TimeZone |
getTimeZone()
Gets the time zone.
|
java.util.List<TimeZone> |
getTimeZones()
Gets the time zones.
|
java.util.List<TimeZone> |
getTimeZones(java.util.List<IQueryOption> queryOptions)
Gets the time zones.
|
java.util.List<NavigationNode> |
getTopNavigationBar()
Gets the top navigation bar.
|
java.util.List<NavigationNode> |
getTopNavigationBar(java.util.List<IQueryOption> queryOptions)
Gets the top navigation bar.
|
User |
getUser(int userId)
Gets the user.
|
User |
getUser(int userId,
int groupId)
Gets the user.
|
User |
getUser(java.lang.String loginName,
int groupId)
Gets the user.
|
java.lang.String |
getUserAgent()
Gets the User-Agent.
|
User |
getUserByEmail(java.lang.String email,
int groupId)
Gets the user by email.
|
java.util.List<Role> |
getUserCustomActions()
Gets the user custom actions.
|
java.util.List<Role> |
getUserCustomActions(java.util.List<IQueryOption> queryOptions)
Gets the user custom actions.
|
java.util.List<BasePermission> |
getUserEffectivePermissions(java.lang.String listId,
int itemId,
java.lang.String loginName)
Gets the user effective permissions.
|
java.util.List<BasePermission> |
getUserEffectivePermissions(java.lang.String listId,
java.lang.String loginName)
Gets the user effective permissions.
|
java.util.List<Group> |
getUserGroups(int userId)
Gets the user groups.
|
java.util.List<Group> |
getUserGroups(int userId,
java.util.List<IQueryOption> queryOptions)
Gets the user groups.
|
List |
getUserInfoList()
Gets the user info list.
|
java.lang.String |
getUsername()
Gets username.
|
java.util.List<User> |
getUsers()
Gets the users.
|
java.util.List<User> |
getUsers(int groupId)
Gets the users.
|
java.util.List<User> |
getUsers(int groupId,
java.util.List<IQueryOption> queryOptions)
Gets the users.
|
java.util.List<User> |
getUsers(java.util.List<IQueryOption> queryOptions)
Gets the users.
|
View |
getView(java.lang.String listId,
java.lang.String viewId)
Gets the view.
|
View |
getViewByTitle(java.lang.String listId,
java.lang.String title)
Gets the view by title.
|
java.util.List<java.lang.String> |
getViewFields(java.lang.String listId,
java.lang.String viewId)
Gets the view fields.
|
java.util.List<java.lang.String> |
getViewFields(java.lang.String listId,
java.lang.String viewId,
java.util.List<IQueryOption> queryOptions)
Gets the view fields.
|
java.lang.String |
getViewFieldsSchemaXml(java.lang.String listId,
java.lang.String viewId)
Gets the view fields schema xml.
|
java.lang.String |
getViewHtml(java.lang.String listId,
java.lang.String viewId)
Gets the view html.
|
java.util.List<View> |
getViews(java.lang.String listId)
Gets the views.
|
java.util.List<View> |
getViews(java.lang.String listId,
java.util.List<IQueryOption> queryOptions)
Gets the views.
|
java.util.List<WorkflowTemplate> |
getWorkflowTemplates()
Gets the workflow templates.
|
java.util.List<WorkflowTemplate> |
getWorkflowTemplates(java.util.List<IQueryOption> queryOptions)
Gets the workflow templates.
|
boolean |
isAcceptGzipEncoding()
Return whether to accept GZIP encoding, that is, whether to send the HTTP "Accept-Encoding" header with "gzip" as value.
|
boolean |
isSharedNavigation()
Checks if is shared navigation.
|
java.lang.String |
loginAdfs() |
boolean |
moveFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath)
Move file.
|
boolean |
moveFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath,
MoveOperation operation)
Move file.
|
boolean |
moveViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName,
int index)
Move view field.
|
boolean |
publish(java.lang.String filePath)
Publish.
|
boolean |
publish(java.lang.String filePath,
java.lang.String comment)
Publish.
|
java.lang.String |
recycleFile(java.lang.String filePath)
Recycle file.
|
java.lang.String |
recycleFolder(java.lang.String folderPath)
Recycle folder.
|
java.lang.String |
recycleList(java.lang.String listId)
Recycle list.
|
java.lang.String |
recycleListItem(java.lang.String listId,
int itemId)
Recycle list item.
|
OAuthToken |
refreshOAuthToken() |
OAuthToken |
refreshOAuthToken(java.lang.String clientId,
java.lang.String tenant,
java.lang.String refreshToken) |
OAuthToken |
refreshOAuthToken(java.lang.String clientId,
java.lang.String tenant,
java.lang.String refreshToken,
java.util.List<java.lang.String> scope) |
OAuthToken |
refreshOAuthToken(java.lang.String clientId,
java.lang.String tenant,
java.lang.String refreshToken,
java.util.List<java.lang.String> scope,
java.lang.String clientSecret) |
boolean |
removeRoleAssignment(int principalId,
int roleId)
Removes the role assignment.
|
void |
renameFile(java.lang.String filePath,
java.lang.String newName)
Renames file.
|
void |
renameFolder(java.lang.String folderPath,
java.lang.String newName)
Renames folder.
|
java.lang.String |
renderListData(java.lang.String listId,
java.lang.String viewXml)
Render list data.
|
java.lang.String |
renderListFormData(java.lang.String listId,
int itemId,
java.lang.String formId,
ControlMode mode)
Render list form data.
|
int |
reserveListItemId(java.lang.String listId)
Reserve list item id.
|
boolean |
resetRoleInheritance(java.lang.String listId,
int itemId)
Reset role inheritance.
|
boolean |
restoreFileVersion(java.lang.String filePath,
java.lang.String versionLabel)
Restore file version.
|
SearchResult |
search(IRestriction restriction)
Search.
|
SearchResult |
search(IRestriction restriction)
Search.
|
SearchResult |
search(SearchQuery query)
Search.
|
SearchResult |
search(java.lang.String query)
Search.
|
void |
setAcceptGzipEncoding(boolean acceptGzipEncoding)
Set whether to accept GZIP encoding, that is, whether to send the HTTP "Accept-Encoding" header with "gzip" as value.
|
void |
setAuthorizationCode(java.lang.String authorizationCode) |
void |
setAuthorizationCodeRedirectUri(java.lang.String authorizationCodeRedirectUri) |
void |
setclientAssertion(java.lang.String clientAssertion) |
void |
setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
Sets connection manager.
|
void |
setClientId(java.lang.String clientId) |
void |
setClientSecret(java.lang.String clientSecret) |
void |
setConnectTimeout(int connectTimeout)
Sets the specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced by the HttpURLConnection.
|
void |
setCustomHeaders(org.apache.http.Header[] customHeaders) |
void |
setDeviceCode(java.lang.String deviceCode) |
void |
setDomain(java.lang.String domain)
Sets user's domain.
|
void |
setFieldValue(java.lang.String listId,
int listItemId,
FieldValue fieldValue)
Sets the field value.
|
void |
setFieldValues(java.lang.String listId,
int listItemId,
java.util.List<FieldValue> fieldValues)
Sets the field values.
|
void |
setFileFieldValue(java.lang.String filePath,
FieldValue fieldValue)
Sets the field value.
|
void |
setFileFieldValues(java.lang.String filePath,
java.util.List<FieldValue> fieldValues)
Sets the field values.
|
void |
setFolderFieldValue(java.lang.String folderPath,
FieldValue fieldValue)
Set the folder field value.
|
void |
setFolderFieldValues(java.lang.String folderPath,
java.util.List<FieldValue> fieldValues)
Set the folder field values.
|
void |
setHttpURLConnection(boolean useHttpURLConnection)
Sets the http url connection.
|
void |
setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
Sets HttpURLConnection proxy server.
|
void |
setLoginHostUri(java.lang.String loginHostUri)
Sets login host uri.
|
void |
setOAuthToken(OAuthToken oAuthToken) |
void |
setPassword(java.lang.String password)
Sets user's password.
|
void |
setProxy(org.apache.http.HttpHost proxy)
Sets HttpClient proxy.
|
void |
setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
Sets proxy credentials.
|
void |
setReadTimeout(int readTimeout)
Sets the read timeout to the specified timeout, in milliseconds.
|
void |
setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
Sets request configuration.
|
boolean |
setShowInDisplayForm(java.lang.String id,
java.lang.String listId)
Sets the show in display form.
|
boolean |
setShowInDisplayForm(java.lang.String id,
java.lang.String listId,
boolean show)
Sets the show in display form.
|
boolean |
setShowInEditForm(java.lang.String id,
java.lang.String listId)
Sets the show in edit form.
|
boolean |
setShowInEditForm(java.lang.String id,
java.lang.String listId,
boolean show)
Sets the show in edit form.
|
boolean |
setShowInNewForm(java.lang.String id,
java.lang.String listId)
Sets the show in new form.
|
boolean |
setShowInNewForm(java.lang.String id,
java.lang.String listId,
boolean show)
Sets the show in new form.
|
void |
setSiteUrl(java.lang.String siteUrl)
Sets SharePoint site url.
|
void |
setTenant(java.lang.String tenant) |
void |
setUserAgent(java.lang.String userAgent)
Sets the User-Agent.
|
void |
setUsername(java.lang.String username)
Sets username.
|
SuggestResult |
suggest(SearchQuerySuggestion suggestion)
Suggest.
|
SuggestResult |
suggest(java.lang.String query)
Suggest.
|
boolean |
undoCheckOut(java.lang.String filePath)
Undo check out.
|
boolean |
unpublish(java.lang.String filePath)
Unpublish.
|
boolean |
unpublish(java.lang.String filePath,
java.lang.String comment)
Unpublish.
|
Field |
updateField(Field field,
java.lang.String listId)
Update field.
|
void |
updateFileContent(java.lang.String filePath,
byte[] buffer)
Update file content.
|
void |
updateFileContent(java.lang.String filePath,
java.io.InputStream stream)
Update file content.
|
void |
updateFolder(Folder folder)
Update folder.
|
void |
updateGroup(Group group)
Update group.
|
void |
updateList(List list)
Update list.
|
void |
updateListItem(java.lang.String listId,
ListItem listItem)
Update list item.
|
void |
updateListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
byte[] buffer)
Updates the list item attachment.
|
void |
updateListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
java.io.InputStream stream)
Updates the list item attachment.
|
void |
updateRole(Role role)
Update role.
|
void |
updateSite(Site site)
Update site.
|
User |
updateUser(User user,
int groupId)
Update user.
|
void |
updateView(java.lang.String listId,
View view)
Update view.
|
long |
uploadFile(java.lang.String filePath,
java.io.InputStream inputStream)
Uploads large file.
|
long |
uploadFile(java.lang.String filePath,
java.io.InputStream inputStream,
java.lang.String uploadId)
Uploads large file.
|
public Service()
public Service(java.lang.String siteUrl)
siteUrl - The SharePoint site url. Example: "https://servername/site".public Service(java.lang.String siteUrl,
java.lang.String username,
java.lang.String password)
siteUrl - The SharePoint site url. Example: "https://servername/site".username - Usernamepassword - Passwordpublic Service(java.lang.String siteUrl,
java.lang.String username,
java.lang.String password,
java.lang.String domain)
siteUrl - The SharePoint site url. Example: "https://servername/site".username - Usernamepassword - Passworddomain - User' domainpublic Field addDependentLookupField(java.lang.String displayName, java.lang.String primaryLookupFieldId, java.lang.String showField, java.lang.String listId) throws ServiceException
displayName - the display nameprimaryLookupFieldId - the primary lookup field idshowField - the show fieldlistId - the list idServiceException - the service exceptionpublic boolean addRoleAssignment(int principalId,
int roleId)
throws ServiceException
principalId - the principal idroleId - the role idServiceException - the service exceptionpublic boolean applySiteTemplate(java.lang.String name)
throws ServiceException
name - the nameServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl)
throws ServiceException
colorPaletteUrl - the color palette urlServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl,
boolean shareGenerated)
throws ServiceException
colorPaletteUrl - the color palette urlshareGenerated - the share generatedServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl)
throws ServiceException
colorPaletteUrl - the color palette urlfontSchemeUrl - the font scheme urlServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
boolean shareGenerated)
throws ServiceException
colorPaletteUrl - the color palette urlfontSchemeUrl - the font scheme urlshareGenerated - the share generatedServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
java.lang.String backgroundImageUrl)
throws ServiceException
colorPaletteUrl - the color palette urlfontSchemeUrl - the font scheme urlbackgroundImageUrl - the background image urlServiceException - the service exceptionpublic boolean applyTheme(java.lang.String colorPaletteUrl,
java.lang.String fontSchemeUrl,
java.lang.String backgroundImageUrl,
boolean shareGenerated)
throws ServiceException
colorPaletteUrl - the color palette urlfontSchemeUrl - the font scheme urlbackgroundImageUrl - the background image urlshareGenerated - the share generatedServiceException - the service exceptionpublic boolean approve(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean approve(java.lang.String filePath,
java.lang.String comment)
throws ServiceException
filePath - the file pathcomment - the commentServiceException - the service exceptionpublic boolean breakRoleInheritance()
throws ServiceException
ServiceException - the service exceptionpublic boolean breakRoleInheritance(boolean copyRoleAssignments)
throws ServiceException
copyRoleAssignments - the copy role assignmentsServiceException - the service exceptionpublic boolean breakRoleInheritance(boolean copyRoleAssignments,
boolean clearSubscopes)
throws ServiceException
copyRoleAssignments - the copy role assignmentsclearSubscopes - the clear subscopesServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId)
throws ServiceException
listId - the list idServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId,
boolean copyRoleAssignments)
throws ServiceException
listId - the list idcopyRoleAssignments - the copy role assignmentsServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId,
boolean copyRoleAssignments,
boolean clearSubscopes)
throws ServiceException
listId - the list idcopyRoleAssignments - the copy role assignmentsclearSubscopes - the clear subscopesServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId,
int itemId)
throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId,
int itemId,
boolean copyRoleAssignments)
throws ServiceException
listId - the list iditemId - the item idcopyRoleAssignments - the copy role assignmentsServiceException - the service exceptionpublic boolean breakRoleInheritance(java.lang.String listId,
int itemId,
boolean copyRoleAssignments,
boolean clearSubscopes)
throws ServiceException
listId - the list iditemId - the item idcopyRoleAssignments - the copy role assignmentsclearSubscopes - the clear subscopesServiceException - the service exceptionpublic void cancelUploadFile(java.lang.String filePath,
java.lang.String uploadId)
throws ServiceException
filePath - The file pathuploadId - Upload ID (GUID)ServiceExceptionpublic User checkedOutByUser(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean checkIn(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean checkIn(java.lang.String filePath,
CheckInType type)
throws ServiceException
filePath - the file pathtype - the typeServiceException - the service exceptionpublic boolean checkIn(java.lang.String filePath,
CheckInType type,
java.lang.String comment)
throws ServiceException
filePath - the file pathtype - the typecomment - the commentServiceException - the service exceptionpublic boolean checkIn(java.lang.String filePath,
java.lang.String comment)
throws ServiceException
filePath - the file pathcomment - the commentServiceException - the service exceptionpublic boolean checkOut(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean copyFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath)
throws ServiceException
sourceFilePath - the source file pathdestinationFilePath - the destination file pathServiceException - the service exceptionpublic boolean copyFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath,
boolean overwrite)
throws ServiceException
sourceFilePath - the source file pathdestinationFilePath - the destination file pathoverwrite - the overwriteServiceException - the service exceptionpublic Field createField(Field field) throws ServiceException
field - the fieldServiceException - the service exceptionpublic Field createField(FieldCreationInfo field, java.lang.String listId) throws ServiceException
field - the fieldlistId - the list idServiceException - the service exceptionpublic Field createField(FieldSchemaXml field) throws ServiceException
field - the fieldServiceException - the service exceptionpublic Field createField(FieldSchemaXml field, java.lang.String listId) throws ServiceException
field - the fieldlistId - the list idServiceException - the service exceptionpublic Field createField(Field field, java.lang.String listId) throws ServiceException
field - the fieldlistId - the list idServiceException - the service exceptionpublic File createFile(java.lang.String filePath, byte[] buffer) throws ServiceException
filePath - the file pathbuffer - the bufferServiceException - the service exceptionpublic File createFile(java.lang.String filePath, byte[] buffer, boolean overwrite) throws ServiceException
filePath - the file pathbuffer - the bufferoverwrite - the overwriteServiceException - the service exceptionpublic File createFile(java.lang.String filePath, java.io.InputStream stream) throws ServiceException
filePath - the file pathstream - the streamServiceException - the service exceptionpublic File createFile(java.lang.String filePath, java.io.InputStream stream, boolean overwrite) throws ServiceException
filePath - the file pathstream - the streamoverwrite - the overwriteServiceException - the service exceptionpublic Folder createFolder(java.lang.String folderPath) throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic Group createGroup(Group group) throws ServiceException
group - the groupServiceException - the service exceptionpublic List createList(List list) throws ServiceException
list - the listServiceException - the service exceptionpublic ListItem createListItem(java.lang.String listId, ListItem listItem) throws ServiceException
listId - the list idlistItem - the list itemServiceException - the service exceptionpublic Attachment createListItemAttachment(java.lang.String listId, int itemId, java.io.File file) throws ServiceException, java.io.IOException
listId - itemId - stream - ServiceExceptionjava.io.IOExceptionpublic Attachment createListItemAttachment(java.lang.String listId, int itemId, java.lang.String fileName, byte[] buffer) throws ServiceException
listId - itemId - fileName - buffer - ServiceExceptionpublic Attachment createListItemAttachment(java.lang.String listId, int itemId, java.lang.String fileName, java.io.InputStream stream) throws ServiceException
listId - itemId - fileName - stream - ServiceExceptionpublic Role createRole(Role role) throws ServiceException
role - the roleServiceException - the service exceptionpublic Site createSite(SiteCreationInfo siteInfo) throws ServiceException
siteInfo - the site infoServiceException - the service exceptionpublic File createTemplateFile(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic File createTemplateFile(java.lang.String filePath, TemplateFileType type) throws ServiceException
filePath - the file pathtype - the typeServiceException - the service exceptionpublic User createUser(User user, int groupId) throws ServiceException
user - the usergroupId - the group idServiceException - the service exceptionpublic View createView(java.lang.String listId, View view) throws ServiceException
listId - the list idview - the viewServiceException - the service exceptionpublic boolean createViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName)
throws ServiceException
listId - the list idviewId - the view idfieldName - the field nameServiceException - the service exceptionpublic boolean deleteAllFileVersions(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean deleteAllViewFields(java.lang.String listId,
java.lang.String viewId)
throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic void deleteField(java.lang.String id,
java.lang.String listId)
throws ServiceException
id - the idlistId - the list idServiceException - the service exceptionpublic void deleteFile(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean deleteFileVersion(java.lang.String filePath,
int versionId)
throws ServiceException
filePath - the file pathversionId - the version idServiceException - the service exceptionpublic boolean deleteFileVersion(java.lang.String filePath,
java.lang.String versionLabel)
throws ServiceException
filePath - the file pathversionLabel - the version labelServiceException - the service exceptionpublic void deleteFolder(java.lang.String folderPath)
throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic boolean deleteGroup(int groupId)
throws ServiceException
groupId - the group idServiceException - the service exceptionpublic boolean deleteGroup(java.lang.String loginName)
throws ServiceException
loginName - the login nameServiceException - the service exceptionpublic void deleteList(java.lang.String listId)
throws ServiceException
listId - the list idServiceException - the service exceptionpublic void deleteListItem(java.lang.String listId,
int itemId)
throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic void deleteRole(int roleId)
throws ServiceException
roleId - the role idServiceException - the service exceptionpublic void deleteSite()
throws ServiceException
ServiceException - the service exceptionpublic boolean deleteUser(int userId,
int groupId)
throws ServiceException
userId - the user idgroupId - the group idServiceException - the service exceptionpublic boolean deleteUser(java.lang.String loginName,
int groupId)
throws ServiceException
loginName - the login namegroupId - the group idServiceException - the service exceptionpublic void deleteView(java.lang.String listId,
java.lang.String viewId)
throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic boolean deleteViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName)
throws ServiceException
listId - the list idviewId - the view idfieldName - the field nameServiceException - the service exceptionpublic boolean deny(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean deny(java.lang.String filePath,
java.lang.String comment)
throws ServiceException
filePath - the file pathcomment - the commentServiceException - the service exceptionpublic User ensureUser(java.lang.String loginName) throws ServiceException
loginName - the login nameServiceException - the service exceptionpublic Group getAssociatedMemberGroup() throws ServiceException
ServiceException - the service exceptionpublic Group getAssociatedOwnerGroup() throws ServiceException
ServiceException - the service exceptionpublic Group getAssociatedVisitorGroup() throws ServiceException
ServiceException - the service exceptionpublic java.lang.String getAuthorizationCode()
public java.lang.String getAuthorizationCodeRedirectUri()
public java.lang.String getAuthorizationCodeRequestUri(java.lang.String redirectUri)
public java.lang.String getAuthorizationCodeRequestUri(java.lang.String redirectUri,
java.lang.String responseMode)
public java.lang.String getAuthorizationCodeRequestUri(java.lang.String redirectUri,
java.lang.String responseMode,
java.lang.String state)
public java.util.List<ContentType> getAvailableContentTypes() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<ContentType> getAvailableContentTypes(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic List getCatalog(ListTemplateType listTemplate) throws ServiceException
listTemplate - the list templateServiceException - the service exceptionpublic java.util.List<Change> getChanges(ChangeQuery query) throws ServiceException
query - the queryServiceException - the service exceptionpublic java.util.List<Change> getChanges(ChangeQuery query, java.util.List<IQueryOption> queryOptions) throws ServiceException
query - the queryqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Change> getChanges(ChangeQuery query, java.lang.String listId) throws ServiceException
query - the querylistId - the list idServiceException - the service exceptionpublic java.util.List<Change> getChanges(ChangeQuery query, java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
query - the querylistId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic java.lang.String getClientAssertion()
public org.apache.http.conn.HttpClientConnectionManager getClientConnectionManager()
public java.lang.String getClientId()
public java.lang.String getClientSecret()
public int getConnectTimeout()
public ContentType getContentType(java.lang.String contentTypeId) throws ServiceException
contentTypeId - the content type idServiceException - the service exceptionpublic ContentType getContentType(java.lang.String listId, java.lang.String contentTypeId) throws ServiceException
listId - the list idcontentTypeId - the content type idServiceException - the service exceptionpublic java.util.List<FieldLink> getContentTypeFieldLinks(java.lang.String contentTypeId) throws ServiceException
contentTypeId - the content type idServiceException - the service exceptionpublic java.util.List<FieldLink> getContentTypeFieldLinks(java.lang.String contentTypeId, java.util.List<IQueryOption> queryOptions) throws ServiceException
contentTypeId - the content type idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<FieldLink> getContentTypeFieldLinks(java.lang.String listId, java.lang.String contentTypeId) throws ServiceException
listId - the list idcontentTypeId - the content type idServiceException - the service exceptionpublic java.util.List<FieldLink> getContentTypeFieldLinks(java.lang.String listId, java.lang.String contentTypeId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idcontentTypeId - the content type idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Field> getContentTypeFields(java.lang.String contentTypeId) throws ServiceException
contentTypeId - the content type idServiceException - the service exceptionpublic java.util.List<Field> getContentTypeFields(java.lang.String contentTypeId, java.util.List<IQueryOption> queryOptions) throws ServiceException
contentTypeId - the content type idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Field> getContentTypeFields(java.lang.String listId, java.lang.String contentTypeId) throws ServiceException
listId - the list idcontentTypeId - the content type idServiceException - the service exceptionpublic java.util.List<Field> getContentTypeFields(java.lang.String listId, java.lang.String contentTypeId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idcontentTypeId - the content type idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<ContentType> getContentTypes() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<ContentType> getContentTypes(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<ContentType> getContentTypes(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic ContextInfo getContextInfo() throws ServiceException
ServiceException - the service exceptionpublic User getCreatedByUser(java.lang.String filePath, int versionId) throws ServiceException
filePath - the file pathversionId - the version idServiceException - the service exceptionpublic User getCurrentUser() throws ServiceException
ServiceException - the service exceptionpublic org.apache.http.Header[] getCustomHeaders()
public java.util.List<ListTemplate> getCustomListTemplates() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<ListTemplate> getCustomListTemplates(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic DeviceAuthorizationCode getDeviceAuthorizationCode() throws ServiceException
ServiceExceptionpublic java.lang.String getDeviceCode()
public java.lang.String getDomain()
public java.util.List<BasePermission> getEffectiveBasePermissions() throws ServiceException
ServiceException - the service exceptionpublic EventReceiver getEventReceiver(java.lang.String receiverId) throws ServiceException
receiverId - the receiver idServiceException - the service exceptionpublic java.util.List<EventReceiver> getEventReceivers() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<EventReceiver> getEventReceivers(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<java.lang.String> getFeatures()
throws ServiceException
ServiceException - the service exceptionpublic java.util.List<java.lang.String> getFeatures(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic Field getField(java.lang.String id) throws ServiceException
id - the idServiceException - the service exceptionpublic Field getField(java.lang.String id, java.lang.String listId) throws ServiceException
id - the idlistId - the list idServiceException - the service exceptionpublic Field getFieldByInternalNameOrTitle(java.lang.String name) throws ServiceException
name - the nameServiceException - the service exceptionpublic Field getFieldByInternalNameOrTitle(java.lang.String name, java.lang.String listId) throws ServiceException
name - the namelistId - the list idServiceException - the service exceptionpublic Field getFieldByTitle(java.lang.String title) throws ServiceException
title - the titleServiceException - the service exceptionpublic Field getFieldByTitle(java.lang.String title, java.lang.String listId) throws ServiceException
title - the titlelistId - the list idServiceException - the service exceptionpublic java.util.List<Field> getFields() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Field> getFields(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<FieldValue> getFieldValues(java.lang.String listId, int itemId) throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic java.util.List<FieldValue> getFieldValues(java.lang.String listId, int itemId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list iditemId - the item idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<FieldValue> getFieldValuesAsHtml(java.lang.String listId, int itemId) throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic java.util.List<FieldValue> getFieldValuesAsHtml(java.lang.String listId, int itemId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list iditemId - the item idqueryOptions - the query optionsServiceException - the service exceptionpublic File getFile(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic User getFileAuthor(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic File getFileByRelativePath(java.lang.String filePath) throws ServiceException
ServiceExceptionpublic byte[] getFileContent(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.util.List<FieldValue> getFileFieldValues(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.util.List<FieldValue> getFileFieldValues(java.lang.String filePath, java.util.List<IQueryOption> queryOptions) throws ServiceException
filePath - the file pathqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Link> getFileLinks(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic ListItemInfo getFileListItemInfo(java.lang.String filePath) throws ServiceException
filePath - ServiceExceptionpublic java.util.List<File> getFiles(java.lang.String folderPath) throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic java.util.List<File> getFiles(java.lang.String folderPath, java.util.List<IQueryOption> queryOptions) throws ServiceException
folderPath - the folder pathqueryOptions - the query optionsServiceException - the service exceptionpublic java.io.InputStream getFileStream(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.io.InputStream getFileStreamByRelativePath(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic FileVersion getFileVersion(java.lang.String filePath, int versionId) throws ServiceException
filePath - the file pathversionId - the version idServiceException - the service exceptionpublic java.util.List<FileVersion> getFileVersions(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.util.List<FileVersion> getFileVersions(java.lang.String filePath, java.util.List<IQueryOption> queryOptions) throws ServiceException
filePath - the file pathqueryOptions - the query optionsServiceException - the service exceptionpublic Folder getFolder(java.lang.String folderPath) throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic java.util.List<FieldValue> getFolderFieldValues(java.lang.String folderPath) throws ServiceException
folderPath - the file pathServiceException - the service exceptionpublic java.util.List<FieldValue> getFolderFieldValues(java.lang.String folderPath, java.util.List<IQueryOption> queryOptions) throws ServiceException
folderPath - the folder pathqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Link> getFolderLinks(java.lang.String folderPath) throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic ListItemInfo getFolderListItemInfo(java.lang.String folderPath) throws ServiceException
folderPath - ServiceExceptionpublic java.util.List<Folder> getFolders(java.lang.String parentFolder) throws ServiceException
parentFolder - the parent folderServiceException - the service exceptionpublic java.util.List<Folder> getFolders(java.lang.String parentFolder, java.util.List<IQueryOption> queryOptions) throws ServiceException
parentFolder - the parent folderqueryOptions - the query optionsServiceException - the service exceptionpublic Group getGroup(int groupId) throws ServiceException
groupId - the group idServiceException - the service exceptionpublic Group getGroup(java.lang.String loginName) throws ServiceException
loginName - the login nameServiceException - the service exceptionpublic User getGroupOwner(int groupId) throws ServiceException
groupId - the group idServiceException - the service exceptionpublic User getGroupOwner(java.lang.String loginName) throws ServiceException
loginName - the login nameServiceException - the service exceptionpublic java.util.List<Group> getGroups() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Group> getGroups(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<User> getGroupUsers(int groupId) throws ServiceException
groupId - the group idServiceException - the service exceptionpublic java.util.List<User> getGroupUsers(int groupId, java.util.List<IQueryOption> queryOptions) throws ServiceException
groupId - the group idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<User> getGroupUsers(java.lang.String loginName) throws ServiceException
loginName - the login nameServiceException - the service exceptionpublic java.util.List<User> getGroupUsers(java.lang.String loginName, java.util.List<IQueryOption> queryOptions) throws ServiceException
loginName - the login namequeryOptions - the query optionsServiceException - the service exceptionpublic java.net.Proxy getHttpURLConnectionProxy()
public java.io.InputStream getInputStream(java.lang.String url)
throws ServiceException
url - the urlServiceException - the service exceptionpublic LimitedWebPartManager getLimitedWebPartManager(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic LimitedWebPartManager getLimitedWebPartManager(java.lang.String filePath, PersonalizationScope scope) throws ServiceException
filePath - the file pathscope - the scopeServiceException - the service exceptionpublic List getList(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic List getListByTitle(java.lang.String title) throws ServiceException
title - the titleServiceException - the service exceptionpublic java.util.List<ContentType> getListContentTypes(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<ContentType> getListContentTypes(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic View getListDefaultView(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<EventReceiver> getListEventReceivers(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<EventReceiver> getListEventReceivers(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Field> getListFields(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<Field> getListFields(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic Form getListForm(java.lang.String listId, java.lang.String formId) throws ServiceException
listId - the list idformId - the form idServiceException - the service exceptionpublic java.util.List<Form> getListForms(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<Form> getListForms(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic ListItem getListItem(java.lang.String listId, int itemId) throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic java.util.List<Attachment> getListItemAttachments(java.lang.String listId, int itemId) throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic java.util.List<Attachment> getListItemAttachments(java.lang.String listId, int itemId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list iditemId - the item idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Change> getListItemChanges(java.lang.String listId, ChangeLogItemQuery query) throws ServiceException
listId - the list idquery - the queryServiceException - the service exceptionpublic java.util.List<Change> getListItemChanges(java.lang.String listId, ChangeLogItemQuery query, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idquery - the queryqueryOptions - the query optionsServiceException - the service exceptionpublic ContentType getListItemContentType(java.lang.String listId, int itemId) throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic java.util.List<Link> getListItemLinks(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.lang.String getListItemProperty(java.lang.String listId,
int itemId,
java.lang.String propertyName)
throws ServiceException
listId - the list iditemId - the item idpropertyName - the property nameServiceException - the service exceptionpublic java.util.List<ListItem> getListItems(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<ListItem> getListItems(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic RegionalSettings getListRegionalSettings(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<List> getLists() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<List> getLists(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.lang.String getListSchemaXml(java.lang.String listId)
throws ServiceException
listId - the list idServiceException - the service exceptionpublic ServerSettings getListServerSettings(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic ListTemplate getListTemplate(java.lang.String name) throws ServiceException
name - the nameServiceException - the service exceptionpublic java.util.List<ListTemplate> getListTemplates() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<ListTemplate> getListTemplates(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic User getLockedByUser(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.lang.String getLoginHostUri()
public User getModifiedByUser(java.lang.String filePath) throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic NavigationNode getNavigationNode(int id) throws ServiceException
id - the idServiceException - the service exceptionpublic java.util.List<NavigationNode> getNavigationNodeChildren(int id) throws ServiceException
id - the idServiceException - the service exceptionpublic java.util.List<NavigationNode> getNavigationNodeChildren(int id, java.util.List<IQueryOption> queryOptions) throws ServiceException
id - the idqueryOptions - the query optionsServiceException - the service exceptionpublic OAuthToken getOAuthToken()
public OAuthToken getOAuthTokenWithAuthorizationCode(java.lang.String authorizationCode, java.lang.String authorizationCodeRedirectUri) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithAuthorizationCode(java.lang.String authorizationCode, java.lang.String authorizationCodeRedirectUri, java.lang.String clientSecret) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithClientAssertion(java.lang.String clientAssertion) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithClientSecret(java.lang.String clientSecret) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithDeviceAuthorizationCode(java.lang.String deviceCode) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithUsernamePassword(java.lang.String username, java.lang.String password) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithUsernamePassword(java.lang.String username, java.lang.String password, java.lang.String clientSecret) throws ServiceException
ServiceExceptionpublic OAuthToken getOAuthTokenWithUsernamePassword(java.lang.String username, java.lang.String password, java.lang.String clientSecret, java.lang.String clientAssertion) throws ServiceException
ServiceExceptionpublic java.lang.String getPassword()
public org.apache.http.HttpHost getProxy()
public org.apache.http.auth.Credentials getProxyCredentials()
public java.util.List<NavigationNode> getQuickLaunch() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<NavigationNode> getQuickLaunch(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic int getReadTimeout()
public RealmInfo getRealmInfo() throws java.lang.Exception
java.lang.Exceptionpublic RecycleBinItem getRecycleBinItem(java.lang.String id) throws ServiceException
id - the idServiceException - the service exceptionpublic User getRecycleBinItemAuthor(java.lang.String id) throws ServiceException
id - the idServiceException - the service exceptionpublic User getRecycleBinItemDeletedBy(java.lang.String id) throws ServiceException
id - the idServiceException - the service exceptionpublic java.util.List<RecycleBinItem> getRecycleBinItems() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<RecycleBinItem> getRecycleBinItems(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic RegionalSettings getRegionalSettings() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Field> getRelatedFields(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<Field> getRelatedFields(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic org.apache.http.client.config.RequestConfig getRequestConfig()
public java.util.List<HttpHeader> getRequestHttpHeaders()
public java.util.List<HttpHeader> getResponseHttpHeaders()
public Role getRole(int roleId) throws ServiceException
roleId - the role idServiceException - the service exceptionpublic Role getRole(RoleType type) throws ServiceException
type - the typeServiceException - the service exceptionpublic Role getRole(java.lang.String name) throws ServiceException
name - the nameServiceException - the service exceptionpublic java.util.List<java.lang.Integer> getRoleAssignments()
throws ServiceException
ServiceException - the service exceptionpublic java.util.List<java.lang.Integer> getRoleAssignments(int principalId)
throws ServiceException
principalId - the principal idServiceException - the service exceptionpublic java.util.List<java.lang.Integer> getRoleAssignments(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Role> getRoles() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Role> getRoles(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic Folder getRootFolder() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<java.lang.String> getScope()
public java.lang.String getSignInRequestUri(java.lang.String redirectUri)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint,
java.lang.String domainHint)
public java.lang.String getSignInRequestUri(java.lang.String redirectUri,
java.lang.String responseType,
java.lang.String responseMode,
java.lang.String state,
java.lang.String nonce,
java.lang.String loginHint,
java.lang.String domainHint,
java.lang.String prompt)
public Site getSite() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<SiteInfo> getSiteInfos() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<SiteInfo> getSiteInfos(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<Site> getSites() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Site> getSites(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<SiteTemplate> getSiteTemplates(Locale locale) throws ServiceException
locale - the localeServiceException - the service exceptionpublic java.util.List<SiteTemplate> getSiteTemplates(Locale locale, boolean includeCrossLanguage) throws ServiceException
locale - the localeincludeCrossLanguage - the include cross languageServiceException - the service exceptionpublic java.util.List<SiteTemplate> getSiteTemplates(Locale locale, boolean includeCrossLanguage, java.util.List<IQueryOption> queryOptions) throws ServiceException
locale - the localeincludeCrossLanguage - the include cross languagequeryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<SiteTemplate> getSiteTemplates(Locale locale, java.util.List<IQueryOption> queryOptions) throws ServiceException
locale - the localequeryOptions - the query optionsServiceException - the service exceptionpublic java.lang.String getSiteUrl()
public java.lang.String getTenant()
public ThemeInfo getThemeInfo() throws ServiceException
ServiceException - the service exceptionpublic TimeZone getTimeZone() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<TimeZone> getTimeZones() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<TimeZone> getTimeZones(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<NavigationNode> getTopNavigationBar() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<NavigationNode> getTopNavigationBar(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic User getUser(int userId) throws ServiceException
userId - the user idServiceException - the service exceptionpublic User getUser(int userId, int groupId) throws ServiceException
userId - the user idgroupId - the group idServiceException - the service exceptionpublic User getUser(java.lang.String loginName, int groupId) throws ServiceException
loginName - the login namegroupId - the group idServiceException - the service exceptionpublic java.lang.String getUserAgent()
public User getUserByEmail(java.lang.String email, int groupId) throws ServiceException
email - the emailgroupId - the group idServiceException - the service exceptionpublic java.util.List<Role> getUserCustomActions() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<Role> getUserCustomActions(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<BasePermission> getUserEffectivePermissions(java.lang.String listId, int itemId, java.lang.String loginName) throws ServiceException
listId - the list iditemId - the item idloginName - the login nameServiceException - the service exceptionpublic java.util.List<BasePermission> getUserEffectivePermissions(java.lang.String listId, java.lang.String loginName) throws ServiceException
listId - the list idloginName - the login nameServiceException - the service exceptionpublic java.util.List<Group> getUserGroups(int userId) throws ServiceException
userId - the user idServiceException - the service exceptionpublic java.util.List<Group> getUserGroups(int userId, java.util.List<IQueryOption> queryOptions) throws ServiceException
userId - the user idqueryOptions - the query optionsServiceException - the service exceptionpublic List getUserInfoList() throws ServiceException
ServiceException - the service exceptionpublic java.lang.String getUsername()
public java.util.List<User> getUsers() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<User> getUsers(int groupId) throws ServiceException
groupId - the group idServiceException - the service exceptionpublic java.util.List<User> getUsers(int groupId, java.util.List<IQueryOption> queryOptions) throws ServiceException
groupId - the group idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<User> getUsers(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic View getView(java.lang.String listId, java.lang.String viewId) throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic View getViewByTitle(java.lang.String listId, java.lang.String title) throws ServiceException
listId - the list idtitle - the titleServiceException - the service exceptionpublic java.util.List<java.lang.String> getViewFields(java.lang.String listId,
java.lang.String viewId)
throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic java.util.List<java.lang.String> getViewFields(java.lang.String listId,
java.lang.String viewId,
java.util.List<IQueryOption> queryOptions)
throws ServiceException
listId - the list idviewId - the view idqueryOptions - the query optionsServiceException - the service exceptionpublic java.lang.String getViewFieldsSchemaXml(java.lang.String listId,
java.lang.String viewId)
throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic java.lang.String getViewHtml(java.lang.String listId,
java.lang.String viewId)
throws ServiceException
listId - the list idviewId - the view idServiceException - the service exceptionpublic java.util.List<View> getViews(java.lang.String listId) throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.util.List<View> getViews(java.lang.String listId, java.util.List<IQueryOption> queryOptions) throws ServiceException
listId - the list idqueryOptions - the query optionsServiceException - the service exceptionpublic java.util.List<WorkflowTemplate> getWorkflowTemplates() throws ServiceException
ServiceException - the service exceptionpublic java.util.List<WorkflowTemplate> getWorkflowTemplates(java.util.List<IQueryOption> queryOptions) throws ServiceException
queryOptions - the query optionsServiceException - the service exceptionpublic boolean isAcceptGzipEncoding()
public boolean isSharedNavigation()
throws ServiceException
ServiceException - the service exceptionpublic java.lang.String loginAdfs()
throws java.lang.Exception
java.lang.Exceptionpublic boolean moveFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath)
throws ServiceException
sourceFilePath - the source file pathdestinationFilePath - the destination file pathServiceException - the service exceptionpublic boolean moveFile(java.lang.String sourceFilePath,
java.lang.String destinationFilePath,
MoveOperation operation)
throws ServiceException
sourceFilePath - the source file pathdestinationFilePath - the destination file pathoperation - the operationServiceException - the service exceptionpublic boolean moveViewField(java.lang.String listId,
java.lang.String viewId,
java.lang.String fieldName,
int index)
throws ServiceException
listId - the list idviewId - the view idfieldName - the field nameindex - the indexServiceException - the service exceptionpublic boolean publish(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean publish(java.lang.String filePath,
java.lang.String comment)
throws ServiceException
filePath - the file pathcomment - the commentServiceException - the service exceptionpublic java.lang.String recycleFile(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic java.lang.String recycleFolder(java.lang.String folderPath)
throws ServiceException
folderPath - the folder pathServiceException - the service exceptionpublic java.lang.String recycleList(java.lang.String listId)
throws ServiceException
listId - the list idServiceException - the service exceptionpublic java.lang.String recycleListItem(java.lang.String listId,
int itemId)
throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic OAuthToken refreshOAuthToken() throws ServiceException
ServiceExceptionpublic OAuthToken refreshOAuthToken(java.lang.String clientId, java.lang.String tenant, java.lang.String refreshToken) throws ServiceException
ServiceExceptionpublic OAuthToken refreshOAuthToken(java.lang.String clientId, java.lang.String tenant, java.lang.String refreshToken, java.util.List<java.lang.String> scope) throws ServiceException
ServiceExceptionpublic OAuthToken refreshOAuthToken(java.lang.String clientId, java.lang.String tenant, java.lang.String refreshToken, java.util.List<java.lang.String> scope, java.lang.String clientSecret) throws ServiceException
ServiceExceptionpublic boolean removeRoleAssignment(int principalId,
int roleId)
throws ServiceException
principalId - the principal idroleId - the role idServiceException - the service exceptionpublic void renameFile(java.lang.String filePath,
java.lang.String newName)
throws ServiceException
filePath - the file pathnewName - the new folder name.ServiceExceptionpublic void renameFolder(java.lang.String folderPath,
java.lang.String newName)
throws ServiceException
folderPath - the folder pathnewName - the new folder name.ServiceExceptionpublic java.lang.String renderListData(java.lang.String listId,
java.lang.String viewXml)
throws ServiceException
listId - the list idviewXml - the view xmlServiceException - the service exceptionpublic java.lang.String renderListFormData(java.lang.String listId,
int itemId,
java.lang.String formId,
ControlMode mode)
throws ServiceException
listId - the list iditemId - the item idformId - the form idmode - the modeServiceException - the service exceptionpublic int reserveListItemId(java.lang.String listId)
throws ServiceException
listId - the list idServiceException - the service exceptionpublic boolean resetRoleInheritance(java.lang.String listId,
int itemId)
throws ServiceException
listId - the list iditemId - the item idServiceException - the service exceptionpublic boolean restoreFileVersion(java.lang.String filePath,
java.lang.String versionLabel)
throws ServiceException
filePath - the file pathversionLabel - the version labelServiceException - the service exceptionpublic SearchResult search(IRestriction restriction) throws ServiceException
restriction - the restrictionServiceException - the service exceptionpublic SearchResult search(IRestriction restriction) throws ServiceException
restriction - the restrictionServiceException - the service exceptionpublic SearchResult search(SearchQuery query) throws ServiceException
query - the queryServiceException - the service exceptionpublic SearchResult search(java.lang.String query) throws ServiceException
query - the queryServiceException - the service exceptionpublic void setAcceptGzipEncoding(boolean acceptGzipEncoding)
acceptGzipEncoding - the new accept gzip encodingpublic void setAuthorizationCode(java.lang.String authorizationCode)
public void setAuthorizationCodeRedirectUri(java.lang.String authorizationCodeRedirectUri)
public void setclientAssertion(java.lang.String clientAssertion)
public void setClientConnectionManager(org.apache.http.conn.HttpClientConnectionManager connectionManager)
connectionManager - the new client connection managerpublic void setClientId(java.lang.String clientId)
public void setClientSecret(java.lang.String clientSecret)
public void setConnectTimeout(int connectTimeout)
connectTimeout - the new connect timeoutpublic void setCustomHeaders(org.apache.http.Header[] customHeaders)
public void setDeviceCode(java.lang.String deviceCode)
public void setDomain(java.lang.String domain)
domain - the new domainpublic void setFieldValue(java.lang.String listId,
int listItemId,
FieldValue fieldValue)
throws ServiceException
listId - the list idlistItemId - the list item idfieldValue - the field valueServiceException - the service exceptionpublic void setFieldValues(java.lang.String listId,
int listItemId,
java.util.List<FieldValue> fieldValues)
throws ServiceException
listId - the list idlistItemId - the list item idfieldValues - the field valuesServiceException - the service exceptionpublic void setFileFieldValue(java.lang.String filePath,
FieldValue fieldValue)
throws ServiceException
filePath - the file pathfieldValues - the field valuesServiceException - the service exceptionpublic void setFileFieldValues(java.lang.String filePath,
java.util.List<FieldValue> fieldValues)
throws ServiceException
filePath - the file pathfieldValues - the field valuesServiceException - the service exceptionpublic void setFolderFieldValue(java.lang.String folderPath,
FieldValue fieldValue)
throws ServiceException
folderPath - the folder pathfieldValues - the field valuesServiceException - the service exceptionpublic void setFolderFieldValues(java.lang.String folderPath,
java.util.List<FieldValue> fieldValues)
throws ServiceException
folderPath - the folder pathfieldValues - the field valuesServiceException - the service exceptionpublic void setHttpURLConnection(boolean useHttpURLConnection)
useHttpURLConnection - the new http url connectionpublic void setHttpURLConnectionProxy(java.net.Proxy httpURLConnectionProxy)
httpURLConnectionProxy - the new http url connection proxypublic void setLoginHostUri(java.lang.String loginHostUri)
loginHostUri - the the Microsoft Graph login host uripublic void setOAuthToken(OAuthToken oAuthToken)
public void setPassword(java.lang.String password)
password - the new passwordpublic void setProxy(org.apache.http.HttpHost proxy)
proxy - the new proxypublic void setProxyCredentials(org.apache.http.auth.Credentials proxyCredentials)
proxyCredentials - the new proxy credentialspublic void setReadTimeout(int readTimeout)
readTimeout - the new read timeoutpublic void setRequestConfig(org.apache.http.client.config.RequestConfig requestConfig)
requestConfig - the request configurationpublic boolean setShowInDisplayForm(java.lang.String id,
java.lang.String listId)
throws ServiceException
id - the idlistId - the list idServiceException - the service exceptionpublic boolean setShowInDisplayForm(java.lang.String id,
java.lang.String listId,
boolean show)
throws ServiceException
id - the idlistId - the list idshow - the showServiceException - the service exceptionpublic boolean setShowInEditForm(java.lang.String id,
java.lang.String listId)
throws ServiceException
id - the idlistId - the list idServiceException - the service exceptionpublic boolean setShowInEditForm(java.lang.String id,
java.lang.String listId,
boolean show)
throws ServiceException
id - the idlistId - the list idshow - the showServiceException - the service exceptionpublic boolean setShowInNewForm(java.lang.String id,
java.lang.String listId)
throws ServiceException
id - the idlistId - the list idServiceException - the service exceptionpublic boolean setShowInNewForm(java.lang.String id,
java.lang.String listId,
boolean show)
throws ServiceException
id - the idlistId - the list idshow - the showServiceException - the service exceptionpublic void setSiteUrl(java.lang.String siteUrl)
siteUrl - public void setTenant(java.lang.String tenant)
public void setUserAgent(java.lang.String userAgent)
userAgent - the User-Agentpublic void setUsername(java.lang.String username)
username - the new usernamepublic SuggestResult suggest(SearchQuerySuggestion suggestion) throws ServiceException
suggestion - the suggestionServiceException - the service exceptionpublic SuggestResult suggest(java.lang.String query) throws ServiceException
query - the queryServiceException - the service exceptionpublic boolean undoCheckOut(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean unpublish(java.lang.String filePath)
throws ServiceException
filePath - the file pathServiceException - the service exceptionpublic boolean unpublish(java.lang.String filePath,
java.lang.String comment)
throws ServiceException
filePath - the file pathcomment - the commentServiceException - the service exceptionpublic Field updateField(Field field, java.lang.String listId) throws ServiceException
field - the fieldlistId - the list idServiceException - the service exceptionpublic void updateFileContent(java.lang.String filePath,
byte[] buffer)
throws ServiceException
filePath - the file pathbuffer - the bufferServiceException - the service exceptionpublic void updateFileContent(java.lang.String filePath,
java.io.InputStream stream)
throws ServiceException
filePath - the file pathstream - the streamServiceException - the service exceptionpublic void updateFolder(Folder folder) throws ServiceException
folder - the folderServiceException - the service exceptionpublic void updateGroup(Group group) throws ServiceException
group - the groupServiceException - the service exceptionpublic void updateList(List list) throws ServiceException
list - the listServiceException - the service exceptionpublic void updateListItem(java.lang.String listId,
ListItem listItem)
throws ServiceException
listId - the list idlistItem - the list itemServiceException - the service exceptionpublic void updateListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
byte[] buffer)
throws ServiceException
listId - itemId - fileName - buffer - ServiceExceptionpublic void updateListItemAttachment(java.lang.String listId,
int itemId,
java.lang.String fileName,
java.io.InputStream stream)
throws ServiceException
listId - itemId - fileName - stream - ServiceExceptionpublic void updateRole(Role role) throws ServiceException
role - the roleServiceException - the service exceptionpublic void updateSite(Site site) throws ServiceException
site - the siteServiceException - the service exceptionpublic User updateUser(User user, int groupId) throws ServiceException
user - the usergroupId - the group idServiceException - the service exceptionpublic void updateView(java.lang.String listId,
View view)
throws ServiceException
listId - the list idview - the viewServiceException - the service exceptionpublic long uploadFile(java.lang.String filePath,
java.io.InputStream inputStream)
throws ServiceException
filePath - The file pathinputStream - The stream to uploadServiceExceptionpublic long uploadFile(java.lang.String filePath,
java.io.InputStream inputStream,
java.lang.String uploadId)
throws ServiceException
filePath - The file pathinputStream - The stream to uploaduploadId - Upload ID (GUID). Set it if you want to cancel upload with method cancelUploadFile.ServiceException