public interface LocaleDAO
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.util.Pair |
getDefaultLocalePair() |
org.alfresco.util.Pair |
getLocalePair(java.util.Locale locale) |
org.alfresco.util.Pair |
getLocalePair(java.lang.Long id) |
org.alfresco.util.Pair |
getOrCreateDefaultLocalePair()
Find or create the details representing the default locale.
|
org.alfresco.util.Pair |
getOrCreateLocalePair(java.util.Locale locale)
Gets the locale ID for an existing instance or creates a new entity if
one doesn't exist.
|
org.alfresco.util.Pair getLocalePair(java.lang.Long id)
id - the unique ID of the entityorg.springframework.dao.DataIntegrityViolationException - if the ID provided is invalidorg.alfresco.util.Pair getLocalePair(java.util.Locale locale)
id - the locale to fetch or null to get the default localeorg.alfresco.util.Pair getDefaultLocalePair()
org.alfresco.util.Pair getOrCreateLocalePair(java.util.Locale locale)
locale - the locale to fetch or null to get or create the default locale.org.alfresco.util.Pair getOrCreateDefaultLocalePair()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.