public interface ILibrary extends IElement, IDeletionSupport, IExternalSupport, ISecuritySupport, ISearchSupport, IProtocolSupport
| Modifier and Type | Method and Description | 
|---|---|
void | 
allowHistoryEvents()
Allows to log history events. 
 | 
void | 
denyHistoryEvents()
Allows to stop logging history events. 
 | 
String | 
getAlertEventListeners()
Gets the email addresses to notify when the alert size is reached. 
 | 
int | 
getAlertSize()
Gets the alert size in bytes. 
 | 
Collection | 
getAllCategories()
Gets all the categories. 
 | 
Collection | 
getAllFolders(IContext iContext)
Gets off the folders. 
 | 
Collection | 
getCategories()
Gets all the root categories. 
 | 
long | 
getCurrentSize()
Gets the current size. 
 | 
Collection | 
getFileDefinitions()
Gets the file definitions. 
 | 
Collection | 
getFolders(IContext iContext)
Gets all the folders at the root level. 
 | 
String | 
getForbiddenExtensions()
Gets the list of forbidden extensions. 
 | 
long | 
getLargestFileSize()
Gets the largest file size. 
 | 
long | 
getMaxFileSize()
Gets the maximum size of a file. 
 | 
long | 
getMaxSize()
Gets the maximum size available for a library. 
 | 
String | 
getMaxSizeEventListeners()
Gets the email addresses to notify if the maximum size is reached. 
 | 
String | 
getName()
Gets the name of the library. 
 | 
long | 
getNumberOfElements()
The number of elements. 
 | 
long | 
getNumberOfElements(Class natureClass)
The number of elements of a specific class. 
 | 
IOrganization | 
getOrganization()
Gets the organization. 
 | 
String | 
getPhysicalPath()
Retrieves the physical path of the library. 
 | 
long | 
getSmallestFileSize()
Gets the smallest file size. 
 | 
boolean | 
isHistoryEnabled()
History activation status 
 | 
void | 
setAlertEventListeners(String emails)
Sets the email addresses to notify when the alert size is reached. 
 | 
void | 
setAlertSize(int alertSize)
Sets the alert size. 
 | 
void | 
setForbiddenExtensions(String forbiddenExtensions)
Sets the list of forbidden extensions. 
 | 
void | 
setMaxFileSize(long maximumFileSize)
Sets the maximum size for a file. 
 | 
void | 
setMaxSize(long maxSize)
Sets the maximum size available. 
 | 
void | 
setMaxSizeEventListeners(String emails)
Sets the email addresses to notify when the maximum size is reached. 
 | 
void | 
setName(String name)
Sets the name of the library. 
 | 
void | 
setOrganization(IOrganization organization)
Sets the organization. 
 | 
void | 
setPhysicalPath(String path)
Sets the physical path of the library 
 | 
getId, getModule, getNativeObject, getPath, savedeletegetExternalClassName, getExternalNativeIdgetProtocolURI, getProtocolURIString getName()
void setName(String name)
name - The new name to set to the library.String getPhysicalPath()
void setPhysicalPath(String path)
path - The physical path.long getMaxFileSize()
void setMaxFileSize(long maximumFileSize)
maximumFileSize - The file size in bytes.long getMaxSize()
void setMaxSize(long maxSize)
maxSize - The maximum size.String getMaxSizeEventListeners()
void setMaxSizeEventListeners(String emails)
emails - The email addresses.int getAlertSize()
void setAlertSize(int alertSize)
alertSize - The size in bytes.String getAlertEventListeners()
void setAlertEventListeners(String emails)
emails - The email addresses.String getForbiddenExtensions()
void setForbiddenExtensions(String forbiddenExtensions)
forbiddenExtensions - The forbidden extensions.Collection getAllFolders(IContext iContext)
iContext - The user context.IFolder objects.Collection getFolders(IContext iContext)
iContext - The user context.IFolder objects.Collection getAllCategories()
ICategory objects.Collection getCategories()
ICategory objects.Collection getFileDefinitions()
IResourceDefinition objects.IOrganization getOrganization()
IOrganization object.void setOrganization(IOrganization organization)
organization - The IOrganization object.long getCurrentSize()
long getLargestFileSize()
long getSmallestFileSize()
long getNumberOfElements()
long getNumberOfElements(Class natureClass)
natureClass - The nature.void allowHistoryEvents()
void denyHistoryEvents()
boolean isHistoryEnabled()
Copyright © 2019 Visiativ Software. All rights reserved.