de.innovationgate.wga.server.api.tml
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(String name)
Tests if an item is available
|
boolean |
isstorageoptedin()
Returns if the profile already was allowed to be stored persistently
|
Object |
item(String name)
Reads the value of a profile item as single value
|
List |
itemlist(String name)
Returns the value of a profile item as list value
|
Object |
meta(String name)
Reads the value of a metadata field as single value
|
List |
metalist(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(String name)
Removes an item from the profile
|
boolean |
setitem(String name,
Object value)
Creates or updates a profile item
|
de.innovationgate.webgate.api.WGUserProfile getprofile()
boolean hasitem(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
Object item(String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
List itemlist(String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException
Object meta(String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the fieldde.innovationgate.webgate.api.WGAPIException
List metalist(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(String name) throws de.innovationgate.webgate.api.WGAPIException
name
- Name of the itemde.innovationgate.webgate.api.WGAPIException