org.openwms.core.service.spring
Class I18nServiceImpl

java.lang.Object
  extended by org.openwms.core.service.spring.I18nServiceImpl
All Implemented Interfaces:
I18nService

@Transactional
@Service(value="i18nService")
public class I18nServiceImpl
extends Object
implements I18nService

An I18nServiceImpl.

Since:
0.1
Version:
$Revision: 1557 $
Author:
Heiko Scherrer

Constructor Summary
I18nServiceImpl()
           
 
Method Summary
 List<I18n> findAllTranslations()
          Find and return a list of all translations.
 void saveTranslations(I18n... translations)
          Save an arbitrary collection of translations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I18nServiceImpl

public I18nServiceImpl()
Method Detail

findAllTranslations

public List<I18n> findAllTranslations()
Find and return a list of all translations.

Specified by:
findAllTranslations in interface I18nService
Returns:
all translations
See Also:
I18nService.findAllTranslations()

saveTranslations

public void saveTranslations(I18n... translations)
Save an arbitrary collection of translations. No matter, whether entities in the collection already exist or not. When translations is null or is empty, method returns without any further action.

Specified by:
saveTranslations in interface I18nService
Parameters:
translations - An vararg of translations to save
See Also:
I18nService.saveTranslations(org.openwms.core.domain.system.I18n[])


Copyright © 2005-2011 openwms.org. All Rights Reserved.