Last update: 2011-06-23

org.proteios.io
Class TablePreferencesConfiguration

java.lang.Object
  extended by org.proteios.io.TablePreferencesConfiguration

public class TablePreferencesConfiguration
extends Object

This class represents a table preferences configuration.

Version:
2.0
Author:
olle
Last modified
$Date: 2009-11-26 14:16:04 +0100 (Thu, 26 Nov 2009) $

Nested Class Summary
static class TablePreferencesConfiguration.Mode
          The table preferences mode.
 
Constructor Summary
TablePreferencesConfiguration()
          TablePreferencesConfiguration constructor.
 
Method Summary
 void fetchConfiguration(User user)
          Fetches table preferences configurations that have not been explicitly set in this class from properties files and other sources.
 int getMode()
          Get the table preferences mode. 0 = "Never". 1 = "Always". 2 = "Use current preferences but do not update them".
 void setMode(int mode)
          Set the table preferences mode. 0 = "Never". 1 = "Always".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TablePreferencesConfiguration

public TablePreferencesConfiguration()
TablePreferencesConfiguration constructor.

Method Detail

getMode

public int getMode()
Get the table preferences mode. 0 = "Never". 1 = "Always". 2 = "Use current preferences but do not update them".

Returns:
int The table preferences mode.

setMode

public void setMode(int mode)
Set the table preferences mode. 0 = "Never". 1 = "Always".

Parameters:
mode - int The table preferences mode to use.

fetchConfiguration

public void fetchConfiguration(User user)
Fetches table preferences configurations that have not been explicitly set in this class from properties files and other sources.

Parameters:
user - User The user for which preferences should be obtained.

Last update: 2011-06-23