com.plumtree.server
Class PT_SERIALIZED_LOCALIZED_STRINGS_COLS

java.lang.Object
  extended by com.plumtree.server.PT_SERIALIZED_LOCALIZED_STRINGS_COLS

public final class PT_SERIALIZED_LOCALIZED_STRINGS_COLS
extends java.lang.Object

Localized strings (object names and descriptions) that are stored by the server can be serialized to an array through the IPTStringLocalizationManager.GetLocalizedStrings and IPTStringLocalizationManager.SetLocalizedStrings calls. Some of the columns in the resultant array are in known locations, as defined by these constants. However, the width of the array is variable, as different Portals will support different languages. Columns starting at index PT_SLS_TARGET_STRING_START contain the strings for each language (i.e. if the Portal supports 4 languages, the array will have PT_SLS_TARGET_STRING_START + 4 columns.)

Author:
michaels
See Also:
IPTStringLocalizationManager

Field Summary
static int PT_SLS_CLASSID
          The index of the column containing the ClassID of the object in question
static int PT_SLS_ITEMID
          The index of the column containing the Item ID of the object in question.
static int PT_SLS_SOURCE_LANG
          The index of the column containing the language of the source string
static int PT_SLS_SOURCE_STRING
          The index of the column containing the source string- the "primary" Name, Description, etc.
static int PT_SLS_STRINGID
          The index of the column containing the String ID of the string in question.
static int PT_SLS_TARGET_STRING_START
          The index of the first column containing localized strings
 
Constructor Summary
PT_SERIALIZED_LOCALIZED_STRINGS_COLS()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PT_SLS_CLASSID

public static final int PT_SLS_CLASSID
The index of the column containing the ClassID of the object in question

See Also:
Constant Field Values

PT_SLS_ITEMID

public static final int PT_SLS_ITEMID
The index of the column containing the Item ID of the object in question. For Plumtree objects, this is the ObjectID.

See Also:
Constant Field Values

PT_SLS_STRINGID

public static final int PT_SLS_STRINGID
The index of the column containing the String ID of the string in question. For Plumtree objects, this is "0" for Name, and "1" for Description.

See Also:
Constant Field Values

PT_SLS_SOURCE_STRING

public static final int PT_SLS_SOURCE_STRING
The index of the column containing the source string- the "primary" Name, Description, etc. for the object

See Also:
Constant Field Values

PT_SLS_SOURCE_LANG

public static final int PT_SLS_SOURCE_LANG
The index of the column containing the language of the source string

See Also:
Constant Field Values

PT_SLS_TARGET_STRING_START

public static final int PT_SLS_TARGET_STRING_START
The index of the first column containing localized strings

See Also:
Constant Field Values
Constructor Detail

PT_SERIALIZED_LOCALIZED_STRINGS_COLS

public PT_SERIALIZED_LOCALIZED_STRINGS_COLS()