public interface PreferencesManagement
Modifier and Type | Method and Description |
---|---|
String |
getPreference(pl.edu.icm.unity.types.basic.EntityParam entity,
String preferenceId)
Returns a given preference.
|
void |
removePreference(pl.edu.icm.unity.types.basic.EntityParam entity,
String preferenceId)
Removes the given preference.
|
void |
setPreference(pl.edu.icm.unity.types.basic.EntityParam entity,
String preferenceId,
String value)
Sets or updates a preference for the specified user.
|
void setPreference(pl.edu.icm.unity.types.basic.EntityParam entity, String preferenceId, String value) throws pl.edu.icm.unity.exceptions.EngineException
entity
- preferenceId
- value
- pl.edu.icm.unity.exceptions.EngineException
String getPreference(pl.edu.icm.unity.types.basic.EntityParam entity, String preferenceId) throws pl.edu.icm.unity.exceptions.EngineException
entity
- preferenceId
- pl.edu.icm.unity.exceptions.EngineException
void removePreference(pl.edu.icm.unity.types.basic.EntityParam entity, String preferenceId) throws pl.edu.icm.unity.exceptions.EngineException
entity
- preferenceId
- pl.edu.icm.unity.exceptions.EngineException
Copyright © 2018 Unity. All rights reserved.