add function getListByTypeId
add action isUsed
refactoring
rename findBymaskId to getListByMaskId