| Modifier and Type | Method and Description |
|---|---|
RFile |
createFile(String name)
Creates file to the folder.
|
RFolder |
createFolder(String name)
Creates sub folder to the folder.
|
void |
delete()
Deletes the folder, sub folders and all files.
|
List<RFile> |
getFiles()
Gets list of files from the folder.
|
List<RFolder> |
getFolders()
Gets list of sub folders.
|
addProperty, commit, getActiveVersion, getEffectiveDate, getExpirationDate, getLineOfBusiness, getLock, getName, getPath, getProperties, getProperty, getProps, getVersionHistory, hasProperty, isLocked, lock, removeProperty, setEffectiveDate, setExpirationDate, setLineOfBusiness, setProps, unlockRFile createFile(String name) throws RRepositoryException
name - name of new fileRRepositoryException - if failedRFolder createFolder(String name) throws RRepositoryException
name - name of new folderRRepositoryException - if failedvoid delete()
throws RRepositoryException
Root folder cannot be deleted. Still, on delete it removes all its content, i.e. sub folders and all files.
delete in interface REntityRRepositoryExceptionList<RFile> getFiles() throws RRepositoryException
RRepositoryExceptionList<RFolder> getFolders() throws RRepositoryException
RRepositoryExceptionCopyright © 2018. All rights reserved.