class: InternationalizationHelper

public class: InternationalizationHelper
Author: : Tobias Schraut, created 04.07.2007
Project: Phase: 1.0; Status: Proposed; Version: : $Revision: 2695 $ $LastChangedDate: 2009-05-28 1; Complexity: 1
Dates: Created: 16.07.2009 15:33:42; Modified: 16.07.2009 15:33:42;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {1243953F-2C51-48f2-AB98-00EC838AA8AB}
Class for Internationalization settings.
 

Goto: Custom Properties, Fields, Methods

See also: InternationalizedImpl, ContainerPanelUI, UIPaginatorControl, EventLogEntryVOPresentation, PubItemVOPresentation, ViewItemDetailsUI, ViewItemEventUI, ViewItemFileUI, ViewItemSourceUI

Appears in: util

Connections
 
Custom Properties
 
InternationalizationHelper Attributes
Attribute Details
public static const String
  BEAN_NAME
Initial: "InternationalizationHelper"
public static const String
  HELP_PAGE_DE
Initial: "help/eSciDoc_help_de.html"
public static const String
  HELP_PAGE_EN
Initial: "help/eSciDoc_help_en.html"
public static const String
  LABEL_BUNDLE
Initial: "Label"
private String
  locale
Initial: "en"
private static Logger
  logger
Initial: Logger.getLogger(InternationalizationHelper.class)
public static const String
  MESSAGES_BUNDLE
Initial: "Messages"
private SelectItem
  NO_ITEM_SET
Initial: null
Notes: entry when no item in the comboBox is selected
private String
  selectedHelpPage
public ArrayList
  test
Initial: new ArrayList()
package Locale
  userLocale
 
InternationalizationHelper Methods
Operation Details
private
addNoItemSelectedEntry(
   SelectItem[] selectItems):SelectItem
Sequential
Notes: Adds an entry for NoItemSelected in front of the given array.
@return a new array with an entry for NoItemSelected
public
changeLanguage(
   ValueChangeEvent event):void
Sequential
public
convertEnumToString(
   Object enumObject):String
Sequential
Notes: TODO FrM: Check this Converts an enum to a String for output.
@return the converted String for output
public
getLabel(
   String placeholder):String
Sequential
public
getLocale():String
Sequential
public
getSelectedHelpPage():String
Sequential
public
getSelectedItemsComponentAvailability(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum {@link SelectComponentAvailability}
@return array of SelectItems for SelectComponentAvailability
public
getSelectedItemsComponentVisibility(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum {@link SelectComponentAccessability}
@return array of SelectItems for SelectComponentAccessability
public
getSelectedLabelBundle():String
Sequential
Notes: Getters and Setters
public
getSelectedMessagesBundle():String
Sequential
public
getSelectItemsContentCategory():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum ContentCategory.
@return array of SelectItems for ContentCategory
public
getSelectItemsContentCategory(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum ContentCategory.
@return array of SelectItems for ReviewMethod
public
getSelectItemsCreatorRole(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum CreatorRole.
@return array of SelectItems for CreatorRole
public
getSelectItemsCreatorType(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum CreatorType.
@return array of SelectItems for CreatorType
public
getSelectItemsDegreeType():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum genre.
@return array of SelectItems for genre
public
getSelectItemsDegreeType(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum DegreeType.
@return array of SelectItems for DegreeType
public
getSelectItemsForEnum(
   boolean includeNoItemSelectedEntry,
   Object[] values):SelectItem
Sequential
Notes: Turn the values of an enum to an array of SelectItem.
@return An array of SelectItem.
public
getSelectItemsGenre(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum genre.
@return array of SelectItems for genre
public
getSelectItemsGenre():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum genre.
@return array of SelectItems for genre
public
getSelectItemsInvitationStatus():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum genre.
@return array of SelectItems for genre
public
getSelectItemsInvitationStatus(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum InvitationStatus.
@return array of SelectItems for InvitationStatus
public
getSelectItemsItemListSelectMultipleItems():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum SelectMultipleItems.
@return array of SelectItems for SelectMultipleItems
public
getSelectItemsItemListSortBy():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum ItemListSortBy.
@return array of SelectItems for ItemListSortBy
public
getSelectItemsItemState():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum ItemState.
@return array of SelectItems for ItemState
public
getSelectItemsReviewMethod():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum genre.
@return array of SelectItems for genre
public
getSelectItemsReviewMethod(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum ReviewMethod.
@return array of SelectItems for ReviewMethod
public
getSelectItemsUserGroups(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for a list of user groups
@return array of SelectItems for user groups
public
getSelectItemsVisibility():SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum visibility.
@return array of SelectItems for visibility
public
getSelectItemsVisibility(
   boolean includeNoItemSelectedEntry):SelectItem
Sequential
Notes: Returns an array of SelectItems for the enum visibility.
@return array of SelectItems for visibility
public
getTest():List
Sequential
public
getUserLocale():Locale
Sequential
public
InternationalizationHelper():
Sequential
public
setLocale(
   String locale):void
Sequential
public
setTest(
   List test):void
Sequential
public
setUserLocale(
   Locale userLocale):void
Sequential
public
toggleLocale(
   ActionEvent event):void
Sequential