Package com.axemble.vdoc.sdk.interfaces
Interface IFolder
- All Superinterfaces:
- IDeletionSupport,- IElement,- IExternalSupport,- ILibraryElement,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- ITrashSupport,- IUriSupport,- Serializable
- All Known Implementing Classes:
- PortalFolder
public interface IFolder
extends IElement, IDeletionSupport, IExternalSupport, ISecuritySupport, ISearchSupport, IUriSupport, IProtocolSupport, ITrashSupport, ILibraryElement
The folder within the library system.
- Since:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds aIFileobject.Gets the creator of the folder.Gets the created date.Gets the description of the folder.Gets a childIFolderobject by its name.getFolders(IContext context) Gets the child foldersGets the library.Gets the last user who modified the folder.Gets the modified date.getName()Gets the name of the folder.Gets the parent folder.voidsetCreatedBy(IUser user) Sets the creator of the folder.voidsetDescription(String description) Sets the description of the folder.voidsetModifiedBy(IUser user) Sets last user who modified the folder.voidsetModifiedDate(Date date) Sets the modified date.voidSets the name of the folder.Methods 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, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.supports.ITrashSupportdeleteFromTrash, isInTrash, moveToTrash, restoreFromTrashMethods inherited from interface com.axemble.vdoc.sdk.supports.IUriSupportgetURI
- 
Method Details- 
setNameSets the name of the folder.- Parameters:
- name- the new name to set.
 
- 
getNameString getName()Gets the name of the folder.- Specified by:
- getNamein interface- ILibraryElement
- Returns:
- a String object.
 
- 
setDescriptionSets the description of the folder.- Parameters:
- description- the new description to set.
 
- 
getDescriptionString getDescription()Gets the description of the folder.- Specified by:
- getDescriptionin interface- ILibraryElement
- Returns:
- a String of the folder.
 
- 
getCreatedDateDate getCreatedDate()Gets the created date.- Returns:
- a Dateobject.
 
- 
setModifiedDateSets the modified date.- Parameters:
- date- The- Dateto set.
 
- 
getModifiedDateDate getModifiedDate()Gets the modified date.- Returns:
- a Dateobject.
 
- 
setCreatedBySets the creator of the folder.- Parameters:
- user- The user to set as the creator of the folder.
 
- 
getCreatedByIUser getCreatedBy()Gets the creator of the folder.- Returns:
- a IUserobject.
 
- 
setModifiedBySets last user who modified the folder.- Parameters:
- user- The last- IUserwho modified the folder.
 
- 
getModifiedByIUser getModifiedBy()Gets the last user who modified the folder.- Returns:
- a IUserobject.
 
- 
addFileAdds aIFileobject.- Parameters:
- file- The- IFileobject to add.
 
- 
getFoldersGets the child folders- Parameters:
- context- The execution context.
- Returns:
- A collection of IFolderobjects.
 
- 
getFolderGets a childIFolderobject by its name.- Parameters:
- context- The execution context.
- name- The name of the child folder.
- Returns:
- A IFolderobject.
 
- 
getParentFolderIFolder getParentFolder()Gets the parent folder.- Returns:
- A IFolderobject.
 
- 
getLibraryILibrary getLibrary()Gets the library.- Returns:
- A ILibraryobject.
 
 
-