ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / project / getFilterConditions

getFilterConditions

fun Project.getFilterConditions(): Array<FilterCondition>

Get the filterCondition to use for a Project. If the project is null, it is treated as a restricted project and the ID will be used to filter for restrictedProject from documents. Else, the method will make sure that no restricted document for another project will be accidentally included for this project.