|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RFolder
OpenL Rules Folder. It can have sub folders and files. Sub folders and files are treated separately.
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface org.openl.rules.repository.REntity |
|---|
addProperty, getActiveVersion, getEffectiveDate, getExpirationDate, getLineOfBusiness, getName, getPath, getProperties, getProperty, getProps, getVersionHistory, hasProperty, removeProperty, setEffectiveDate, setExpirationDate, setLineOfBusiness, setProps |
| Method Detail |
|---|
RFile createFile(String name)
throws RRepositoryException
name - name of new file
RRepositoryException - if failed
RFolder createFolder(String name)
throws RRepositoryException
name - name of new folder
RRepositoryException - if failed
void 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 REntityRRepositoryException
List<RFile> getFiles()
throws RRepositoryException
RRepositoryException
List<RFolder> getFolders()
throws RRepositoryException
RRepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||