|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPTLocalizable
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 |
---|
java.lang.String GetName()
void SetName(java.lang.String Value)
Value
- the namejava.lang.String GetDescription()
void SetDescription(java.lang.String Value)
Value
- the descriptionjava.lang.Object[][] GetLocalizedNames()
PT_LOCALIZED_STRINGS_INDICES
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_INDICES
java.lang.String GetLocalizedName()
java.lang.Object[][] GetLocalizedDescriptions()
PT_LOCALIZED_STRINGS_INDICES
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_INDICES
java.lang.String GetLocalizedDescription()
boolean GetIsLocalized()
void SetIsLocalized(boolean Value)
Value
- boolean indicating whether this object should support
localization.java.lang.String GetPrimaryLang()
void SetPrimaryLang(java.lang.String Value)
Value
- the primary languageboolean GetSupportsLocalization()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |