Last update: 2011-06-23

org.proteios.core
Class GlobalDefaultSetting

java.lang.Object
  extended by org.proteios.core.BasicItem<D>
      extended by org.proteios.core.Setting<GlobalDefaultSettingData>
          extended by org.proteios.core.GlobalDefaultSetting
All Implemented Interfaces:
AccessControlled, Identifiable

public class GlobalDefaultSetting
extends Setting<GlobalDefaultSettingData>

This class is used to represent a global default setting.

Version:
2.0
Author:
Nicklas

Field Summary
static Item TYPE
          The type of item represented by this class.
 
Fields inherited from class org.proteios.core.Setting
MAX_NAME_LENGTH, MAX_VALUE_LENGTH
 
Method Summary
static ItemQuery<GlobalDefaultSetting> getQuery()
          Get a query configured to retrieve global default settings.
 Item getType()
          Get the type of item represented by the object.
 
Methods inherited from class org.proteios.core.Setting
getById, getName, getValue, isUsed, setName, setValue
 
Methods inherited from class org.proteios.core.BasicItem
checkPermission, equals, getDbControl, getId, getPermissions, getSessionControl, getVersion, hashCode, hasPermission, isDetached, isInDatabase, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final Item TYPE
The type of item represented by this class.

See Also:
Item.GLOBALDEFAULTSETTING, getType()
Method Detail

getQuery

public static ItemQuery<GlobalDefaultSetting> getQuery()
Get a query configured to retrieve global default settings.

Returns:
An ItemQuery object

getType

public Item getType()
Description copied from interface: Identifiable
Get the type of item represented by the object. The returned value is one of the values defined in the Item enumeration.

Returns:
A value indicating the type of item

Last update: 2011-06-23