|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This interface is supported by objects that support localization of their names and descriptions. Localization allows a single object to have different strings for different languages- the name or description can be different for English and French speakers, for example.
IPTStringLocalizationManager| Method Summary | |
java.lang.String |
GetDescription()
Returns the primary description of the object. |
boolean |
GetIsLocalized()
Does this object support localization? Note that an object may support localization, but nonetheless have no actual localizations. |
java.lang.String |
GetLocalizedDescription()
Return the description of this object localized to the language of the current user |
java.lang.Object[][] |
GetLocalizedDescriptions()
Returns the localized descriptions for this object as a 2D array. |
java.lang.String |
GetLocalizedName()
Return the name of this object localized to the language of the current user |
java.lang.Object[][] |
GetLocalizedNames()
Returns the localized names for this object as a 2D array. |
java.lang.String |
GetName()
Returns the primary name of the object. |
java.lang.String |
GetPrimaryLang()
The primary language of the object is the language that the primary name and primary description are in. |
boolean |
GetSupportsLocalization()
Does this type of object support localization? Some object types (IPTCard, for example) do not support localization. |
void |
SetDescription(java.lang.String Value)
Sets the primary description of the object. |
void |
SetIsLocalized(boolean Value)
Does this object support localization? Note that an object may support localization, but nonetheless have no actual localizations. |
void |
SetLocalizedDescriptions(java.lang.Object[][] Value)
Sets the localized descriptions for this object. |
void |
SetLocalizedNames(java.lang.Object[][] Value)
Sets the localized names for this object. |
void |
SetName(java.lang.String Value)
Sets the primary name of the object. |
void |
SetPrimaryLang(java.lang.String Value)
The primary language of the object is the language that the primary name and primary description are in. |
| Methods inherited from interface com.plumtree.server.IPTUnknown |
GetInterfaces |
| Method Detail |
public java.lang.String GetName()
public void SetName(java.lang.String Value)
Value - the namepublic java.lang.String GetDescription()
public void SetDescription(java.lang.String Value)
Value - the descriptionpublic java.lang.Object[][] GetLocalizedNames()
PT_LOCALIZED_STRINGS_INDICESpublic void SetLocalizedNames(java.lang.Object[][] Value)
Value - an array containing the data about localized names. The
columns in the 2D array are identified by the constants in
PT_LOCALIZED_STRINGS_INDICES.PT_LOCALIZED_STRINGS_INDICESpublic java.lang.String GetLocalizedName()
public java.lang.Object[][] GetLocalizedDescriptions()
PT_LOCALIZED_STRINGS_INDICESpublic void SetLocalizedDescriptions(java.lang.Object[][] Value)
Value - an array containing the data about localized descriptions. The
columns in the 2D array are identified by the constants in
PT_LOCALIZED_STRINGS_INDICES.PT_LOCALIZED_STRINGS_INDICESpublic java.lang.String GetLocalizedDescription()
public boolean GetIsLocalized()
public void SetIsLocalized(boolean Value)
Value - boolean indicating whether this object should support
localization.public java.lang.String GetPrimaryLang()
public void SetPrimaryLang(java.lang.String Value)
Value - the primary languagepublic boolean GetSupportsLocalization()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||