Package org.cyclos.services.system
Interface LanguageService
-
- All Superinterfaces:
CRUDService<LanguageDTO,LanguageData,Void>,Service
- All Known Subinterfaces:
LanguageServiceLocal
- All Known Implementing Classes:
LanguageServiceImpl,LanguageServiceSecurity
public interface LanguageService extends CRUDService<LanguageDTO,LanguageData,Void>
Service interface for languages
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LanguageDetailedVOget(@NotNull LanguageVO language)Returns a language VO by idLanguageDetailedVOgetCurrent()Returns the language VO for the current userList<LanguageDetailedVO>list()Lists languages filtered by network-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
get
LanguageDetailedVO get(@NotNull @NotNull LanguageVO language) throws FrameworkException
Returns a language VO by id- Throws:
FrameworkException
-
getCurrent
LanguageDetailedVO getCurrent() throws FrameworkException
Returns the language VO for the current user- Throws:
FrameworkException
-
list
List<LanguageDetailedVO> list() throws FrameworkException
Lists languages filtered by network- Throws:
FrameworkException
-
-