public class UserPropertiesServiceMockup extends java.lang.Object implements UserPropertiesService
Constructor and Description |
---|
UserPropertiesServiceMockup() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<UserProperty> |
getProperties(User user) |
UserProperty |
getProperty(User user,
java.lang.String key) |
java.util.List<java.lang.String> |
getPropertyKeys() |
java.lang.String |
getPropertyValue(User user,
java.lang.String key) |
void |
removeProperty(User user,
java.lang.String key) |
boolean |
removeProperty(User user,
UserProperty property) |
void |
setProperties(User user,
java.util.Set<UserProperty> properties) |
void |
setProperty(User user,
UserProperty property) |
void |
setPropertyValue(User user,
java.lang.String key,
java.lang.Object value) |
public void setProperty(User user, UserProperty property)
setProperty
in interface UserPropertiesService
public void setPropertyValue(User user, java.lang.String key, java.lang.Object value)
setPropertyValue
in interface UserPropertiesService
public UserProperty getProperty(User user, java.lang.String key)
getProperty
in interface UserPropertiesService
public java.lang.String getPropertyValue(User user, java.lang.String key)
getPropertyValue
in interface UserPropertiesService
public void removeProperty(User user, java.lang.String key)
removeProperty
in interface UserPropertiesService
public boolean removeProperty(User user, UserProperty property)
removeProperty
in interface UserPropertiesService
public java.util.Set<UserProperty> getProperties(User user)
getProperties
in interface UserPropertiesService
public void setProperties(User user, java.util.Set<UserProperty> properties)
setProperties
in interface UserPropertiesService
public java.util.List<java.lang.String> getPropertyKeys()
getPropertyKeys
in interface UserPropertiesService