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 Summary
Modifier 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.IDeletionSupport
deleteMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupport
getExternalClassName, getExternalNativeIdMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURIMethods inherited from interface com.axemble.vdoc.sdk.supports.ITrashSupport
deleteFromTrash, isInTrash, moveToTrash, restoreFromTrashMethods inherited from interface com.axemble.vdoc.sdk.supports.IUriSupport
getURI
-
Method Details
-
setName
Sets the name of the folder.- Parameters:
name- the new name to set.
-
getName
String getName()Gets the name of the folder.- Specified by:
getNamein interfaceILibraryElement- Returns:
- a String object.
-
setDescription
Sets the description of the folder.- Parameters:
description- the new description to set.
-
getDescription
String getDescription()Gets the description of the folder.- Specified by:
getDescriptionin interfaceILibraryElement- Returns:
- a String of the folder.
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- a
Dateobject.
-
setModifiedDate
Sets the modified date.- Parameters:
date- TheDateto set.
-
getModifiedDate
Date getModifiedDate()Gets the modified date.- Returns:
- a
Dateobject.
-
setCreatedBy
Sets the creator of the folder.- Parameters:
user- The user to set as the creator of the folder.
-
getCreatedBy
IUser getCreatedBy()Gets the creator of the folder.- Returns:
- a
IUserobject.
-
setModifiedBy
Sets last user who modified the folder.- Parameters:
user- The lastIUserwho modified the folder.
-
getModifiedBy
IUser getModifiedBy()Gets the last user who modified the folder.- Returns:
- a
IUserobject.
-
addFile
Adds aIFileobject.- Parameters:
file- TheIFileobject to add.
-
getFolders
Gets the child folders- Parameters:
context- The execution context.- Returns:
- A collection of
IFolderobjects.
-
getFolder
Gets a childIFolderobject by its name.- Parameters:
context- The execution context.name- The name of the child folder.- Returns:
- A
IFolderobject.
-
getParentFolder
IFolder getParentFolder()Gets the parent folder.- Returns:
- A
IFolderobject.
-
getLibrary
ILibrary getLibrary()Gets the library.- Returns:
- A
ILibraryobject.
-