Class Context
java.lang.Object
org.exoplatform.commons.api.settings.data.Context
- All Implemented Interfaces:
Serializable,Cloneable
Saves some settings linked to a Context.
- See Also:
- eXo level API
- Experimental
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GLOBAL
GLOBAL: Settings should impact all users in the underlying scope.- eXo level API
- Experimental
-
USER
USER: Each user should be able to save his own settings.- eXo level API
- Experimental
-
-
Constructor Details
-
Context
-
-
Method Details
-
id
Creates a context with a specified Id.- Parameters:
id- The Id that is displayed as username.- eXo level API
- Experimental
-
getId
Gets a context Id.- Returns:
- Returns "null" if the context is GLOBAL or user Id if the context is USER.
- eXo level API
- Experimental
-
getName
-
equals
-
hashCode
public int hashCode()
-