Uses of Class
com.logicaldoc.webservice.WebserviceException
Packages that use WebserviceException
Package
Description
-
Uses of WebserviceException in com.logicaldoc.webservice.mobile
Methods in com.logicaldoc.webservice.mobile that throw WebserviceExceptionModifier and TypeMethodDescriptionjavax.ws.rs.core.ResponseCommentService.addComment(String sid, String docid, CommentVO comment) javax.ws.rs.core.ResponseCommentService.addCommentForm(String sid, String docid, String content) javax.ws.rs.core.ResponseCommentService.getComments(String sid, String docid) -
Uses of WebserviceException in com.logicaldoc.webservice.rest
Methods in com.logicaldoc.webservice.rest that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidDocumentMetadataService.addAttributeOption(long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoidTagService.addDocumentTags(long docId, String[] tags) Adds tags to a documentvoidTagService.addFolderTags(long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument(long docId) BookmarkService.bookmarkFolder(long folderId) voidDocumentService.checkout(long docId) Executed the checkoutDocumentService.copy(long docId, long folderId) Copies a document into another foldervoidCopies an existing folder with the given identifier.DocumentService.createAlias(long docId, long folderId, String type) Creates a new document alias for the given document inside a specified folderFolderService.createAlias(long parentId, long foldRef) Creates a new folder aliasDocumentService.createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) Creates a new download ticketlongFolderService.createFolder(long parentId, String name) FolderService.createPath(long parentId, String path) voidCreates the PDF conversion of the given document; if the PDF conversion was already created, nothing will happenFolderService.createSimple(String folderPath) FolderService.createSimpleForm(String folderPath) FolderService.createSimpleJSON(String jsonstr) voidDocumentService.createThumbnail(long docId, String fileVersion, String type) Creates the thumbail of the given document; if the thumbnail was already created, nothing will happenvoidDocumentService.delete(long docId) Deletes a documentvoidFolderService.delete(long folderId) voidDocumentMetadataService.deleteAttributeSet(long setId) Deletes an existing attribute set with the given identifier.voidBookmarkService.deleteBookmark(long bookmarkId) voidDocumentService.deleteLink(long id) Removes an existing linkvoidDocumentService.deleteNote(long noteId) Deletes a new note by note identifiervoidDocumentMetadataService.deleteTemplate(long templateId) Deletes an existing template with the given identifierDocumentService.deleteVersion(long docId, String version) Deletes a version by document identifier and version ID.SearchService.find(WSSearchOptions opt) SearchService.findByFilename(String filename) Finds authorized documents for the current user the given filename (like operator is used)FolderService.findByPath(String path) Finds the folder at the specified pathTagService.findDocumentsByTag(String tag) Finds authorized documents for the current user having a specified tagWSFolder[]SearchService.findFolders(String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]TagService.findFoldersByTag(String tag) Finds authorized folders for the current user having a specified tag.DocumentService.getAliases(long docId) Gets the aliases of the given documentString[]DocumentMetadataService.getAttributeOptions(long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeSet(String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById(long setId) Gets attribute set's metadataBookmarkService.getBookmarks()javax.activation.DataHandlerDocumentService.getContent(long docId) Retrieves the file content of a document.FolderService.getDefaultWorkspace()Gets the Default workspaceDocumentService.getDocument(long docId) Retrieves a document from the databaseDocumentService.getDocumentByCustomId(String customId) Gets document metadata of an existing document with the given custom identifierDocumentService.getDocuments(Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]TagService.getDocumentTags(long docId) Retrieves all the tags of a documentDocumentService.getExtractedText(long docId) Gets the document's text stored in the full-text indexFolderService.getFolder(long folderId) String[]TagService.getFolderTags(long folderId) Retrieves all the tags of a folderWSRight[]FolderService.getGrantedGroups(long folderId) Retrieves the list of granted groups for the given folderWSRight[]FolderService.getGrantedUsers(long folderId) Retrieves the list of granted users for the given folder.SystemService.getInfo()Retrieves the Installation informationsWSLink[]DocumentService.getLinks(long docId) Gets all the links of a specific documentWSNote[]DocumentService.getNotes(long docId) Gets the notes for the given documentWSFolder[]FolderService.getPath(long folderId) FolderService.getPathString(long folderId) WSRating[]DocumentService.getRatings(long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments(Integer maxHits) Lists of last modified documents of the current sessionjavax.activation.DataHandlerDocumentService.getResource(long docId, String fileVersion, String suffix) Gets the content of a resource associated to the given document.FolderService.getRootFolder()Gets the root folderSystemService.getStatistics()Retrieves the system statisticsTagService.getTagCloud()Retrieves all tag clouds in the repositoryString[]TagService.getTags()Retrieves all the tags in the repositoryString[]TagService.getTagsPreset()Retrieves all the tags in the preset (if the input mode is preset).DocumentMetadataService.getTemplate(String name) Gets template's metadataDocumentMetadataService.getTemplateById(long templateId) Gets template's metadatajavax.activation.DataHandlerDocumentService.getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) Retrieves the thumbnail imagejavax.activation.DataHandlerDocumentService.getVersionContent(long docId, String version) Retrieves the file content of a version.DocumentService.getVersions(long docId) Gets the version history of an existing document with the given identifiervoidFolderService.grantGroup(long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoidFolderService.grantUser(long folderId, long userId, int permissions, boolean recursive) Grants user permission to the folder.booleanFolderService.isGranted(long folderId, int permission) Tests if the current user has a specific permission on a folderbooleanDocumentService.isReadable(long docId) Tests if a document is readablebooleanFolderService.isReadable(long folderId) Tests if a folder is readable.booleanFolderService.isWritable(long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentService.list(long folderId) Lists the documents in a folderDocumentMetadataService.listAttributeSets()Gets metadata of all existing attribute sets.WSFolder[]FolderService.listChildren(long folderId) DocumentService.listDocuments(long folderId, String fileName) Lists the documents in a folderDocumentMetadataService.listTemplates()Gets metadata of all existing templates.WSFolder[]FolderService.listWorkspaces()Retrieves the list of all workspaces.voidDocumentService.lock(long docId) Locks an existing document with the given identifier.voidDocumentService.move(long docId, long folderId) Moves an existing document with the given identifiervoidFolderService.move(long folderId, long parentId) Moves an existing folder with the given identifier.voidDocumentService.promoteVersion(long docId, String version) Promotes an old version to the current default one.DocumentService.rateDocument(long docId, int vote) Puts a new rating on the given documentvoidRe-indexes(or indexes from scratch) a documentvoidRenames the title of an existing document with the given identifier.voidRenames an existing folder.voidDocumentService.restore(long docId, long folderId) Restores a deleted documentBookmarkService.saveBookmark(WSBookmark bookmark) Adds a new note for the given documentvoidSends a set of documents as mail attachmentsvoidDocumentMetadataService.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoidDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attribute with a POST method.voidTagService.setDocumentTags(long docId, String[] tags) Sets the tags of a documentvoidTagService.setFolderTags(long folderId, String[] tags) Sets the tags of a foldervoidDocumentService.setPassword(long docId, String password) Puts a password protection to the documentlongDocumentMetadataService.storeAttributeSet(WSAttributeSet attributeSet) Create/Update an attribute set.longDocumentMetadataService.storeTemplate(WSTemplate template) Create/Update a template.voidBookmarkService.unbookmarkDocument(long docId) voidBookmarkService.unbookmarkFolder(long folderId) voidDocumentService.unlock(long docId) Unlocks an existing document with the given identifier.booleanUnprotects a document that is password protected.voidDocumentService.unsetPassword(long docId, String currentPassword) Removes the password protection from the documentvoidDocumentService.update(WSDocument document) Updates an existing document with the value object containing the document's metadata.voidUpdates an existing folder.voidDocumentService.uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) Uploads a new resource of the document Uploads a new resource attached to the given document. -
Uses of WebserviceException in com.logicaldoc.webservice.rest.client
Methods in com.logicaldoc.webservice.rest.client that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidRestTagClient.addDocumentTags(long docId, String[] tags) voidRestTagClient.addFolderTags(long folderId, String[] tags) RestBookmarkClient.bookmarkDocument(long docId) RestBookmarkClient.bookmarkFolder(long folderId) voidRestDocumentClient.checkout(long docId) longRestFolderClient.createFolder(long parentId, String folderName) RestFolderClient.createPath(long rootFolder, String path) voidvoidRestDocumentClient.createThumbnail(long docId, String fileVersion, String type) voidRestDocumentClient.delete(long docId) voidRestFolderClient.delete(long folderId) voidRestDocumentMetadataClient.deleteAttributeSet(long setId) voidRestBookmarkClient.deleteBookmark(long bookmarkId) voidRestDocumentClient.deleteNote(long noteId) Adds a new note for the given documentvoidRestDocumentMetadataClient.deleteTemplate(long templateId) voidRestDocumentClient.deleteVersion(long docId, String version) Adds a new note for the given documentRestSearchClient.find(WSSearchOptions owd) RestFolderClient.findByPath(String path) RestTagClient.findDocumentsByTag(String tag) WSFolder[]RestTagClient.findFoldersByTag(String tag) String[]RestDocumentMetadataClient.getAttributeOptions(long setId, String attribute) RestDocumentMetadataClient.getAttributeSet(String name) RestDocumentMetadataClient.getAttributeSetById(long setId) RestBookmarkClient.getBookmarks()Retrieves all the bookmarks of the current userjavax.activation.DataHandlerRestDocumentClient.getContent(long docId) RestDocumentClient.getDocument(long docId) String[]RestTagClient.getDocumentTags(long docId) RestFolderClient.getFolder(long folderId) WSNote[]RestDocumentClient.getNotes(long docId) Gets the notes for the given documentWSRating[]RestDocumentClient.getRatings(long docId) Gets all the ratings of the given documentRestFolderClient.getRootFolder()String[]RestTagClient.getTags()RestDocumentMetadataClient.getTemplate(String name) RestDocumentMetadataClient.getTemplateById(long templateId) javax.activation.DataHandlerRestDocumentClient.getVersionContent(long docId, String version) RestDocumentClient.list(long folderId) RestDocumentMetadataClient.listAttributeSets()WSFolder[]RestFolderClient.listChildren(long folderId) RestDocumentClient.listDocuments(long folderId, String fileName) RestDocumentMetadataClient.listTemplates()RestDocumentClient.rateDocument(long docId, int vote) Puts a new rating on the given documentRestBookmarkClient.saveBookmark(WSBookmark bookmark) voidRestDocumentMetadataClient.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) voidRestDocumentMetadataClient.setAttributeOptionsPOST(long setId, String attribute, WSAttributeOption[] options) voidRestTagClient.setDocumentTags(long docId, String[] tags) voidRestTagClient.setFolderTags(long folderId, String[] tags) longRestDocumentMetadataClient.storeAttributeSet(WSAttributeSet attributeSet) longRestDocumentMetadataClient.storeTemplate(WSTemplate template) voidRestBookmarkClient.unbookmarkDocument(long docId) voidRestBookmarkClient.unbookmarkFolder(long folderId) voidRestDocumentClient.update(WSDocument document) void -
Uses of WebserviceException in com.logicaldoc.webservice.rest.endpoint
Methods in com.logicaldoc.webservice.rest.endpoint that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidRestDocumentMetadataService.addAttributeOption(long setId, String attribute, WSAttributeOption option) voidRestTagService.addDocumentTags(long docId, String[] tags) voidRestTagService.addFolderTags(long folderId, String[] tags) RestBookmarkService.bookmarkDocument(long docId) RestBookmarkService.bookmarkFolder(long folderId) voidRestDocumentService.checkout(long docId) RestDocumentService.copy(long docId, long folderId) voidRestDocumentService.createAlias(long docId, long folderId, String type) RestFolderService.createAlias(long parentId, long foldRef) RestDocumentService.createDownloadTicket(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longRestFolderService.createFolder(long parentId, String name) RestFolderService.createPath(long parentId, String path) voidRestFolderService.createSimple(String folderPath) RestFolderService.createSimpleForm(String folderPath) RestFolderService.createSimpleJSON(String jsonstr) voidRestDocumentService.createThumbnail(long docId, String fileVersion, String type) voidRestDocumentService.delete(long docId) voidRestFolderService.delete(long folderId) voidRestDocumentMetadataService.deleteAttributeSet(long setId) voidRestBookmarkService.deleteBookmark(long bookmarkId) voidRestDocumentService.deleteLink(long id) voidRestDocumentService.deleteNote(long noteId) voidRestDocumentMetadataService.deleteTemplate(long templateId) RestDocumentService.deleteVersion(long docId, String version) RestSearchService.find(WSSearchOptions opt) RestSearchService.findByFilename(String filename) RestFolderService.findByPath(String path) RestTagService.findDocumentsByTag(String tag) WSFolder[]RestSearchService.findFolders(String name) WSFolder[]RestTagService.findFoldersByTag(String tag) RestDocumentService.getAliases(long docId) String[]RestDocumentMetadataService.getAttributeOptions(long setId, String attribute) RestDocumentMetadataService.getAttributeSet(String name) RestDocumentMetadataService.getAttributeSetById(long setId) RestBookmarkService.getBookmarks()javax.activation.DataHandlerRestDocumentService.getContent(long docId) RestFolderService.getDefaultWorkspace()RestDocumentService.getDocument(long docId) RestDocumentService.getDocumentByCustomId(String customId) RestDocumentService.getDocuments(Long[] docIds) String[]RestTagService.getDocumentTags(long docId) RestDocumentService.getExtractedText(long docId) RestFolderService.getFolder(long folderId) String[]RestTagService.getFolderTags(long folderId) WSRight[]RestFolderService.getGrantedGroups(long folderId) WSRight[]RestFolderService.getGrantedUsers(long folderId) RestSystemService.getInfo()WSLink[]RestDocumentService.getLinks(long docId) WSNote[]RestDocumentService.getNotes(long docId) WSFolder[]RestFolderService.getPath(long folderId) RestFolderService.getPathString(long folderId) WSRating[]RestDocumentService.getRatings(long docId) RestDocumentService.getRecentDocuments(Integer maxHits) javax.activation.DataHandlerRestDocumentService.getResource(long docId, String fileVersion, String suffix) RestFolderService.getRootFolder()RestSystemService.getStatistics()RestTagService.getTagCloud()String[]RestTagService.getTags()String[]RestTagService.getTagsPreset()RestDocumentMetadataService.getTemplate(String name) RestDocumentMetadataService.getTemplateById(long templateId) javax.activation.DataHandlerRestDocumentService.getThumbnail(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) javax.activation.DataHandlerRestDocumentService.getVersionContent(long docId, String version) RestDocumentService.getVersions(long docId) voidRestFolderService.grantGroup(long folderId, long groupId, int permissions, boolean recursive) voidRestFolderService.grantUser(long folderId, long userId, int permissions, boolean recursive) booleanRestFolderService.isGranted(long folderId, int permission) booleanRestDocumentService.isReadable(long docId) booleanRestFolderService.isReadable(long folderId) booleanRestFolderService.isWritable(long folderId) RestDocumentService.list(long folderId) RestDocumentMetadataService.listAttributeSets()WSFolder[]RestFolderService.listChildren(long folderId) RestDocumentService.listDocuments(long folderId, String fileName) RestDocumentMetadataService.listTemplates()WSFolder[]RestFolderService.listWorkspaces()voidRestDocumentService.lock(long docId) voidRestDocumentService.move(long docId, long folderId) voidRestFolderService.move(long folderId, long parentId) voidRestDocumentService.promoteVersion(long docId, String version) RestDocumentService.rateDocument(long docId, int vote) voidvoidvoidvoidRestDocumentService.restore(long docId, long folderId) RestBookmarkService.saveBookmark(WSBookmark bookmark) voidvoidRestDocumentMetadataService.setAttributeOptions(long setId, String attribute, WSAttributeOption[] options) voidRestDocumentMetadataService.setAttributeOptionsPOST(Long setId, String attribute, WSAttributeOption[] options) voidRestTagService.setDocumentTags(long docId, String[] tags) voidRestTagService.setFolderTags(long folderId, String[] tags) voidRestDocumentService.setPassword(long docId, String password) longRestDocumentMetadataService.storeAttributeSet(WSAttributeSet attributeSet) longRestDocumentMetadataService.storeTemplate(WSTemplate template) voidRestBookmarkService.unbookmarkDocument(long docId) voidRestBookmarkService.unbookmarkFolder(long folderId) voidRestDocumentService.unlock(long docId) booleanvoidRestDocumentService.unsetPassword(long docId, String currentPassword) voidRestDocumentService.update(WSDocument document) voidvoidRestDocumentService.uploadResource(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) -
Uses of WebserviceException in com.logicaldoc.webservice.soap
Methods in com.logicaldoc.webservice.soap that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidDocumentMetadataService.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoidTagService.addDocumentTags(String sid, long docId, String[] tags) Adds tags to a documentvoidTagService.addFolderTags(String sid, long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument(String sid, long docId) BookmarkService.bookmarkFolder(String sid, long folderId) intSecurityService.changePassword(String sid, long userId, String oldPassword, String newPassword) changes the password of a user.
0 if all is ok, 1 if the password is incorrect, 2 if the new password cannot be notified, otherwise a positive number grater than 2voidDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) Checks in an existing document with the given identifier to create a new version.voidDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) Checks in an existing document with the given identifier to create a new version.voidChecks out an existing document with the given identifier.Copies a document into another folder.voidFolderService.copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption) Copies an existing folder with the given identifier.DocumentService.create(String sid, WSDocument document, javax.activation.DataHandler content) Create a new document.Creates a new folder.DocumentService.createAlias(String sid, long docId, long folderId, String type) Creates a new document alias for the given document inside a specified folderFolderService.createAlias(String sid, long parentId, long foldRef) Creates a new folder aliasDocumentService.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) Creates a new download ticketlongFolderService.createFolder(String sid, long parentId, String name) Create a new folder.FolderService.createPath(String sid, long parentId, String path) Creates the folder for the specified path.voidCreates the PDF conversion of the given document.voidDocumentService.createThumbnail(String sid, long docId, String fileVersion, String type) Creates the thumbnail of the given document.voidDeletes an existing document with the given identifier.voidDeletes an existing folder.voidDocumentMetadataService.deleteAttributeSet(String sid, long setId) Deletes an existing attribute set with the given identifier.voidBookmarkService.deleteBookmark(String sid, long bookmarkId) voidSecurityService.deleteGroup(String sid, long groupId) Deletes an existing group with the given identifiervoidDocumentService.deleteLink(String sid, long id) Removes an existing linkvoidDocumentService.deleteNote(String sid, long noteId) Adds a new note for the given documentvoidDocumentMetadataService.deleteTemplate(String sid, long templateId) Deletes an existing template with the given identifiervoidSecurityService.deleteUser(String sid, long userId) Deletes an existing user with the given identifierDocumentService.deleteVersion(String sid, long docId, String version) Deletes a version of a document with the given identifiers.SearchService.find(String sid, WSSearchOptions options) Performs a search by the search options.SearchService.findByFilename(String sid, String filename) Finds authorized documents for the current user the given filename (like operator is used)FolderService.findByPath(String sid, String path) Finds the folder at the specified pathTagService.findDocumentsByTag(String sid, String tag) Finds authorized documents for the current user having a specified tagWSFolder[]SearchService.findFolders(String sid, String name) Finds authorized folders for the current user containing the given name (like operator is used)WSFolder[]TagService.findFoldersByTag(String sid, String tag) Finds authorized folders for the current user having a specified tagDocumentService.getAliases(String sid, long docId) Gets the aliases of the given documentString[]DocumentMetadataService.getAttributeOptions(String sid, long setId, String attribute) Retrieves the options for the given attributeDocumentMetadataService.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) Retrieves the options for the given attribute inside a given categoryDocumentMetadataService.getAttributeSet(String sid, String name) Gets attribute set's metadataDocumentMetadataService.getAttributeSetById(String sid, long setId) Gets attribute set's metadataBookmarkService.getBookmarks(String sid) Retrieves all the bookmarks of the current userjavax.activation.DataHandlerDocumentService.getContent(String sid, long docId) Gets the content of an existing document with the given identifierFolderService.getDefaultWorkspace(String sid) Gets the Default workspaceDocumentService.getDocument(String sid, long docId) Gets the metadata of an existing document with the given identifierDocumentService.getDocumentByCustomId(String sid, String customId) Gets document metadata of an existing document with the given custom identifierDocumentService.getDocuments(String sid, Long[] docIds) Gets document metadata of a collection of existing documents with the given identifiersString[]TagService.getDocumentTags(String sid, long docId) Retrieves all the tags of a document.DocumentService.getExtractedText(String sid, long docId) Gets the document's text stored in the full-text indexGets an existing folderString[]TagService.getFolderTags(String sid, long folderId) Retrieves all the tags of a folderWSRight[]DocumentMetadataService.getGrantedGroups(String sid, long templateId) Retrieves the list of granted groups for the given templateWSRight[]FolderService.getGrantedGroups(String sid, long folderId) Retrieves the list of granted groups for the given folderWSRight[]DocumentMetadataService.getGrantedUsers(String sid, long templateId) Retrieves the list of granted users for the given template.WSRight[]FolderService.getGrantedUsers(String sid, long folderId) Retrieves the list of granted users for the given folder.Gets group metadata of an existing group with the given identifierSystemService.getInfo()Retrieves the Installation informationsWSLink[]Gets all the links of a specific documentWSNote[]Gets the notes for the given documentWSFolder[]Computes the path from the root to the target folder.WSRating[]DocumentService.getRatings(String sid, long docId) Gets all the ratings of the given documentDocumentService.getRecentDocuments(String sid, Integer maxHits) Lists of last modified documents of the current session.javax.activation.DataHandlerDocumentService.getResource(String sid, long docId, String fileVersion, String suffix) Gets the content of a resource associated to the given document.FolderService.getRootFolder(String sid) Gets root metadataSystemService.getStatistics(String sid) Retrieves the system statisticsTagService.getTagCloud(String sid) Retrieves all tag clouds in the repository.String[]Retrieves all the tags in the repositoryString[]TagService.getTagsPreset(String sid) Retrieves all the tags in the preset(if the input mode is preset).DocumentMetadataService.getTemplate(String sid, String name) Gets template's metadataDocumentMetadataService.getTemplateById(String sid, long templateId) Gets template's metadataGets user metadata of an existing user with the given identifierSecurityService.getUserByUsername(String sid, String username) Gets user metadata of an existing user with the given usernameDocumentService.getVersion(String sid, long docId, String version) Gets a specific versionjavax.activation.DataHandlerDocumentService.getVersionContent(String sid, long docId, String version) Gets the content of a specific version of a documentDocumentService.getVersions(String sid, long docId) Gets the version history of an existing document with the given identifiervoidFolderService.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoidDocumentMetadataService.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) Grants group permission to the template.voidGrants user permission to the folder.voidDocumentMetadataService.grantUserToTemplate(String sid, long templateId, long userId, int permissions) Grants user permission to the template.booleanTests if the current user has a specific permission on a folderbooleanDocumentService.isReadable(String sid, long docId) Tests if a document is readablebooleanFolderService.isReadable(String sid, long folderId) Tests if a folder is readable.booleanDocumentMetadataService.isTemplateReadable(String sid, long templateId) Tests if a template is readable.booleanDocumentMetadataService.isTemplateWritable(String sid, long templateId) Tests if a template is writablebooleanFolderService.isWritable(String sid, long folderId) Tests if a folder is writableCreates a new link between two documents.DocumentMetadataService.listAttributeSets(String sid) Gets metadata of all existing attribute sets.WSFolder[]FolderService.listChildren(String sid, long folderId) Lists all direct folders of a parent folder.
Attention: readable only sub-folders are returned.DocumentService.listDocuments(String sid, long folderId, String fileName) Gets a document in a specific folderWSGroup[]SecurityService.listGroups(String sid) Gets group metadata of all existing groups.DocumentMetadataService.listTemplates(String sid) Gets metadata of all existing templates.WSUser[]Gets metadata of all existing usersWSFolder[]FolderService.listWorkspaces(String sid) Retrieves the list of all workspaces.voidLocks an existing document with the given identifier.voidMerges the contents of folder into a targetvoidMoves an existing document with the given identifier.voidMoves an existing folder with the given identifier.voidDocumentService.promoteVersion(String sid, long docId, String version) Promotes an old version to the current default one.DocumentService.rateDocument(String sid, long docId, int vote) Puts a new rating on the given documentvoidRe-indexes(or indexes from scratch) a documentvoidRenames the title of an existing document with the given identifier.voidRenames an existing folder.voidDocumentService.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) Replaces the file associated to a given version.voidRestores a deleted documentBookmarkService.saveBookmark(String sid, WSBookmark bookmark) Adds a new note for the given documentvoidDocumentService.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoidDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options) Saves the options for the given attributevoidTagService.setDocumentTags(String sid, long docId, String[] tags) Sets the tags of a documentvoidTagService.setFolderTags(String sid, long folderId, String[] tags) Sets the tags of a foldervoidDocumentService.setPassword(String sid, long docId, String password) Puts a password protection to the documentlongDocumentMetadataService.storeAttributeSet(String sid, WSAttributeSet attributeSet) Create/Update an attribute set.longSecurityService.storeGroup(String sid, WSGroup group) Creates/Updates a group.longDocumentMetadataService.storeTemplate(String sid, WSTemplate template) Create/Update a template.longCreates/Updates a user.voidBookmarkService.unbookmarkDocument(String sid, long docId) voidBookmarkService.unbookmarkFolder(String sid, long folderId) voidUnlocks an existing document with the given identifier.booleanUnprotects a document that is password protected.voidDocumentService.unsetPassword(String sid, long docId, String currentPassword) Removes the password protection from the documentvoidDocumentService.update(String sid, WSDocument document) Updates an existing document with the value object containing the document's metadatavoidUpdates an existing folder.longDocumentService.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) Creates a new document or updates an existing one.voidDocumentService.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) Uploads a new resource attached to the given document. -
Uses of WebserviceException in com.logicaldoc.webservice.soap.client
Methods in com.logicaldoc.webservice.soap.client that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidSoapDocumentMetadataClient.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption) voidSoapTagClient.addDocumentTags(String sid, long docId, String[] tags) voidSoapTagClient.addFolderTags(String sid, long folderId, String[] tags) SoapBookmarkClient.bookmarkDocument(String sid, long docId) SoapBookmarkClient.bookmarkFolder(String sid, long folderId) intSoapSecurityClient.changePassword(String sid, long userId, String oldPassword, String newPassword) voidSoapDocumentClient.checkin(String sid, long docId, String comment, String filename, boolean release, File content) voidSoapDocumentClient.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) voidSoapDocumentClient.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content) voidSoapDocumentClient.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) voidvoidSoapFolderClient.copy(String sid, long folderId, long parentId, int foldersOnly, String securityOption) SoapDocumentClient.create(String sid, WSDocument document, File content) SoapDocumentClient.create(String sid, WSDocument document, javax.activation.DataHandler content) SoapDocumentClient.createAlias(String sid, long docId, long folderId, String type) SoapFolderClient.createAlias(String sid, long parentId, long foldRef) SoapDocumentClient.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longSoapFolderClient.createFolder(String sid, long parentId, String name) SoapFolderClient.createPath(String sid, long parentId, String path) voidvoidSoapDocumentClient.createThumbnail(String sid, long docId, String fileVersion, String type) voidvoidvoidSoapDocumentMetadataClient.deleteAttributeSet(String sid, long setId) voidSoapBookmarkClient.deleteBookmark(String sid, long bookmarkId) voidSoapSecurityClient.deleteGroup(String sid, long groupId) voidSoapDocumentClient.deleteLink(String sid, long id) voidSoapDocumentClient.deleteNote(String sid, long noteId) voidSoapDocumentMetadataClient.deleteTemplate(String sid, long templateId) voidSoapSecurityClient.deleteUser(String sid, long userId) SoapDocumentClient.deleteVersion(String sid, long docId, String version) voidSoapDocumentClient.downloadContent(String sid, long docId, File out) voidSoapDocumentClient.downloadResourceContent(String sid, long docId, String fileVersion, String suffix, File out) voidSoapDocumentClient.downloadVersionContent(String sid, long docId, String version, File out) SoapSearchClient.find(String sid, WSSearchOptions options) SoapSearchClient.findByFilename(String sid, String filename) SoapFolderClient.findByPath(String sid, String path) SoapTagClient.findDocumentsByTag(String sid, String tag) WSFolder[]SoapSearchClient.findFolders(String sid, String name) WSFolder[]SoapTagClient.findFoldersByTag(String sid, String tag) SoapDocumentClient.getAliases(String sid, long docId) String[]SoapDocumentMetadataClient.getAttributeOptions(String sid, long setId, String attribute) SoapDocumentMetadataClient.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) SoapDocumentMetadataClient.getAttributeSet(String sid, String name) SoapDocumentMetadataClient.getAttributeSetById(String sid, long setId) SoapBookmarkClient.getBookmarks(String sid) javax.activation.DataHandlerSoapDocumentClient.getContent(String sid, long docId) SoapFolderClient.getDefaultWorkspace(String sid) SoapDocumentClient.getDocument(String sid, long docId) SoapDocumentClient.getDocumentByCustomId(String sid, String customId) SoapDocumentClient.getDocuments(String sid, Long[] docIds) String[]SoapTagClient.getDocumentTags(String sid, long docId) SoapDocumentClient.getExtractedText(String sid, long docId) String[]SoapTagClient.getFolderTags(String sid, long folderId) WSRight[]SoapDocumentMetadataClient.getGrantedGroups(String sid, long groupId) WSRight[]SoapFolderClient.getGrantedGroups(String sid, long folderId) WSRight[]SoapDocumentMetadataClient.getGrantedUsers(String sid, long groupId) WSRight[]SoapFolderClient.getGrantedUsers(String sid, long folderId) SoapSystemClient.getInfo()WSLink[]WSNote[]WSFolder[]WSRating[]SoapDocumentClient.getRatings(String sid, long docId) SoapDocumentClient.getRecentDocuments(String sid, Integer max) javax.activation.DataHandlerSoapDocumentClient.getResource(String sid, long docId, String fileVersion, String suffix) SoapFolderClient.getRootFolder(String sid) SoapSystemClient.getStatistics(String sid) SoapTagClient.getTagCloud(String sid) String[]String[]SoapTagClient.getTagsPreset(String sid) SoapDocumentMetadataClient.getTemplate(String sid, String name) SoapDocumentMetadataClient.getTemplateById(String sid, long templateId) SoapSecurityClient.getUserByUsername(String sid, String username) SoapDocumentClient.getVersion(String sid, long docId, String version) javax.activation.DataHandlerSoapDocumentClient.getVersionContent(String sid, long docId, String version) SoapDocumentClient.getVersions(String sid, long docId) voidSoapFolderClient.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) voidSoapDocumentMetadataClient.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) voidSoapFolderClient.grantUser(String sid, long folderId, long userId, int permissions, boolean recursive) voidSoapDocumentMetadataClient.grantUserToTemplate(String sid, long templateId, long userId, int permissions) booleanbooleanSoapDocumentClient.isReadable(String sid, long docId) booleanSoapFolderClient.isReadable(String sid, long folderId) booleanSoapDocumentMetadataClient.isTemplateReadable(String sid, long templateId) booleanSoapDocumentMetadataClient.isTemplateWritable(String sid, long templateId) booleanSoapFolderClient.isWritable(String sid, long folderId) SoapDocumentMetadataClient.listAttributeSets(String sid) WSFolder[]SoapFolderClient.listChildren(String sid, long folderId) SoapDocumentClient.listDocuments(String sid, long folderId, String fileName) WSGroup[]SoapSecurityClient.listGroups(String sid) SoapDocumentMetadataClient.listTemplates(String sid) WSUser[]WSFolder[]SoapFolderClient.listWorkspaces(String sid) voidvoidvoidvoidvoidSoapDocumentClient.promoteVersion(String sid, long docId, String version) SoapDocumentClient.rateDocument(String sid, long docId, int vote) voidvoidvoidvoidSoapDocumentClient.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) voidSoapBookmarkClient.saveBookmark(String sid, WSBookmark bookmark) voidSoapDocumentClient.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) voidSoapDocumentMetadataClient.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] options) voidSoapTagClient.setDocumentTags(String sid, long docId, String[] tags) voidSoapTagClient.setFolderTags(String sid, long folderId, String[] tags) voidSoapDocumentClient.setPassword(String sid, long docId, String password) longSoapDocumentMetadataClient.storeAttributeSet(String sid, WSAttributeSet attributeSet) longSoapSecurityClient.storeGroup(String sid, WSGroup group) longSoapDocumentMetadataClient.storeTemplate(String sid, WSTemplate template) longvoidSoapBookmarkClient.unbookmarkDocument(String sid, long docId) voidSoapBookmarkClient.unbookmarkFolder(String sid, long folderId) voidbooleanvoidSoapDocumentClient.unsetPassword(String sid, long docId, String currentPassword) voidSoapDocumentClient.update(String sid, WSDocument document) voidlongSoapDocumentClient.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) voidSoapDocumentClient.uploadResource(String sid, long docId, String fileVersion, String suffix, File content) voidSoapDocumentClient.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) -
Uses of WebserviceException in com.logicaldoc.webservice.soap.endpoint
Methods in com.logicaldoc.webservice.soap.endpoint that throw WebserviceExceptionModifier and TypeMethodDescriptionvoidSoapDocumentMetadataService.addAttributeOption(String sid, long setId, String attribute, WSAttributeOption wsoption) voidSoapTagService.addDocumentTags(String sid, long docId, String[] tags) voidSoapTagService.addFolderTags(String sid, long folderId, String[] tags) SoapBookmarkService.bookmarkDocument(String sid, long docId) SoapBookmarkService.bookmarkFolder(String sid, long folderId) intSoapSecurityService.changePassword(String sid, long userId, String oldPassword, String newPassword) voidSoapDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) voidSoapDocumentService.checkin(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) voidSoapDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) voidSoapDocumentService.checkinDocument(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) voidvoidSoapFolderService.copy(String sid, long folderId, long targetId, int foldersOnly, String securityOption) SoapDocumentService.create(String sid, WSDocument document, InputStream content) SoapDocumentService.create(String sid, WSDocument document, javax.activation.DataHandler content) SoapDocumentService.createAlias(String sid, long docId, long folderId, String type) SoapFolderService.createAlias(String sid, long parentId, long foldRef) SoapDocumentService.createDownloadTicket(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads) longSoapFolderService.createFolder(String sid, long parentId, String name) SoapFolderService.createPath(String sid, long parentId, String path) voidvoidSoapDocumentService.createThumbnail(String sid, long docId, String fileVersion, String type) voidvoidvoidSoapDocumentMetadataService.deleteAttributeSet(String sid, long setId) voidSoapBookmarkService.deleteBookmark(String sid, long bookmarkId) voidSoapSecurityService.deleteGroup(String sid, long groupId) voidSoapDocumentService.deleteLink(String sid, long id) voidSoapDocumentService.deleteNote(String sid, long noteId) voidSoapDocumentMetadataService.deleteTemplate(String sid, long templateId) voidSoapSecurityService.deleteUser(String sid, long userId) SoapDocumentService.deleteVersion(String sid, long docId, String version) SoapSearchService.find(String sid, WSSearchOptions opt) SoapSearchService.findByFilename(String sid, String filename) SoapFolderService.findByPath(String sid, String path) SoapTagService.findDocumentsByTag(String sid, String tag) WSFolder[]SoapSearchService.findFolders(String sid, String name) WSFolder[]SoapTagService.findFoldersByTag(String sid, String tag) SoapDocumentService.getAliases(String sid, long docId) String[]SoapDocumentMetadataService.getAttributeOptions(String sid, long setId, String attribute) SoapDocumentMetadataService.getAttributeOptionsByCategory(String sid, long setId, String attribute, String category) SoapDocumentMetadataService.getAttributeSet(String sid, String name) SoapDocumentMetadataService.getAttributeSetById(String sid, long setId) SoapBookmarkService.getBookmarks(String sid) javax.activation.DataHandlerSoapDocumentService.getContent(String sid, long docId) SoapFolderService.getDefaultWorkspace(String sid) SoapDocumentService.getDocument(String sid, long docId) SoapDocumentService.getDocumentByCustomId(String sid, String customId) SoapDocumentService.getDocuments(String sid, Long[] docIds) String[]SoapTagService.getDocumentTags(String sid, long docId) SoapDocumentService.getExtractedText(String sid, long docId) String[]SoapTagService.getFolderTags(String sid, long folderId) WSRight[]SoapDocumentMetadataService.getGrantedGroups(String sid, long templateId) WSRight[]SoapFolderService.getGrantedGroups(String sid, long folderId) WSRight[]SoapDocumentMetadataService.getGrantedUsers(String sid, long templateId) WSRight[]SoapFolderService.getGrantedUsers(String sid, long folderId) SoapSystemService.getInfo()WSLink[]WSNote[]WSFolder[]WSRating[]SoapDocumentService.getRatings(String sid, long docId) SoapDocumentService.getRecentDocuments(String sid, Integer max) javax.activation.DataHandlerSoapDocumentService.getResource(String sid, long docId, String fileVersion, String suffix) SoapFolderService.getRootFolder(String sid) SoapSystemService.getStatistics(String sid) SoapTagService.getTagCloud(String sid) String[]String[]SoapTagService.getTagsPreset(String sid) SoapDocumentMetadataService.getTemplate(String sid, String name) SoapDocumentMetadataService.getTemplateById(String sid, long templateId) SoapSecurityService.getUserByUsername(String sid, String username) SoapDocumentService.getVersion(String sid, long docId, String version) javax.activation.DataHandlerSoapDocumentService.getVersionContent(String sid, long docId, String version) SoapDocumentService.getVersions(String sid, long docId) voidSoapFolderService.grantGroup(String sid, long folderId, long groupId, int permissions, boolean recursive) voidSoapDocumentMetadataService.grantGroupToTemplate(String sid, long templateId, long groupId, int permissions) voidSoapFolderService.grantUser(String sid, long folderId, long userId, int permissions, boolean recursive) voidSoapDocumentMetadataService.grantUserToTemplate(String sid, long templateId, long userId, int permissions) booleanbooleanSoapDocumentService.isReadable(String sid, long docId) booleanSoapFolderService.isReadable(String sid, long folderId) booleanSoapDocumentMetadataService.isTemplateReadable(String sid, long templateId) booleanSoapDocumentMetadataService.isTemplateWritable(String sid, long templateId) booleanSoapFolderService.isWritable(String sid, long folderId) SoapDocumentMetadataService.listAttributeSets(String sid) WSFolder[]SoapFolderService.listChildren(String sid, long folderId) SoapDocumentService.listDocuments(String sid, long folderId, String fileName) WSGroup[]SoapSecurityService.listGroups(String sid) SoapDocumentMetadataService.listTemplates(String sid) WSUser[]WSFolder[]SoapFolderService.listWorkspaces(String sid) voidvoidvoidvoidvoidSoapDocumentService.promoteVersion(String sid, long docId, String version) SoapDocumentService.rateDocument(String sid, long docId, int vote) voidvoidvoidvoidSoapDocumentService.replaceFile(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) voidSoapBookmarkService.saveBookmark(String sid, WSBookmark bookmark) voidSoapDocumentService.sendEmail(String sid, Long[] docIds, String recipients, String subject, String message) voidSoapDocumentMetadataService.setAttributeOptions(String sid, long setId, String attribute, WSAttributeOption[] wsOptions) voidSoapTagService.setDocumentTags(String sid, long docId, String[] tags) voidSoapTagService.setFolderTags(String sid, long folderId, String[] tags) voidSoapDocumentService.setPassword(String sid, long docId, String password) longSoapDocumentMetadataService.storeAttributeSet(String sid, WSAttributeSet attributeSet) longSoapSecurityService.storeGroup(String sid, WSGroup group) longSoapDocumentMetadataService.storeTemplate(String sid, WSTemplate wsTemplate) longvoidSoapBookmarkService.unbookmarkDocument(String sid, long docId) voidSoapBookmarkService.unbookmarkFolder(String sid, long folderId) voidbooleanvoidSoapDocumentService.unsetPassword(String sid, long docId, String currentPassword) voidSoapDocumentService.update(String sid, WSDocument document) voidlongSoapDocumentService.upload(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) voidSoapDocumentService.uploadResource(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)