public interface IFolder extends IElement, IDeletionSupport, IExternalSupport, ISecuritySupport, ISearchSupport, IUriSupport, IProtocolSupport, ITrashSupport, ILibraryElement
| Modifier and Type | Method and Description |
|---|---|
void |
addFile(IFile file)
Adds a
IFile object. |
IUser |
getCreatedBy()
Gets the creator of the folder.
|
Date |
getCreatedDate()
Gets the created date.
|
String |
getDescription()
Gets the description of the folder.
|
IFolder |
getFolder(IContext context,
String name)
Gets a child
IFolder object by its name. |
Collection |
getFolders(IContext context)
Gets the child folders
|
ILibrary |
getLibrary()
Gets the library.
|
IUser |
getModifiedBy()
Gets the last user who modified the folder.
|
Date |
getModifiedDate()
Gets the modified date.
|
String |
getName()
Gets the name of the folder.
|
IFolder |
getParentFolder()
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 |
setName(String name)
Sets the name of the folder.
|
deletegetExternalClassName, getExternalNativeIdgetURIdeleteFromTrash, isInTrash, moveToTrash, restoreFromTrashvoid setName(String name)
name - the new name to set.String getName()
getName in interface ILibraryElementvoid setDescription(String description)
description - the new description to set.String getDescription()
getDescription in interface ILibraryElementvoid setModifiedDate(Date date)
date - The Date to set.void setCreatedBy(IUser user)
user - The user to set as the creator of the folder.void setModifiedBy(IUser user)
user - The last IUser who modified the folder.IUser getModifiedBy()
IUser object.Collection getFolders(IContext context)
context - The execution context.IFolder objects.IFolder getFolder(IContext context, String name)
IFolder object by its name.context - The execution context.name - The name of the child folder.IFolder object.Copyright © 2021 Visiativ Software. All rights reserved.