public interface IFolderManager
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNewFolder(java.lang.String name)
Add folder at the current path location.
|
void |
addNewItem(FolderItem item)
Add new item at the current path location.
|
void |
close() |
void |
deleteFolder(int i)
Delete i'th folder at the current path location.
|
void |
deleteItem(int i)
Delete i'th item at the current path location.
|
void |
deleteItemByContentIndex(long itemIndex)
Delete item with the given CONTENT index (!), also decrementing index of items with higher index than the given one.
|
FolderPath |
getCurrentPath() |
int |
getFolderCount() |
java.lang.String |
getFolderName(int i) |
FolderItem |
getItem(int i) |
int |
getItemCount() |
boolean |
hasParentFolder() |
void |
selectFolderByIndex(int i)
Navigate to the i'th folder from current path location.
|
void |
selectParentFolder()
Navigate to parent folder, if it exists.
|
void |
selectRootFolder()
Navigate to root folder.
|
FolderPath getCurrentPath()
void close()
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionboolean addNewFolder(java.lang.String name)
throws net.sourceforge.chessshell.common.DatabaseException
name - net.sourceforge.chessshell.common.DatabaseExceptionvoid addNewItem(FolderItem item) throws net.sourceforge.chessshell.common.DatabaseException
itemIndex - item - net.sourceforge.chessshell.common.DatabaseExceptionvoid deleteFolder(int i)
throws net.sourceforge.chessshell.common.DatabaseException
i - net.sourceforge.chessshell.common.DatabaseExceptionvoid deleteItem(int i)
throws net.sourceforge.chessshell.common.DatabaseException
i - net.sourceforge.chessshell.common.DatabaseExceptionint getFolderCount()
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionjava.lang.String getFolderName(int i)
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionint getItemCount()
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionFolderItem getItem(int i) throws net.sourceforge.chessshell.common.DatabaseException
i - net.sourceforge.chessshell.common.DatabaseExceptionvoid selectFolderByIndex(int i)
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionboolean hasParentFolder()
selectParentFolder()void selectParentFolder()
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionhasParentFolder()void selectRootFolder()
throws net.sourceforge.chessshell.common.DatabaseException
net.sourceforge.chessshell.common.DatabaseExceptionvoid deleteItemByContentIndex(long itemIndex)
throws net.sourceforge.chessshell.common.DatabaseException
itemIndex - net.sourceforge.chessshell.common.DatabaseException