Package com.axemble.vdoc.sdk.interfaces
Interface ILibrary
- All Superinterfaces:
- IDeletionSupport,- IElement,- IExternalSupport,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- Serializable
- All Known Implementing Classes:
- PortalLibrary
public interface ILibrary
extends IElement, IDeletionSupport, IExternalSupport, ISecuritySupport, ISearchSupport, IProtocolSupport
The library object within the library system.
- Since:
- 1.0, 10/05/2008
- Author:
- vlygeros
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidAllows to log history events.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.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.voidsetIndexationEnable(boolean indexationEnable) Sets the indexation state of the datastorevoidsetMaxFileSize(long maximumFileSize) 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 interface com.axemble.vdoc.sdk.supports.IDeletionSupportdeleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupportgetExternalClassName, getExternalNativeIdMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Method Details- 
getNameString getName()Gets the name of the library.- Returns:
- The name of the library.
 
- 
setNameSets the name of the library.- Parameters:
- name- The new name to set to the library.
 
- 
getPhysicalPathString getPhysicalPath()Retrieves the physical path of the library.- Returns:
- The physical path.
 
- 
setPhysicalPathSets the physical path of the library- Parameters:
- path- The physical path.
 
- 
getMaxFileSizelong getMaxFileSize()Gets the maximum size of a file.- Returns:
- The maximum size of a file in bytes.
 
- 
setMaxFileSizevoid setMaxFileSize(long maximumFileSize) Sets the maximum size for a file.- Parameters:
- maximumFileSize- The file size in bytes.
 
- 
getMaxSizelong getMaxSize()Gets the maximum size available for a library.- Returns:
- The maximum size in bytes.
 
- 
setMaxSizevoid setMaxSize(long maxSize) Sets the maximum size available.- Parameters:
- maxSize- The maximum size.
 
- 
getMaxSizeEventListenersString getMaxSizeEventListeners()Gets the email addresses to notify if the maximum size is reached.- Returns:
- The email addresses.
 
- 
setMaxSizeEventListenersSets the email addresses to notify when the maximum size is reached.- Parameters:
- emails- The email addresses.
 
- 
getAlertSizeint getAlertSize()Gets the alert size in bytes.- Returns:
- The size in bytes.
 
- 
setAlertSizevoid setAlertSize(int alertSize) Sets the alert size.- Parameters:
- alertSize- The size in bytes.
 
- 
getAlertEventListenersString getAlertEventListeners()Gets the email addresses to notify when the alert size is reached.- Returns:
- The email addresses.
 
- 
setAlertEventListenersSets the email addresses to notify when the alert size is reached.- Parameters:
- emails- The email addresses.
 
- 
getForbiddenExtensionsString getForbiddenExtensions()Gets the list of forbidden extensions.- Returns:
- The list of forbidden extensions.
 
- 
setForbiddenExtensionsSets the list of forbidden extensions.- Parameters:
- forbiddenExtensions- The forbidden extensions.
 
- 
getAllFoldersGets off the folders.- Parameters:
- iContext- The user context.
- Returns:
- A java.util.Collection of IFolderobjects.
 
- 
getFoldersGets all the folders at the root level.- Parameters:
- iContext- The user context.
- Returns:
- A java.util.Collection of IFolderobjects.
 
- 
getAllCategoriesCollection<ICategory> getAllCategories()Gets all the categories.- Returns:
- A java.util.Collection of ICategoryobjects.
 
- 
getCategoriesCollection<ICategory> getCategories()Gets all the root categories.- Returns:
- A java.util.Collection of ICategoryobjects.
 
- 
getFileDefinitionsCollection<IResourceDefinition> getFileDefinitions()Gets the file definitions.- Returns:
- A java.util.Collection of IResourceDefinitionobjects.
 
- 
getOrganizationIOrganization getOrganization()Gets the organization.- Returns:
- A IOrganizationobject.
 
- 
setOrganizationSets the organization.- Parameters:
- organization- The- IOrganizationobject.
 
- 
getCurrentSizelong getCurrentSize()Gets the current size.- Returns:
- The size in bytes.
 
- 
getLargestFileSizelong getLargestFileSize()Gets the largest file size.- Returns:
- The size in bytes.
 
- 
getSmallestFileSizelong getSmallestFileSize()Gets the smallest file size.- Returns:
- The size in bytes.
 
- 
getNumberOfElementslong getNumberOfElements()The number of elements.- Returns:
- The number of elements.
 
- 
getNumberOfElementsThe number of elements of a specific class.- Parameters:
- natureClass- The nature.
- Returns:
- The number of elements.
 
- 
allowHistoryEventsvoid allowHistoryEvents()Allows to log history events.
- 
denyHistoryEventsvoid denyHistoryEvents()Allows to stop logging history events.
- 
isHistoryEnabledboolean isHistoryEnabled()History activation status- Returns:
- The status of history.
 
- 
isIndexationEnableboolean isIndexationEnable()Check if the datastore must be indexed- Returns:
- true if the datastore must be indexed, false if not
 
- 
setIndexationEnablevoid setIndexationEnable(boolean indexationEnable) Sets the indexation state of the datastore- Parameters:
- indexationEnable- true if the datastore must be indexed, false if not
 
- 
getAuthorizedExtensionsString getAuthorizedExtensions()Gets the list of authorized extensions.- Returns:
- The list of authorized extensions.
 
- 
setAuthorizedExtensionsSets the list of authorized extensions.- Parameters:
- authorizedExtensions- The authorized extensions.
 
 
-