|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocaleDAO
Data abstraction layer for Locale entities.
Method Summary | |
---|---|
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. |
Method Detail |
---|
org.alfresco.util.Pair getLocalePair(java.lang.Long id)
id
- the unique ID of the entity
org.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 locale
org.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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |