Class CustomPortalLibraryModule
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractTranslaterModule
com.axemble.vdoc.sdk.impl.PortalModule
com.axemble.vdoc.sdk.impl.PortalLibraryModule
com.vdoc.sdk.commons.io.filecenter.module.CustomPortalLibraryModule
- All Implemented Interfaces:
IBaseLibraryModule,ILibraryModule,IModule,Remote
Custom portal library module
Created by vmartinon on 11/06/2015.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.axemble.vdoc.sdk.modules.IBaseLibraryModule
IBaseLibraryModule.SubscriptionFrequency -
Field Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalLibraryModule
NAME_ASCENDING, nativeClasses, ONE_GIGA_OCTETS, ONE_KILO_OCTETS, ONE_MEGA_OCTETS, persistenceManager, THE_CONTEXT_IS_NULL, THE_FILE_IS_NULL, THE_FOLDER_IS_NULL, THE_LIBRARY_IS_NULL, THE_TARGET_FOLDER_IS_NULL, WRITEFields inherited from class com.axemble.vdoc.sdk.impl.PortalModule
currentContext, report -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFile(IContext context, IFolder folder, String name, String description, byte[] data) voidinitialize(Properties properties) Initializes the module.voidMethods inherited from class com.axemble.vdoc.sdk.impl.PortalLibraryModule
addAttachment, addAttachment, addAttachment, addAttachment, addCategories, addCategory, beginTransaction, beginTransaction, checkedOutBy, checkIn, checkOut, commitTransaction, commitTransaction, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, createCategory, createCategory, createCategory, createFile, createFile, createFile, createFile, createFile, createFolder, createFolder, createLibrary, createLibrary, createResourceDefinition, createResourceDefinition, delete, delete, existSubscriptionByLibraryElement, findNativeClass, fireDownloadHistoryEvent, getAttachment, getAttachment, getAttachments, getCategories, getCategories, getCategory, getCategory, getCategory, getDeletedNodes, getElementByProtocolURI, getFile, getFile, getFile, getFile, getFileByPath, getFiles, getFiles, getFiles, getFiles, getFolder, getFolder, getFolder, getFolder, getFolderByPath, getFolders, getFolders, getLibraries, getLibraries, getLibraries, getLibrary, getLibrary, getLibrary, getLibrary, getLibrary, getLibraryByPath, getList, getLists, getNativeClass, getParentCategory, getParentFolder, getParentFolder, getParentFolders, getParentFolders, getPersistenceManager, getProperties, getProperty, getResourceDefinition, getResourceDefinition, getResourceDefinitions, getRootFolder, getSearchController, getSearchController, getSearchController, getSearchController, getSecurityController, getSubscriptionFrequency, getSubscriptions, getTransformer, getUser, getValue, getViewController, getViewController, getViewController, getViewController, getViewController, getViewController, isCheckedOut, isTransactionActive, moveTo, moveTo, moveTo, moveTo, restore, rollbackTransaction, rollbackTransaction, setSubscriptionFrequency, setSubscriptionRecursive, setTransactionTimeout, subscribe, undoCheckOut, unInitialize, unsubscribeMethods inherited from class com.axemble.vdoc.sdk.impl.PortalModule
convertId, generateSystemName, getAnonymous, getAnonymousContext, getContext, getContext, getContext, getContextByLogin, getCurrentContext, getElementFromExternalElement, getExternalElement, getExternalElement, getLanguage, getLoggedOnUser, getLoggedOnUserContext, getLoggedOnUserLanguage, getProtocolPath, getProtocolPath, getProtocolURI, getProtocolURI, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getStaticString, getSysadmin, getSysadminContext, getUser, getUser, getUserByLogin, refreshUserMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractTranslaterModule
getTranslation, getTranslationForLanguage, getTranslationKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.modules.ILibraryModule
getUserByLoginMethods inherited from interface com.axemble.vdoc.sdk.modules.IModule
convertId, 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
-
Field Details
-
THREAD_EXECUTOR_POOL_SIZE
public static final int THREAD_EXECUTOR_POOL_SIZE- See Also:
-
threadExecutor
-
-
Constructor Details
-
CustomPortalLibraryModule
public CustomPortalLibraryModule()
-
-
Method Details
-
initialize
Description copied from interface:IModuleInitializes the module.- Specified by:
initializein interfaceIModule- Overrides:
initializein classPortalLibraryModule- Parameters:
properties- The custom properties.
-
createFile
public IFile createFile(IContext context, IFolder folder, String name, String description, byte[] data) throws LibraryModuleException - Specified by:
createFilein interfaceIBaseLibraryModule- Specified by:
createFilein interfaceILibraryModule- Overrides:
createFilein classPortalLibraryModule- Throws:
LibraryModuleException
-
setValue
public void setValue(IContext context, IFile file, String propertyName, Object value) throws LibraryModuleException - Specified by:
setValuein interfaceIBaseLibraryModule- Specified by:
setValuein interfaceILibraryModule- Overrides:
setValuein classPortalLibraryModule- Throws:
LibraryModuleException
-