SearchFolder - ViiSE/papka GitHub Wiki

SearchFolder

Interface:

public interface SearchFolder<T, V> extends Search<Folder<T>, V> {
    Folder<T> answer(V query) throws NotFoundException;
}

Methods

Folder<T> answer(V query) throws NotFoundException - returns the found folder.

Implementations

SearchFolderByFullName<T> - find folder by full folder name.
SearchFolderByShortName<T> - find folder by full folder name.
SearchFolderChildByShortName<T> - find folder among children.
SearchFolderInSystem - search folder by name in system.

Description

The SearchFolder interface searches for a folder by a given criterion. If search did not return any result, it throws NotFoundException. This interface extends Search interface.

⚠️ **GitHub.com Fallback** ⚠️