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 TypeMethodDescriptionvoid
Adds aIFile
object.Gets the creator of the folder.Gets the created date.Gets the description of the folder.Gets a childIFolder
object 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.void
setCreatedBy
(IUser user) Sets the creator of the folder.void
setDescription
(String description) Sets the description of the folder.void
setModifiedBy
(IUser user) Sets last user who modified the folder.void
setModifiedDate
(Date date) Sets the modified date.void
Sets the name of the folder.Methods inherited from interface com.axemble.vdoc.sdk.supports.IDeletionSupport
delete
Methods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getNativeObject, getPath, save
Methods inherited from interface com.axemble.vdoc.sdk.supports.IExternalSupport
getExternalClassName, getExternalNativeId
Methods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
Methods inherited from interface com.axemble.vdoc.sdk.supports.ITrashSupport
deleteFromTrash, isInTrash, moveToTrash, restoreFromTrash
Methods 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:
getName
in 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:
getDescription
in interfaceILibraryElement
- Returns:
- a String of the folder.
-
getCreatedDate
Date getCreatedDate()Gets the created date.- Returns:
- a
Date
object.
-
setModifiedDate
Sets the modified date.- Parameters:
date
- TheDate
to set.
-
getModifiedDate
Date getModifiedDate()Gets the modified date.- Returns:
- a
Date
object.
-
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
IUser
object.
-
setModifiedBy
Sets last user who modified the folder.- Parameters:
user
- The lastIUser
who modified the folder.
-
getModifiedBy
IUser getModifiedBy()Gets the last user who modified the folder.- Returns:
- a
IUser
object.
-
addFile
Adds aIFile
object.- Parameters:
file
- TheIFile
object to add.
-
getFolders
Gets the child folders- Parameters:
context
- The execution context.- Returns:
- A collection of
IFolder
objects.
-
getFolder
Gets a childIFolder
object by its name.- Parameters:
context
- The execution context.name
- The name of the child folder.- Returns:
- A
IFolder
object.
-
getParentFolder
IFolder getParentFolder()Gets the parent folder.- Returns:
- A
IFolder
object.
-
getLibrary
ILibrary getLibrary()Gets the library.- Returns:
- A
ILibrary
object.
-