|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CentraSiteInternationalString
CentraSiteInternationalString which the holds the information of available indifferent locale's. User can use this object to get the CentraSiteLocalizedString based on the required locale's, if the values exists for that specified locale then return the corresponding locale's CentraSiteLocalizedString other wise null.
Method Summary | |
---|---|
void |
addLocalizedString(CentraSiteLocalizedString localizedString)
Adds a CentraSiteLocalizedString to this object. |
void |
addLocalizedStrings(java.util.Collection<CentraSiteLocalizedString> localizedStrings)
Adds many CSOLocalizedStrings to this object. |
boolean |
containsValue(java.lang.String value)
Check whether one of the localized strings is equal to the given value. |
CentraSiteLocalizedString |
getLocalizedString(java.util.Locale locale,
java.lang.String charsetName)
Gets the CentraSiteLocalizedString for the specified Locale and charsetName. |
java.util.Collection<CentraSiteLocalizedString> |
getLocalizedStrings()
Returns the CSOLocalizedStrings associated with this object. |
java.lang.String |
getLocalStringValue(java.util.Locale locale)
Gets the String value for the specified Locale. |
java.lang.String |
getValue()
Gets the String value for the user locale. |
java.lang.String |
getValue(java.util.Locale locale)
Gets the String value for the specified Locale. |
void |
removeLocalizedString(CentraSiteLocalizedString localizedString)
Removes a LocalizedString from this object. |
void |
removeLocalizedStrings(java.util.Collection<CentraSiteLocalizedString> localizedStrings)
Removes specified LocalizedStrings to this object. |
void |
setValue(java.util.Locale locale,
java.lang.String value)
Sets the String value for the specified Locale. |
void |
setValue(java.lang.String value)
Sets the String value for the user locale. |
Method Detail |
---|
void addLocalizedString(CentraSiteLocalizedString localizedString)
localizedString
- void addLocalizedStrings(java.util.Collection<CentraSiteLocalizedString> localizedStrings)
localizedStrings
- CentraSiteLocalizedString getLocalizedString(java.util.Locale locale, java.lang.String charsetName)
locale
- The Locale for the desired value. If null the default locale is used.charsetName
-
java.util.Collection<CentraSiteLocalizedString> getLocalizedStrings()
java.lang.String getValue()
java.lang.String getValue(java.util.Locale locale)
locale
- The Locale for the desired value. If null the default locale is used.
void removeLocalizedString(CentraSiteLocalizedString localizedString)
localizedString
- void removeLocalizedStrings(java.util.Collection<CentraSiteLocalizedString> localizedStrings)
localizedStrings
- void setValue(java.util.Locale locale, java.lang.String value)
locale
- The Locale for the desired value. If null the default locale is used.value
- void setValue(java.lang.String value)
value
- boolean containsValue(java.lang.String value)
value
-
java.lang.String getLocalStringValue(java.util.Locale locale)
locale
- The Locale for the desired value. If null the default locale is used.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |