org.exoplatform.commons.api.settings.data
Class SettingScope
java.lang.Object
org.exoplatform.commons.api.settings.data.SettingContext
org.exoplatform.commons.api.settings.data.SettingScope
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SettingKey
public class SettingScope
- extends SettingContext
SettingScope is composed by [context,scope], associates with setting properties in a specified scope.
Use SettingScope to specify context of setting properties in action with database, cache or in dispatching setting event.
- See Also:
- Serialized Form
|
Constructor Summary |
SettingScope(Context context,
Scope scope)
Create setting scope object with composite key [context,scope] |
scope
protected Scope scope
scopePath
protected String scopePath
SettingScope
public SettingScope(Context context,
Scope scope)
- Create setting scope object with composite key [context,scope]
- Parameters:
context - context with which the specified value is to be associatedscope - scope with which the specified value is to be associated
equals
public boolean equals(Object obj)
- Overrides:
equals in class SettingContext
hashCode
public int hashCode()
- Overrides:
hashCode in class SettingContext
getScope
public Scope getScope()
- get scope value of setting-scope
- Returns:
- value of key
getScopePath
public String getScopePath()
- get path associated to this setting-scope
- Returns:
- path to setting data zone of this scope in the database
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.