Package org.cyclos.impl.system
Interface LanguageServiceLocal
-
- All Superinterfaces:
CRUDService<LanguageDTO,LanguageData,Void>,CRUDServiceLocal<Language,LanguageDTO,LanguageData,Void>,LanguageService,Service
- All Known Implementing Classes:
LanguageServiceImpl
public interface LanguageServiceLocal extends LanguageService, CRUDServiceLocal<Language,LanguageDTO,LanguageData,Void>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Language>getHierarchy(Language language)Returns the language hierarchy, having as first element the root language, and last element the given languageList<Language>importBuiltin()Imports the built-in languages as global languagesbooleanisBuiltin(Language language)Returns whether the given language is built-inList<Language>listAll()Lists all languagesvoidupdateLastModified(Language language)Updates the last modification timestamp of the given language and all its descendents-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.system.LanguageService
get, getCurrent, list
-
-
-
-
Method Detail
-
getHierarchy
List<Language> getHierarchy(Language language)
Returns the language hierarchy, having as first element the root language, and last element the given language
-
isBuiltin
boolean isBuiltin(Language language)
Returns whether the given language is built-in
-
updateLastModified
void updateLastModified(Language language)
Updates the last modification timestamp of the given language and all its descendents
-
-