Package com.axemble.vdoc.sdk.impl
Class PortalLibrary
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.PortalLibrary
- All Implemented Interfaces:
- IElement,- ILibrary,- IDeletionSupport,- IExternalSupport,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- Serializable
Portal library (classic ILibrary implementation for Process)
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalElementpath, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPortalLibrary(IModule module, com.axemble.webdrive.jdo.beans.JDODataStore store) protectedPortalLibrary(IModule module, com.axemble.webdrive.om.DataStore store) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidAllows to log history events.voidDeletes theIElementobject.voidAllows to stop logging history events.Gets the email addresses to notify when the alert size is reached.intGets the alert size in bytes.Gets all the categories.getAllFolders(IContext iContext) Gets off the folders.Gets the list of authorized extensions.Gets all the root categories.longGets the current size.Gets the file definitions.getFolders(IContext iContext) Gets all the folders at the root level.Gets the list of forbidden extensions.longGets the largest file size.longGets the maximum size of a file.longGets the maximum size available for a library.Gets the email addresses to notify if the maximum size is reached.getName()Gets the name of the library.Gets the native object underneath.longThe number of elements.longgetNumberOfElements(Class natureClass) The number of elements of a specific class.Gets the organization.Retrieves the physical path of the library.longGets the smallest file size.booleanHistory activation statusbooleanCheck if the datastore must be indexedvoidsetAlertEventListeners(String emails) Sets the email addresses to notify when the alert size is reached.voidsetAlertSize(int alertSize) Sets the alert size.voidsetAuthorizedExtensions(String authorizedExtensions) Sets the list of authorized extensions.voidsetForbiddenExtensions(String forbiddenExtensions) Sets the list of forbidden extensions.voidsetHistoryEvents(boolean enabled) voidsetIndexationEnable(boolean indexationEnable) Sets the indexation state of the datastorevoidsetMaxFileSize(long maxFileSize) Sets the maximum size for a file.voidsetMaxSize(long maxSize) Sets the maximum size available.voidsetMaxSizeEventListeners(String emails) Sets the email addresses to notify when the maximum size is reached.voidSets the name of the library.voidsetOrganization(IOrganization organization) Sets the organization.voidsetPhysicalPath(String path) Sets the physical path of the libraryMethods inherited from class com.axemble.vdoc.sdk.impl.PortalElementequals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setIdMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Field Details- 
storeprotected com.axemble.webdrive.om.DataStore store
 
- 
- 
Constructor Details- 
PortalLibrary
- 
PortalLibrary
 
- 
- 
Method Details- 
getNativeObjectDescription copied from interface:IElementGets the native object underneath.- Specified by:
- getNativeObjectin interface- IElement
- Returns:
- an object.
 
- 
getExternalClassName- Specified by:
- getExternalClassNamein interface- IExternalSupport
 
- 
getExternalNativeId- Specified by:
- getExternalNativeIdin interface- IExternalSupport
 
- 
getNameDescription copied from interface:ILibraryGets the name of the library.
- 
setNameDescription copied from interface:ILibrarySets the name of the library.
- 
getAllFoldersDescription copied from interface:ILibraryGets off the folders.- Specified by:
- getAllFoldersin interface- ILibrary
- Parameters:
- iContext- The user context.
- Returns:
- A java.util.Collection of IFolderobjects.
 
- 
getFoldersDescription copied from interface:ILibraryGets all the folders at the root level.- Specified by:
- getFoldersin interface- ILibrary
- Parameters:
- iContext- The user context.
- Returns:
- A java.util.Collection of IFolderobjects.
 
- 
getAllCategoriesDescription copied from interface:ILibraryGets all the categories.- Specified by:
- getAllCategoriesin interface- ILibrary
- Returns:
- A java.util.Collection of ICategoryobjects.
 
- 
getCategoriesDescription copied from interface:ILibraryGets all the root categories.- Specified by:
- getCategoriesin interface- ILibrary
- Returns:
- A java.util.Collection of ICategoryobjects.
 
- 
getFileDefinitionsDescription copied from interface:ILibraryGets the file definitions.- Specified by:
- getFileDefinitionsin interface- ILibrary
- Returns:
- A java.util.Collection of IResourceDefinitionobjects.
 
- 
getPhysicalPathDescription copied from interface:ILibraryRetrieves the physical path of the library.- Specified by:
- getPhysicalPathin interface- ILibrary
- Returns:
- The physical path.
 
- 
deleteDescription copied from interface:IDeletionSupportDeletes theIElementobject.- Specified by:
- deletein interface- IDeletionSupport
- Parameters:
- context- The Execution context.
 
- 
getOrganizationDescription copied from interface:ILibraryGets the organization.- Specified by:
- getOrganizationin interface- ILibrary
- Returns:
- A IOrganizationobject.
 
- 
setOrganizationDescription copied from interface:ILibrarySets the organization.- Specified by:
- setOrganizationin interface- ILibrary
- Parameters:
- organization- The- IOrganizationobject.
 
- 
getForbiddenExtensionsDescription copied from interface:ILibraryGets the list of forbidden extensions.- Specified by:
- getForbiddenExtensionsin interface- ILibrary
- Returns:
- The list of forbidden extensions.
 
- 
setForbiddenExtensionsDescription copied from interface:ILibrarySets the list of forbidden extensions.- Specified by:
- setForbiddenExtensionsin interface- ILibrary
- Parameters:
- forbiddenExtensions- The forbidden extensions.
 
- 
getAlertEventListenersDescription copied from interface:ILibraryGets the email addresses to notify when the alert size is reached.- Specified by:
- getAlertEventListenersin interface- ILibrary
- Returns:
- The email addresses.
 
- 
getAlertSizepublic int getAlertSize()Description copied from interface:ILibraryGets the alert size in bytes.- Specified by:
- getAlertSizein interface- ILibrary
- Returns:
- The size in bytes.
 
- 
getMaxFileSizepublic long getMaxFileSize()Description copied from interface:ILibraryGets the maximum size of a file.- Specified by:
- getMaxFileSizein interface- ILibrary
- Returns:
- The maximum size of a file in bytes.
 
- 
getMaxSizepublic long getMaxSize()Description copied from interface:ILibraryGets the maximum size available for a library.- Specified by:
- getMaxSizein interface- ILibrary
- Returns:
- The maximum size in bytes.
 
- 
getMaxSizeEventListenersDescription copied from interface:ILibraryGets the email addresses to notify if the maximum size is reached.- Specified by:
- getMaxSizeEventListenersin interface- ILibrary
- Returns:
- The email addresses.
 
- 
setAlertEventListenersDescription copied from interface:ILibrarySets the email addresses to notify when the alert size is reached.- Specified by:
- setAlertEventListenersin interface- ILibrary
- Parameters:
- emails- The email addresses.
 
- 
setAlertSizepublic void setAlertSize(int alertSize) Description copied from interface:ILibrarySets the alert size.- Specified by:
- setAlertSizein interface- ILibrary
- Parameters:
- alertSize- The size in bytes.
 
- 
setMaxFileSizepublic void setMaxFileSize(long maxFileSize) Description copied from interface:ILibrarySets the maximum size for a file.- Specified by:
- setMaxFileSizein interface- ILibrary
- Parameters:
- maxFileSize- The file size in bytes.
 
- 
setMaxSizepublic void setMaxSize(long maxSize) Description copied from interface:ILibrarySets the maximum size available.- Specified by:
- setMaxSizein interface- ILibrary
- Parameters:
- maxSize- The maximum size.
 
- 
setMaxSizeEventListenersDescription copied from interface:ILibrarySets the email addresses to notify when the maximum size is reached.- Specified by:
- setMaxSizeEventListenersin interface- ILibrary
- Parameters:
- emails- The email addresses.
 
- 
setPhysicalPathDescription copied from interface:ILibrarySets the physical path of the library- Specified by:
- setPhysicalPathin interface- ILibrary
- Parameters:
- path- The physical path.
 
- 
getCurrentSizepublic long getCurrentSize()Description copied from interface:ILibraryGets the current size.- Specified by:
- getCurrentSizein interface- ILibrary
- Returns:
- The size in bytes.
 
- 
getLargestFileSizepublic long getLargestFileSize()Description copied from interface:ILibraryGets the largest file size.- Specified by:
- getLargestFileSizein interface- ILibrary
- Returns:
- The size in bytes.
 
- 
getNumberOfElementspublic long getNumberOfElements()Description copied from interface:ILibraryThe number of elements.- Specified by:
- getNumberOfElementsin interface- ILibrary
- Returns:
- The number of elements.
 
- 
getNumberOfElementsDescription copied from interface:ILibraryThe number of elements of a specific class.- Specified by:
- getNumberOfElementsin interface- ILibrary
- Parameters:
- natureClass- The nature.
- Returns:
- The number of elements.
 
- 
getSmallestFileSizepublic long getSmallestFileSize()Description copied from interface:ILibraryGets the smallest file size.- Specified by:
- getSmallestFileSizein interface- ILibrary
- Returns:
- The size in bytes.
 
- 
allowHistoryEventspublic void allowHistoryEvents()Description copied from interface:ILibraryAllows to log history events.- Specified by:
- allowHistoryEventsin interface- ILibrary
 
- 
denyHistoryEventspublic void denyHistoryEvents()Description copied from interface:ILibraryAllows to stop logging history events.- Specified by:
- denyHistoryEventsin interface- ILibrary
 
- 
setHistoryEventspublic void setHistoryEvents(boolean enabled) 
- 
isHistoryEnabledpublic boolean isHistoryEnabled()Description copied from interface:ILibraryHistory activation status- Specified by:
- isHistoryEnabledin interface- ILibrary
- Returns:
- The status of history.
 
- 
isIndexationEnablepublic boolean isIndexationEnable()Description copied from interface:ILibraryCheck if the datastore must be indexed- Specified by:
- isIndexationEnablein interface- ILibrary
- Returns:
- true if the datastore must be indexed, false if not
 
- 
setIndexationEnablepublic void setIndexationEnable(boolean indexationEnable) Description copied from interface:ILibrarySets the indexation state of the datastore- Specified by:
- setIndexationEnablein interface- ILibrary
- Parameters:
- indexationEnable- true if the datastore must be indexed, false if not
 
- 
getAuthorizedExtensionsDescription copied from interface:ILibraryGets the list of authorized extensions.- Specified by:
- getAuthorizedExtensionsin interface- ILibrary
- Returns:
- The list of authorized extensions.
 
- 
setAuthorizedExtensionsDescription copied from interface:ILibrarySets the list of authorized extensions.- Specified by:
- setAuthorizedExtensionsin interface- ILibrary
- Parameters:
- authorizedExtensions- The authorized extensions.
 
 
-