public interface UserProfile
Modifier and Type | Method and Description |
---|---|
de.innovationgate.webgate.api.WGUserProfile |
getprofile()
Offers the WGAPI object representing the personalisation profile
|
boolean |
hasitem(java.lang.String name)
Tests if an item is available
|
boolean |
isstorageoptedin()
Returns if the profile already was allowed to be stored persistently
|
java.lang.Object |
item(java.lang.String name)
Reads the value of a profile item as single value
|
java.util.List<java.lang.Object> |
itemlist(java.lang.String name)
Returns the value of a profile item as list value
|
java.lang.Object |
meta(java.lang.String name)
Reads the value of a metadata field as single value
|
java.util.List<java.lang.Object> |
metalist(java.lang.String name)
Reads the value of a metadata field as list value
|
boolean |
optinstorage()
Marks this profile as being allowed for persistent storage
|
void |
removeitem(java.lang.String name)
Removes an item from the profile
|
boolean |
setitem(java.lang.String name,
java.lang.Object value)
Creates or updates a profile item
|
de.innovationgate.webgate.api.WGUserProfile getprofile()
boolean hasitem(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
boolean isstorageoptedin() throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
java.lang.Object item(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
java.util.List<java.lang.Object> itemlist(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
java.lang.Object meta(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the fieldde.innovationgate.webgate.api.WGAPIException
java.util.List<java.lang.Object> metalist(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the fieldde.innovationgate.webgate.api.WGAPIException
boolean optinstorage() throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
void removeitem(java.lang.String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
boolean setitem(java.lang.String name, java.lang.Object value) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemvalue
- Value of the itemde.innovationgate.webgate.api.WGAPIException