Uses of Class
com.logicaldoc.core.security.authentication.AuthenticationException
Package
Description
The pluggable authentication mechanism.
-
Uses of AuthenticationException in com.logicaldoc.core.security
Modifier and TypeMethodDescriptionstatic void
LoginThrottle.recordFailure
(String username, Client client, AuthenticationException exception) Saves the login failure in the databaseModifier and TypeMethodDescriptionstatic void
LoginThrottle.checkLoginThrottle
(String username, String ip) Performs anti brute force attack checksSessionManager.createSession
(User user, Client client) Creates a new session by authenticated the given user and stores it in the pool of opened sessionsSessionManager.newSession
(String username, String password, Client client) Creates a new session by authenticated the given user and stores it in the pool of opened sessionsSessionManager.newSession
(String username, String password, String key, Client client) Creates a new session by authenticating the given user and stores it in the pool of opened sessions -
Uses of AuthenticationException in com.logicaldoc.core.security.authentication
Modifier and TypeClassDescriptionclass
Raised when the account exists but it is disabledclass
Raised when the account is expiredclass
Raised when the account is interpreted as inactive because it was not interacting since a lot of daysclass
Raised when the specified user was not foundclass
Raised when truing to enter with an account of a unknown typeclass
Raised when a session is not validclass
Raised when the remote client is in the black listclass
Raised when the user is trying to enter outside the working timeclass
Raised when you try to change password that was already usedclass
Raised when the password has expiredclass
Raised when you try to change a password that is too weakclass
Raised when the remote client is in the black listclass
Raised when given password is not correctModifier and TypeMethodDescriptionAbstractAuthenticator.authenticate
(String username, String password, String key) AbstractAuthenticator.authenticate
(String username, String password, String key, Client client) final User
AuthenticationChain.authenticate
(String username, String password) final User
AuthenticationChain.authenticate
(String username, String password, String key, Client client) Authenticator.authenticate
(String username, String password) Authenticates the user using the given credentials, if successful, the corresponding user is returned.Authenticator.authenticate
(String username, String password, String key) Authenticates the user using the given credentials, if successful, the corresponding user is returned.Authenticator.authenticate
(String username, String password, String key, Client client) Authenticates the user using the given credentials, if successful, the corresponding user is returned.DefaultAuthenticator.authenticate
(String username, String password) DefaultAuthenticator.authenticate
(String username, String password, String key, Client client) void
DefaultAuthenticator.validateUser
(User user) Perform some security validations on the user but does not check the password. -
Uses of AuthenticationException in com.logicaldoc.webservice.mobile
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
CommentService.addComment
(String sid, String docid, CommentVO comment) javax.ws.rs.core.Response
CommentService.addCommentForm
(String sid, String docid, String content) javax.ws.rs.core.Response
CommentService.getComments
(String sid, String docid) -
Uses of AuthenticationException in com.logicaldoc.webservice.rest
Modifier and TypeMethodDescriptionvoid
DocumentMetadataService.addAttributeOption
(long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoid
TagService.addDocumentTags
(long docId, String[] tags) Adds tags to a documentvoid
TagService.addFolderTags
(long folderId, String[] tags) Adds tags to a folderAdds a new note for the given documentBookmarkService.bookmarkDocument
(long docId) BookmarkService.bookmarkFolder
(long folderId) void
DocumentService.checkout
(long docId) Executed the checkoutDocumentService.copy
(long docId, long folderId, boolean links, boolean notes) Copies a document into another foldervoid
Copies 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 ticketlong
FolderService.createFolder
(long parentId, String name) FolderService.createPath
(long parentId, String path) void
Creates 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) void
DocumentService.createThumbnail
(long docId, String fileVersion, String type) Creates the thumbail of the given document; if the thumbnail was already created, nothing will happenDocumentService.createViewTicket
(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) Creates a new download ticketvoid
DocumentService.delete
(long docId) Deletes a documentvoid
FolderService.delete
(long folderId) void
BookmarkService.deleteBookmark
(long bookmarkId) void
DocumentService.deleteLink
(long id) Removes an existing linkvoid
DocumentService.deleteNote
(long noteId) Deletes a new note by note identifiervoid
DocumentMetadataService.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.DataHandler
DocumentService.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.WSLink[]
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.DataHandler
DocumentService.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.DataHandler
DocumentService.getThumbnail
(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) Retrieves the thumbnail imagejavax.activation.DataHandler
DocumentService.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 identifiervoid
FolderService.grantGroup
(long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoid
FolderService.grantUser
(long folderId, long userId, int permissions, boolean recursive) Grants user permission to the folder.boolean
FolderService.isGranted
(long folderId, int permission) Tests if the current user has a specific permission on a folderboolean
DocumentService.isReadable
(long docId) Tests if a document is readableboolean
FolderService.isReadable
(long folderId) Tests if a folder is readable.boolean
FolderService.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.void
DocumentService.lock
(long docId) Locks an existing document with the given identifier.void
DocumentService.move
(long docId, long folderId) Moves an existing document with the given identifiervoid
FolderService.move
(long folderId, long parentId) Moves an existing folder with the given identifier.void
DocumentService.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 documentvoid
Re-indexes(or indexes from scratch) a documentvoid
Renames the title of an existing document with the given identifier.void
Renames an existing folder.void
DocumentService.restore
(long docId, long folderId) Restores a deleted documentBookmarkService.saveBookmark
(WSBookmark bookmark) Adds a new note for the given documentvoid
Sends a set of documents as mail attachmentsvoid
TagService.setDocumentTags
(long docId, String[] tags) Sets the tags of a documentvoid
TagService.setFolderTags
(long folderId, String[] tags) Sets the tags of a foldervoid
DocumentService.setPassword
(long docId, String password) Puts a password protection to the documentlong
DocumentMetadataService.storeTemplate
(WSTemplate template) Create/Update a template.void
BookmarkService.unbookmarkDocument
(long docId) void
BookmarkService.unbookmarkFolder
(long folderId) void
DocumentService.unlock
(long docId) Unlocks an existing document with the given identifier.boolean
Unprotects a document that is password protected.void
DocumentService.unsetPassword
(long docId, String currentPassword) Removes the password protection from the documentvoid
DocumentService.update
(WSDocument document) Updates an existing document with the value object containing the document's metadata.void
Updates an existing folder.void
DocumentService.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 AuthenticationException in com.logicaldoc.webservice.rest.client
Modifier and TypeMethodDescriptionvoid
RestTagClient.addDocumentTags
(long docId, String[] tags) void
RestTagClient.addFolderTags
(long folderId, String[] tags) RestBookmarkClient.bookmarkDocument
(long docId) RestBookmarkClient.bookmarkFolder
(long folderId) void
RestDocumentClient.checkout
(long docId) long
RestFolderClient.createFolder
(long parentId, String folderName) RestFolderClient.createPath
(long rootFolder, String path) void
void
RestDocumentClient.createThumbnail
(long docId, String fileVersion, String type) void
RestDocumentClient.delete
(long docId) void
RestFolderClient.delete
(long folderId) void
RestBookmarkClient.deleteBookmark
(long bookmarkId) void
RestDocumentClient.deleteNote
(long noteId) Adds a new note for the given documentvoid
RestDocumentMetadataClient.deleteTemplate
(long templateId) void
RestDocumentClient.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.DataHandler
RestDocumentClient.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.DataHandler
RestDocumentClient.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) void
RestTagClient.setDocumentTags
(long docId, String[] tags) void
RestTagClient.setFolderTags
(long folderId, String[] tags) long
RestDocumentMetadataClient.storeTemplate
(WSTemplate template) void
RestBookmarkClient.unbookmarkDocument
(long docId) void
RestBookmarkClient.unbookmarkFolder
(long folderId) void
RestDocumentClient.update
(WSDocument document) void
-
Uses of AuthenticationException in com.logicaldoc.webservice.rest.endpoint
Modifier and TypeMethodDescriptionvoid
RestDocumentMetadataService.addAttributeOption
(long setId, String attribute, WSAttributeOption option) void
RestTagService.addDocumentTags
(long docId, String[] tags) void
RestTagService.addFolderTags
(long folderId, String[] tags) RestBookmarkService.bookmarkDocument
(long docId) RestBookmarkService.bookmarkFolder
(long folderId) void
RestDocumentService.checkout
(long docId) RestDocumentService.copy
(long docId, long folderId, boolean links, boolean notes) void
RestDocumentService.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) long
RestFolderService.createFolder
(long parentId, String name) RestFolderService.createPath
(long parentId, String path) void
RestFolderService.createSimple
(String folderPath) RestFolderService.createSimpleForm
(String folderPath) RestFolderService.createSimpleJSON
(String jsonstr) void
RestDocumentService.createThumbnail
(long docId, String fileVersion, String type) RestDocumentService.createViewTicket
(long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) void
RestDocumentService.delete
(long docId) void
RestFolderService.delete
(long folderId) void
RestBookmarkService.deleteBookmark
(long bookmarkId) void
RestDocumentService.deleteLink
(long id) void
RestDocumentService.deleteNote
(long noteId) void
RestDocumentMetadataService.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.DataHandler
RestDocumentService.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) 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.DataHandler
RestDocumentService.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.DataHandler
RestDocumentService.getThumbnail
(String type, String docPath, List<javax.ws.rs.core.PathSegment> docPathList) javax.activation.DataHandler
RestDocumentService.getVersionContent
(long docId, String version) RestDocumentService.getVersions
(long docId) void
RestFolderService.grantGroup
(long folderId, long groupId, int permissions, boolean recursive) void
RestFolderService.grantUser
(long folderId, long userId, int permissions, boolean recursive) boolean
RestFolderService.isGranted
(long folderId, int permission) boolean
RestDocumentService.isReadable
(long docId) boolean
RestFolderService.isReadable
(long folderId) boolean
RestFolderService.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()
void
RestDocumentService.lock
(long docId) void
RestDocumentService.move
(long docId, long folderId) void
RestFolderService.move
(long folderId, long parentId) void
RestDocumentService.promoteVersion
(long docId, String version) RestDocumentService.rateDocument
(long docId, int vote) void
void
void
void
RestDocumentService.restore
(long docId, long folderId) RestBookmarkService.saveBookmark
(WSBookmark bookmark) void
void
RestTagService.setDocumentTags
(long docId, String[] tags) void
RestTagService.setFolderTags
(long folderId, String[] tags) void
RestDocumentService.setPassword
(long docId, String password) long
RestDocumentMetadataService.storeTemplate
(WSTemplate template) void
RestBookmarkService.unbookmarkDocument
(long docId) void
RestBookmarkService.unbookmarkFolder
(long folderId) void
RestDocumentService.unlock
(long docId) boolean
void
RestDocumentService.unsetPassword
(long docId, String currentPassword) void
RestDocumentService.update
(WSDocument document) void
void
RestDocumentService.uploadResource
(Integer docId, String fileVersion, String suffix, org.apache.cxf.jaxrs.ext.multipart.Attachment contentDetail) -
Uses of AuthenticationException in com.logicaldoc.webservice.soap
Modifier and TypeMethodDescriptionvoid
DocumentMetadataService.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption option) Add a new option for the given attributevoid
TagService.addDocumentTags
(String sid, long docId, String[] tags) Adds tags to a documentvoid
TagService.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) void
DocumentService.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.void
DocumentService.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.void
Checks out an existing document with the given identifier.Copies a document into another folder.void
FolderService.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 ticketlong
FolderService.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.void
Creates the PDF conversion of the given document.void
DocumentService.createThumbnail
(String sid, long docId, String fileVersion, String type) Creates the thumbnail of the given document.DocumentService.createViewTicket
(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) Creates a new view ticketvoid
Deletes an existing document with the given identifier.void
Deletes an existing folder.void
BookmarkService.deleteBookmark
(String sid, long bookmarkId) void
DocumentService.deleteLink
(String sid, long id) Removes an existing linkvoid
DocumentService.deleteNote
(String sid, long noteId) Adds a new note for the given documentvoid
DocumentMetadataService.deleteTemplate
(String sid, long templateId) Deletes an existing template 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.DataHandler
DocumentService.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.WSLink[]
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.DataHandler
DocumentService.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 metadataDocumentService.getVersion
(String sid, long docId, String version) Gets a specific versionjavax.activation.DataHandler
DocumentService.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 identifiervoid
FolderService.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) Grants group permission to the foldervoid
DocumentMetadataService.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) Grants group permission to the template.void
Grants user permission to the folder.void
DocumentMetadataService.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) Grants user permission to the template.boolean
Tests if the current user has a specific permission on a folderboolean
DocumentService.isReadable
(String sid, long docId) Tests if a document is readableboolean
FolderService.isReadable
(String sid, long folderId) Tests if a folder is readable.boolean
DocumentMetadataService.isTemplateReadable
(String sid, long templateId) Tests if a template is readable.boolean
DocumentMetadataService.isTemplateWritable
(String sid, long templateId) Tests if a template is writableboolean
FolderService.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 folderDocumentMetadataService.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.void
Locks an existing document with the given identifier.Starts a new session.void
Merges the contents of folder into a targetvoid
Moves an existing document with the given identifier.void
Moves an existing folder with the given identifier.void
DocumentService.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 documentvoid
Re-indexes(or indexes from scratch) a documentvoid
Renames the title of an existing document with the given identifier.void
Renames an existing folder.void
DocumentService.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) Replaces the file associated to a given version.void
Restores a deleted documentBookmarkService.saveBookmark
(String sid, WSBookmark bookmark) Adds a new note for the given documentvoid
DocumentService.sendEmail
(String sid, Long[] docIds, String recipients, String subject, String message) Sends a set of documents as mail attachmentsvoid
TagService.setDocumentTags
(String sid, long docId, String[] tags) Sets the tags of a documentvoid
TagService.setFolderTags
(String sid, long folderId, String[] tags) Sets the tags of a foldervoid
DocumentService.setPassword
(String sid, long docId, String password) Puts a password protection to the documentlong
DocumentMetadataService.storeTemplate
(String sid, WSTemplate template) Create/Update a template.void
BookmarkService.unbookmarkDocument
(String sid, long docId) void
BookmarkService.unbookmarkFolder
(String sid, long folderId) void
Unlocks an existing document with the given identifier.boolean
Unprotects a document that is password protected.void
DocumentService.unsetPassword
(String sid, long docId, String currentPassword) Removes the password protection from the documentvoid
DocumentService.update
(String sid, WSDocument document) Updates an existing document with the value object containing the document's metadatavoid
Updates an existing folder.long
DocumentService.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.void
DocumentService.uploadResource
(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) Uploads a new resource attached to the given document. -
Uses of AuthenticationException in com.logicaldoc.webservice.soap.client
Modifier and TypeMethodDescriptionvoid
SoapDocumentMetadataClient.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption wsoption) void
SoapTagClient.addDocumentTags
(String sid, long docId, String[] tags) void
SoapTagClient.addFolderTags
(String sid, long folderId, String[] tags) SoapBookmarkClient.bookmarkDocument
(String sid, long docId) SoapBookmarkClient.bookmarkFolder
(String sid, long folderId) void
SoapDocumentClient.checkin
(String sid, long docId, String comment, String filename, boolean release, File content) void
SoapDocumentClient.checkin
(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) void
SoapDocumentClient.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, File content) void
SoapDocumentClient.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) void
void
SoapFolderClient.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) long
SoapFolderClient.createFolder
(String sid, long parentId, String name) SoapFolderClient.createPath
(String sid, long parentId, String path) void
void
SoapDocumentClient.createThumbnail
(String sid, long docId, String fileVersion, String type) SoapDocumentClient.createViewTicket
(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) void
void
void
SoapBookmarkClient.deleteBookmark
(String sid, long bookmarkId) void
SoapDocumentClient.deleteLink
(String sid, long id) void
SoapDocumentClient.deleteNote
(String sid, long noteId) void
SoapDocumentMetadataClient.deleteTemplate
(String sid, long templateId) SoapDocumentClient.deleteVersion
(String sid, long docId, String version) void
SoapDocumentClient.downloadContent
(String sid, long docId, File out) void
SoapDocumentClient.downloadResourceContent
(String sid, long docId, String fileVersion, String suffix, File out) void
SoapDocumentClient.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.DataHandler
SoapDocumentClient.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) WSLink[]
WSNote[]
WSFolder[]
WSRating[]
SoapDocumentClient.getRatings
(String sid, long docId) SoapDocumentClient.getRecentDocuments
(String sid, Integer max) javax.activation.DataHandler
SoapDocumentClient.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) SoapDocumentClient.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentClient.getVersionContent
(String sid, long docId, String version) SoapDocumentClient.getVersions
(String sid, long docId) void
SoapFolderClient.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) void
SoapDocumentMetadataClient.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) void
SoapFolderClient.grantUser
(String sid, long folderId, long userId, int permissions, boolean recursive) void
SoapDocumentMetadataClient.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) boolean
boolean
SoapDocumentClient.isReadable
(String sid, long docId) boolean
SoapFolderClient.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataClient.isTemplateReadable
(String sid, long templateId) boolean
SoapDocumentMetadataClient.isTemplateWritable
(String sid, long templateId) boolean
SoapFolderClient.isWritable
(String sid, long folderId) SoapDocumentMetadataClient.listAttributeSets
(String sid) WSFolder[]
SoapFolderClient.listChildren
(String sid, long folderId) SoapDocumentClient.listDocuments
(String sid, long folderId, String fileName) SoapDocumentMetadataClient.listTemplates
(String sid) WSUser[]
WSFolder[]
SoapFolderClient.listWorkspaces
(String sid) void
void
void
void
void
SoapDocumentClient.promoteVersion
(String sid, long docId, String version) SoapDocumentClient.rateDocument
(String sid, long docId, int vote) void
void
void
void
SoapDocumentClient.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) void
SoapBookmarkClient.saveBookmark
(String sid, WSBookmark bookmark) void
SoapDocumentClient.sendEmail
(String sid, Long[] docIds, String recipients, String subject, String message) void
SoapTagClient.setDocumentTags
(String sid, long docId, String[] tags) void
SoapTagClient.setFolderTags
(String sid, long folderId, String[] tags) void
SoapDocumentClient.setPassword
(String sid, long docId, String password) long
SoapDocumentMetadataClient.storeTemplate
(String sid, WSTemplate template) void
SoapBookmarkClient.unbookmarkDocument
(String sid, long docId) void
SoapBookmarkClient.unbookmarkFolder
(String sid, long folderId) void
boolean
void
SoapDocumentClient.unsetPassword
(String sid, long docId, String currentPassword) void
SoapDocumentClient.update
(String sid, WSDocument document) void
long
SoapDocumentClient.upload
(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) void
SoapDocumentClient.uploadResource
(String sid, long docId, String fileVersion, String suffix, File content) void
SoapDocumentClient.uploadResource
(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content) -
Uses of AuthenticationException in com.logicaldoc.webservice.soap.endpoint
Modifier and TypeMethodDescriptionvoid
SoapDocumentMetadataService.addAttributeOption
(String sid, long setId, String attribute, WSAttributeOption wsoption) void
SoapTagService.addDocumentTags
(String sid, long docId, String[] tags) void
SoapTagService.addFolderTags
(String sid, long folderId, String[] tags) SoapBookmarkService.bookmarkDocument
(String sid, long docId) SoapBookmarkService.bookmarkFolder
(String sid, long folderId) void
SoapDocumentService.checkin
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) void
SoapDocumentService.checkin
(String sid, long docId, String comment, String filename, boolean release, javax.activation.DataHandler content) void
SoapDocumentService.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, InputStream content) void
SoapDocumentService.checkinDocument
(String sid, long docId, String comment, String filename, boolean release, WSDocument docVO, javax.activation.DataHandler content) void
void
SoapFolderService.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) long
SoapFolderService.createFolder
(String sid, long parentId, String name) SoapFolderService.createPath
(String sid, long parentId, String path) void
void
SoapDocumentService.createThumbnail
(String sid, long docId, String fileVersion, String type) SoapDocumentService.createViewTicket
(String sid, long docId, String suffix, Integer expireHours, String expireDate, Integer maxDownloads, Integer maxViews) void
void
void
SoapBookmarkService.deleteBookmark
(String sid, long bookmarkId) void
SoapDocumentService.deleteLink
(String sid, long id) void
SoapDocumentService.deleteNote
(String sid, long noteId) void
SoapDocumentMetadataService.deleteTemplate
(String sid, long templateId) 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.DataHandler
SoapDocumentService.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) WSLink[]
WSNote[]
WSFolder[]
WSRating[]
SoapDocumentService.getRatings
(String sid, long docId) SoapDocumentService.getRecentDocuments
(String sid, Integer max) javax.activation.DataHandler
SoapDocumentService.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) SoapDocumentService.getVersion
(String sid, long docId, String version) javax.activation.DataHandler
SoapDocumentService.getVersionContent
(String sid, long docId, String version) SoapDocumentService.getVersions
(String sid, long docId) void
SoapFolderService.grantGroup
(String sid, long folderId, long groupId, int permissions, boolean recursive) void
SoapDocumentMetadataService.grantGroupToTemplate
(String sid, long templateId, long groupId, int permissions) void
SoapFolderService.grantUser
(String sid, long folderId, long userId, int permissions, boolean recursive) void
SoapDocumentMetadataService.grantUserToTemplate
(String sid, long templateId, long userId, int permissions) boolean
boolean
SoapDocumentService.isReadable
(String sid, long docId) boolean
SoapFolderService.isReadable
(String sid, long folderId) boolean
SoapDocumentMetadataService.isTemplateReadable
(String sid, long templateId) boolean
SoapDocumentMetadataService.isTemplateWritable
(String sid, long templateId) boolean
SoapFolderService.isWritable
(String sid, long folderId) SoapDocumentMetadataService.listAttributeSets
(String sid) WSFolder[]
SoapFolderService.listChildren
(String sid, long folderId) SoapDocumentService.listDocuments
(String sid, long folderId, String fileName) SoapDocumentMetadataService.listTemplates
(String sid) WSUser[]
WSFolder[]
SoapFolderService.listWorkspaces
(String sid) void
void
void
void
void
SoapDocumentService.promoteVersion
(String sid, long docId, String version) SoapDocumentService.rateDocument
(String sid, long docId, int vote) void
void
void
void
SoapDocumentService.replaceFile
(String sid, long docId, String fileVersion, String comment, javax.activation.DataHandler content) void
SoapBookmarkService.saveBookmark
(String sid, WSBookmark bookmark) void
SoapDocumentService.sendEmail
(String sid, Long[] docIds, String recipients, String subject, String message) void
SoapTagService.setDocumentTags
(String sid, long docId, String[] tags) void
SoapTagService.setFolderTags
(String sid, long folderId, String[] tags) void
SoapDocumentService.setPassword
(String sid, long docId, String password) long
SoapDocumentMetadataService.storeTemplate
(String sid, WSTemplate wsTemplate) void
SoapBookmarkService.unbookmarkDocument
(String sid, long docId) void
SoapBookmarkService.unbookmarkFolder
(String sid, long folderId) void
boolean
void
SoapDocumentService.unsetPassword
(String sid, long docId, String currentPassword) void
SoapDocumentService.update
(String sid, WSDocument document) void
long
SoapDocumentService.upload
(String sid, Long docId, Long folderId, boolean release, String filename, String language, javax.activation.DataHandler content) void
SoapDocumentService.uploadResource
(String sid, long docId, String fileVersion, String suffix, javax.activation.DataHandler content)