Package com.axemble.vdoc.sdk.modules
Interface IBaseLibraryModule
- All Known Subinterfaces:
ILibraryModule
- All Known Implementing Classes:
CustomPortalLibraryModule,PortalLibraryModule
Deprecated, for removal: This API element is subject to removal in a future version.
use com.axemble.vdoc.sdk.modules.ILibraryModule instead
The library module interface.
Code sample :
// creation of a library module object
IBaseLibraryModule libraryModule = Modules.getLibraryModule();
try
{
}
finally
{
// uninitialize the module
Modules.releaseModule(libraryModule);
}
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDeprecated, for removal: This API element is subject to removal in a future version.The possible subscription frequencies. -
Method Summary
Modifier and TypeMethodDescriptionaddAttachment(IFile file, IAttachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.addAttachment(IFile file, File ioFile) Deprecated, for removal: This API element is subject to removal in a future version.addAttachment(IFile file, String fileName, InputStream inputStream) Deprecated, for removal: This API element is subject to removal in a future version.addAttachment(IFile file, String fileName, String fullPath) Deprecated, for removal: This API element is subject to removal in a future version.voidaddCategories(IContext context, IFile file, Collection categories) Deprecated, for removal: This API element is subject to removal in a future version.voidaddCategory(IContext context, IFile file, ICategory category) Deprecated, for removal: This API element is subject to removal in a future version.checkedOutBy(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.copyTo(IContext context, IFile file, IFolder dest, CopyOption... copyOptions) Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFileunderneath a destination folder;copyTo(IContext context, IFile file, ILibrary dest, CopyOption... copyOptions) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFileunderneath a destination folder;Deprecated, for removal: This API element is subject to removal in a future version.copyTo(IContext context, IFolder folder, IFolder dest, CopyOption... copyOptions) Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFolderunderneath a destination folder;copyTo(IContext context, IFolder folder, ILibrary dest, CopyOption... copyOptions) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFolderunderneath a destination folder;Deprecated, for removal: This API element is subject to removal in a future version.createCategory(IContext context, ICategory category, String name) Deprecated, for removal: This API element is subject to removal in a future version.createCategory(IContext context, ILibrary library, String name) Deprecated, for removal: This API element is subject to removal in a future version.createCategory(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, IFolder folder, String description, IAttachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, IFolder folder, String name, String description, byte[] content) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, IFolder folder, String name, String description, InputStream content) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, ILibrary library, String description, IAttachment attachment) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, ILibrary library, String name, String description, byte[] content) Deprecated, for removal: This API element is subject to removal in a future version.createFile(IContext context, ILibrary library, String name, String description, InputStream content) Deprecated, for removal: This API element is subject to removal in a future version.createFolder(IContext context, IFolder parent, String name) Deprecated, for removal: This API element is subject to removal in a future version.createFolder(IContext context, ILibrary library, String name) Deprecated, for removal: This API element is subject to removal in a future version.createLibrary(IContext context, IOrganization organization, String name) Deprecated, for removal: This API element is subject to removal in a future version.Creates a library on a specified organization.createLibrary(IContext context, String name) Deprecated.use createLibrary( IContext context, IOrganization organization, String name ) method instead.createResourceDefinition(IContext context, String name) Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Allow to delete a file.voidDeprecated, for removal: This API element is subject to removal in a future version.Allow to delete a folder.booleanexistSubscriptionByLibraryElement(IContext context, ILibraryElement libraryElement) Deprecated, for removal: This API element is subject to removal in a future version.check if theILibraryElementis subscribed by the uservoidfireDownloadHistoryEvent(IContext context, IFile file, String protocol) Deprecated, for removal: This API element is subject to removal in a future version.getAttachment(IFile file, String fileName) Deprecated, for removal: This API element is subject to removal in a future version.getAttachments(IFile file) Deprecated, for removal: This API element is subject to removal in a future version.getCategories(IContext context, ICategory category, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.getCategories(IContext context, ILibrary library, boolean recursive) Deprecated, for removal: This API element is subject to removal in a future version.getCategory(IContext context, ICategory category, String name) Deprecated, for removal: This API element is subject to removal in a future version.getCategory(IContext context, ILibrary library, String name) Deprecated, for removal: This API element is subject to removal in a future version.getCategory(Object object) Deprecated, for removal: This API element is subject to removal in a future version.getElementByProtocolURI(String protocolURI) Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getFileByPath(IContext context, ILibrary library, String path) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the files associated with a specifiedICategoryobject.Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the files associated with a specifiedICategoryobject.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getFolderByPath(IContext context, ILibrary library, String path) Deprecated, for removal: This API element is subject to removal in a future version.getFolders(IContext context, IFolder parent) Deprecated, for removal: This API element is subject to removal in a future version.getFolders(IContext context, ILibrary library) Deprecated, for removal: This API element is subject to removal in a future version.getLibraries(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries.getLibraries(IContext context, IOrganization organization) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries within a specified organization.getLibraries(IContext context, String right) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries.getLibrary(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.getLibrary(IContext context, IFolder folder) Deprecated, for removal: This API element is subject to removal in a future version.getLibrary(IContext context, IOrganization organization, String name) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aILibrarywithin a specified organization.getLibrary(IContext context, String name) Deprecated.use getLibrary( IContext context, IOrganization organization, String name ) method instead.getLibrary(Object object) Deprecated, for removal: This API element is subject to removal in a future version.getLibraryByPath(IContext context, IOrganization organization, String path) Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a library by its path.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getParentCategory(IContext context, ICategory category) Deprecated, for removal: This API element is subject to removal in a future version.getParentFolder(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.getParentFolder(IContext context, IFolder folder) Deprecated, for removal: This API element is subject to removal in a future version.getParentFolders(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.getParentFolders(IContext context, IFolder folder) Deprecated, for removal: This API element is subject to removal in a future version.getProperties(IContext context, IResourceDefinition resourceDefinition) Deprecated, for removal: This API element is subject to removal in a future version.getProperty(IContext context, IResourceDefinition resourceDefinition, String name) Deprecated, for removal: This API element is subject to removal in a future version.getResourceDefinition(IContext context, ILibrary library, String name) Deprecated, for removal: This API element is subject to removal in a future version.getResourceDefinition(Object object) Deprecated, for removal: This API element is subject to removal in a future version.getResourceDefinitions(IContext context, ILibrary library) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getSearchController(IConnectionDefinition connectionDefinition) Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying a ConnectionDefinition object.getSearchController(IDataSourceReference reference) Deprecated, for removal: This API element is subject to removal in a future version.getSearchController(IJdbcReference reference) Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.getSecurityController(ISecuritySupport securitySupport) Deprecated, for removal: This API element is subject to removal in a future version.getSubscriptionFrequency(IContext context, ILibrary library) Deprecated, for removal: This API element is subject to removal in a future version.Gets subscription frequency.getSubscriptions(IContext context, ILibrary library, boolean showElementInTrash) Deprecated, for removal: This API element is subject to removal in a future version.get all subscriptions for a user and a libraryDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getUserByLogin(String login) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated.use getViewController( IContext context ) instead.getViewController(IContext context) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, InputStream inputStream) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(IContext context, Class natureClass) Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.getViewController(InputStream inputStream) Deprecated.use getViewController( IContext context, InputStream inputStream ) instead.getViewController(Class natureClass) Deprecated.use getViewController( IContext context, Class natureClass ) instead.booleanisCheckedOut(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Allows to move a specifiedIFileunderneath a destination folder.booleanDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.Allows to move a specifiedIFolderunderneath a destination folder.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidsetSubscriptionFrequency(IContext context, ILibrary library, IBaseLibraryModule.SubscriptionFrequency frequency) Deprecated, for removal: This API element is subject to removal in a future version.Sets subscription frequency.voidsetSubscriptionRecursive(IContext context, ILibrary library, ILibraryElement libraryElement) Deprecated, for removal: This API element is subject to removal in a future version.toggle subsription recursive flagvoidDeprecated, for removal: This API element is subject to removal in a future version.voidsubscribe(IContext context, ILibrary library, ILibraryElement libraryElement) Deprecated, for removal: This API element is subject to removal in a future version.Subscribe to aILibraryElement(IFile, IFolder, ICategory)voidundoCheckOut(IContext context, IFile file) Deprecated, for removal: This API element is subject to removal in a future version.voidunsubscribe(IContext context, ILibrary library, ILibraryElement libraryElement) Deprecated, for removal: This API element is subject to removal in a future version.Unsubscribe to aILibraryElement(IFile, IFolder, ICategory)Methods inherited from interface com.axemble.vdoc.sdk.modules.IModule
beginTransaction, beginTransaction, commitTransaction, commitTransaction, convertId, findNativeClass, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContextByLogin, getElementFromExternalElement, getExternalElement, getExternalElement, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getTranslation, getTranslationForLanguage, getTranslationKey, initialize, isTransactionActive, rollbackTransaction, rollbackTransaction, setTransactionTimeout, unInitialize
-
Method Details
-
createLibrary
Deprecated.use createLibrary( IContext context, IOrganization organization, String name ) method instead.Creates a library on the default organization- Parameters:
context- The execution context.name- The name of the library.- Returns:
- a
ILibraryobject. - Throws:
LibraryModuleException- default module exception.
-
createLibrary
ILibrary createLibrary(IContext context, IOrganization organization, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Creates a library on a specified organization.- Parameters:
context- The execution context.organization- TheIOrganizationobject.name- The name of the library.- Returns:
- a
ILibraryobject. - Throws:
LibraryModuleException- default module exception.
-
getLibrary
Deprecated.use getLibrary( IContext context, IOrganization organization, String name ) method instead.Retrieves the firstILibrary.- Parameters:
context- The execution context.name- The name of the library.- Returns:
- a
ILibraryobject. - Throws:
LibraryModuleException- default module exception.
-
getLibrary
ILibrary getLibrary(IContext context, IOrganization organization, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves aILibrarywithin a specified organization.- Parameters:
context- The execution context.organization- TheIOrganizationobject.name- The name of the library.- Returns:
- A
ILibraryobject. - Throws:
LibraryModuleException- default module exception.
-
getLibraries
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries.- Parameters:
context- The execution context.- Returns:
- A java.util.Collection of
ILibraryobjects. - Throws:
LibraryModuleException- default module exception.
-
getLibraries
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries.- Parameters:
context- The execution context.right- The right required.- Returns:
- A java.util.Collection of
ILibraryobjects. - Throws:
LibraryModuleException- default module exception.
-
getLibraries
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the libraries within a specified organization.- Parameters:
context- The execution context.organization- TheIOrganizationobject.- Returns:
- A java.util.Collection of
ILibraryobjects. - Throws:
LibraryModuleException- default module exception.
-
getLibraryByPath
ILibrary getLibraryByPath(IContext context, IOrganization organization, String path) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves a library by its path.- Parameters:
context- The execution context.organization- TheIOrganizationobject.path- The path to retrieve the organization from.- Returns:
- A
ILibraryobject. - Throws:
LibraryModuleException- default module exception.
-
createResourceDefinition
IResourceDefinition createResourceDefinition(IContext context, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getResourceDefinition
IResourceDefinition getResourceDefinition(IContext context, ILibrary library, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getResourceDefinitions
Collection<IResourceDefinition> getResourceDefinitions(IContext context, ILibrary library) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getProperties
Collection getProperties(IContext context, IResourceDefinition resourceDefinition) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getProperty
IProperty getProperty(IContext context, IResourceDefinition resourceDefinition, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getLists
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getList
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getParentCategory
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createCategory
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createCategory
ICategory createCategory(IContext context, ILibrary library, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createCategory
ICategory createCategory(IContext context, ICategory category, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getCategory
ICategory getCategory(IContext context, ILibrary library, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getCategory
ICategory getCategory(IContext context, ICategory category, String name) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getCategories
Collection<ICategory> getCategories(IContext context, ILibrary library, boolean recursive) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getCategories
Collection getCategories(IContext context, ICategory category, boolean recursive) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
delete
Deprecated, for removal: This API element is subject to removal in a future version.Allow to delete a folder. If used on a folder in the trash this will delete it from trash.- Parameters:
context- The execution context.folder- The folder to delete- Throws:
LibrarySecurityException- thrown when context has no writing rightsLibraryModuleException- thrown on any internal error
-
getFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolders
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolders
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolderByPath
IFolder getFolderByPath(IContext context, ILibrary library, String path) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getLibrary
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getParentFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getParentFolders
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, ILibrary library, String name, String description, byte[] content) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, ILibrary library, String name, String description, InputStream content) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, ILibrary library, String description, IAttachment attachment) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, IFolder folder, String name, String description, byte[] content) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, IFolder folder, String name, String description, InputStream content) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
createFile
IFile createFile(IContext context, IFolder folder, String description, IAttachment attachment) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
delete
Deprecated, for removal: This API element is subject to removal in a future version.Allow to delete a file. If used on a file in the trash this will delete it from trash.- Parameters:
context- The execution context.file- The file to delete- Throws:
LibraryLockException- thrown when file is checked out by another user.LibrarySecurityException- thrown when context has no writing rightsLibraryModuleException- thrown on any internal error
-
getFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFileByPath
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFiles
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFiles
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFiles
Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the files associated with a specifiedICategoryobject.- Parameters:
context- The execution context.category- TheICategoryobject.- Returns:
- a collection of
IFileobjects. - Throws:
LibraryModuleException
-
getFiles
Collection getFiles(IContext context, ICategory category, boolean includeDeleted) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Retrieves all the files associated with a specifiedICategoryobject. It allows to specify if the deleted files should be included- Parameters:
context- The execution context.category- TheICategoryobject.includeDeleted- The flag to include or not deletedIFileobjects.- Returns:
- a collection of
IFileobjects. - Throws:
LibraryModuleException
-
copyTo
IFolder copyTo(IContext context, IFolder folder, ILibrary dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.folder- TheIFolderto copy.dest- The destinationILibraryobject.- Returns:
- the newly created folder
- Throws:
LibraryModuleException
-
copyTo
IFolder copyTo(IContext context, IFolder folder, String newName, ILibrary dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.folder- TheIFolderto copy.newName- The newIFoldername.dest- The destinationILibraryobject.- Returns:
- the newly created folder
- Throws:
LibraryModuleException
-
copyTo
IFolder copyTo(IContext context, IFolder folder, IFolder dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFolderunderneath a destination folder;- Parameters:
context- The execution context.folder- TheIFolderto copy.dest- The destinationIFolderobject.- Returns:
- the newly created folder
- Throws:
LibraryModuleException
-
copyTo
IFolder copyTo(IContext context, IFolder folder, String newName, IFolder dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFolderunderneath a destination folder;- Parameters:
context- The execution context.folder- TheIFolderto copy.newName- The newIFoldername.dest- The destinationIFolderobject.- Returns:
- the newly created folder
- Throws:
LibraryModuleException
-
copyTo
IFile copyTo(IContext context, IFile file, ILibrary dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.file- TheIFileto copy.dest- The destinationILibraryobject.- Returns:
- the newly created file
- Throws:
LibraryModuleException
-
copyTo
IFile copyTo(IContext context, IFile file, String newName, ILibrary dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.file- TheIFileto copy.newName- The newIFilename.dest- The destinationILibraryobject.- Returns:
- the newly created file
- Throws:
LibraryModuleException
-
copyTo
IFile copyTo(IContext context, IFile file, IFolder dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFileunderneath a destination folder;- Parameters:
context- The execution context.file- file TheIFileto copy.dest- The destinationIFolderobject.- Returns:
- the newly created file
- Throws:
LibraryModuleException
-
copyTo
IFile copyTo(IContext context, IFile file, String newName, IFolder dest, CopyOption... copyOptions) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to copy a specifiedIFileunderneath a destination folder;- Parameters:
context- The execution context.file- file TheIFileto copy.dest- The destinationIFolderobject.- Returns:
- the newly created file
- Throws:
LibraryModuleException
-
moveTo
boolean moveTo(IContext context, IFolder folder, ILibrary destLibrary) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.folder- TheIFolderto move.destLibrary- The destinationILibraryobject.- Returns:
- true if the folder has been moved, false otherwise.
- Throws:
LibraryModuleException- The default exception.
-
moveTo
Deprecated, for removal: This API element is subject to removal in a future version.Allows to move a specifiedIFolderunderneath a destination folder.- Parameters:
context- The execution context.folder- TheIFolderto move.destFolder- The destinationIFolderobject.- Returns:
- true if the folder has been moved, false otherwise.
- Throws:
LibraryModuleException- The default exception.
-
moveTo
boolean moveTo(IContext context, IFile file, ILibrary destLibrary, boolean bOverwrite) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
context- The execution context.file- TheIFileto move.destLibrary- The destinationILibraryobject.- Returns:
- true if the file has been moved, false otherwise.
- Throws:
LibraryModuleException- The default exception.
-
moveTo
boolean moveTo(IContext context, IFile file, IFolder destFolder, boolean bOverwrite) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Allows to move a specifiedIFileunderneath a destination folder.- Parameters:
context- The execution context.file- TheIFileto move.destFolder- The destinationIFolderobject.- Returns:
- true if the file has been moved, false otherwise.
- Throws:
LibraryModuleException- The default exception.
-
getLibrary
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getParentFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getParentFolders
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getAttachments
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getAttachment
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addAttachment
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addAttachment
IAttachment addAttachment(IFile file, String fileName, InputStream inputStream) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addAttachment
IAttachment addAttachment(IFile file, String fileName, String fullPath) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addAttachment
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
fireDownloadHistoryEvent
void fireDownloadHistoryEvent(IContext context, IFile file, String protocol) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
setValue
void setValue(IContext context, IFile file, String propertyName, Object value) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getValue
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addCategory
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
addCategories
void addCategories(IContext context, IFile file, Collection categories) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
checkOut
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
undoCheckOut
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
checkIn
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
checkedOutBy
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
isCheckedOut
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getUserByLogin
Deprecated, for removal: This API element is subject to removal in a future version. -
getUser
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getLibrary
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFolder
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getFile
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getCategory
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getResourceDefinition
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getElementByProtocolURI
Deprecated, for removal: This API element is subject to removal in a future version.Gets anIElementobject which implementsIProtocolSupportinterface.- Parameters:
protocolURI- The protocol URI as a java.lang.String.- Returns:
- A
IProtocolSupportobject. - Throws:
ModuleException- default module exception.
-
getSearchController
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getSearchController
@Deprecated ISearchController getSearchController(IJdbcReference reference) throws LibraryModuleException Deprecated.use getSearchController( IConnectionDefinition connectionDefinition ) method instead.Gets a search controller object by specifying a JDBC external reference.- Parameters:
reference- TheIJdbcReferenceobject.- Returns:
- The
ISearchControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getSearchController
ISearchController getSearchController(IConnectionDefinition connectionDefinition) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a search controller object by specifying a ConnectionDefinition object.- Parameters:
connectionDefinition- TheIConnectionDefinitionobject.- Returns:
- The
ISearchControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getSearchController
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getSecurityController
ISecurityController getSecurityController(ISecuritySupport securitySupport) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getTransformer
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
LibraryModuleException
-
getViewController
Deprecated.use getViewController( IContext context ) instead.Gets a view controller to searchIResourceobjects through their properties.- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getViewController
Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getViewController
Deprecated.use getViewController( IContext context, Class natureClass ) instead.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
natureClass- : The class of the searched objectsIWorkflowInstance,ITaskInstance,IResource}- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getViewController
IViewController getViewController(IContext context, Class natureClass) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.natureClass- : The class of the searched objectsIWorkflowInstance,ITaskInstance,IResource}- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getViewController
@Deprecated IViewController getViewController(InputStream inputStream) throws LibraryModuleException Deprecated.use getViewController( IContext context, InputStream inputStream ) instead.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
inputStream- The java.io.InputStream XML entry.- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getViewController
IViewController getViewController(IContext context, InputStream inputStream) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets a view controller to searchIResourceobjects through their properties.- Parameters:
context- The execution context.inputStream- The java.io.InputStream XML entry.- Returns:
- A
IViewControllerobject. - Throws:
LibraryModuleException- default module exception.
-
getSubscriptions
Collection<ILibrarySubscription> getSubscriptions(IContext context, ILibrary library, boolean showElementInTrash) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.get all subscriptions for a user and a library- Parameters:
context- user contextlibrary- library scopeshowElementInTrash- include subscribed elements that are in trash- Returns:
- Collectioninvalid input: '<'{ @ link ILibrarySubscription }> subscriptions
- Throws:
LibraryModuleException- default module exception
-
subscribe
void subscribe(IContext context, ILibrary library, ILibraryElement libraryElement) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Subscribe to aILibraryElement(IFile, IFolder, ICategory)- Parameters:
context- user contextlibrary- library scopelibraryElement- library element to subscribe- Throws:
LibraryModuleException- default module exception
-
unsubscribe
void unsubscribe(IContext context, ILibrary library, ILibraryElement libraryElement) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Unsubscribe to aILibraryElement(IFile, IFolder, ICategory)- Parameters:
context- user contextlibrary- library scopelibraryElement- library element to unsubscribe- Throws:
LibraryModuleException- default module exception
-
setSubscriptionRecursive
void setSubscriptionRecursive(IContext context, ILibrary library, ILibraryElement libraryElement) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.toggle subsription recursive flag- Parameters:
context- user contextlibrary- library scopelibraryElement- folder or category to set recursive flag to- Throws:
LibraryModuleException- default module exception
-
existSubscriptionByLibraryElement
boolean existSubscriptionByLibraryElement(IContext context, ILibraryElement libraryElement) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.check if theILibraryElementis subscribed by the user- Parameters:
context- user contextlibraryElement- library element to check- Returns:
- true if the user has subscribed to the
ILibraryElement - Throws:
LibraryModuleException- default module exception
-
getSubscriptionFrequency
IBaseLibraryModule.SubscriptionFrequency getSubscriptionFrequency(IContext context, ILibrary library) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Gets subscription frequency.- Parameters:
context- the contextlibrary- the library- Returns:
- the subscription frequency
- Throws:
LibraryModuleException- the library module exception
-
setSubscriptionFrequency
void setSubscriptionFrequency(IContext context, ILibrary library, IBaseLibraryModule.SubscriptionFrequency frequency) throws LibraryModuleException Deprecated, for removal: This API element is subject to removal in a future version.Sets subscription frequency.- Parameters:
context- the contextlibrary- the libraryfrequency- the frequency- Throws:
LibraryModuleException- the library module exception
-