com.endeca.portlet
Interface IPortletModel


public interface IPortletModel

Interface for EditModel/ViewModel with functions to convert the model attribute keys to corresponding locale specific attribute keys.


Method Summary
 void convertAttributeKeysToDefault(DataSource ds)
          Converts the attribute keys to the keys of attributes for default locale.
 void convertAttributeKeysToLocale(DataSource ds, java.util.Locale locale)
          Converts the attribute keys to the keys of attributes for given locale.
 

Method Detail

convertAttributeKeysToLocale

void convertAttributeKeysToLocale(DataSource ds,
                                  java.util.Locale locale)
Converts the attribute keys to the keys of attributes for given locale. Assumption is that the ViewModel currently has attributes for default locale.

Parameters:
dataSource -
locale -

convertAttributeKeysToDefault

void convertAttributeKeysToDefault(DataSource ds)
Converts the attribute keys to the keys of attributes for default locale.

Parameters:
dataSource -
locale -