@StableMinor(version="12.3", sinceVersion="8.0") public class UserConfigXmlAdapter extends XmlAdapter<lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig,UserConfig>
UserConfig
and a standard portal format for it in JAXB.
Sample output in JSON:
{
"id":"8A488AF9475E73CD01475FEAEC140F88",
"login":"johnsmith",
"name":"John Stuart Smith",
"firstName":"John",
"middleName":"Stuart",
"lastName":"Smith",
"profileImageHref":"http://localhost:8080/portal/lumis/api/rest/lum-internal/users/8A488AF9475E73CD01475FEAEC140F88/profileimage"
}
Sample input formats in JSON:
Constructor and Description |
---|
UserConfigXmlAdapter() |
Modifier and Type | Method and Description |
---|---|
lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig |
marshal(UserConfig user) |
UserConfig |
unmarshal(lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig adaptedUser) |
public UserConfig unmarshal(lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig adaptedUser) throws Exception
unmarshal
in class XmlAdapter<lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig,UserConfig>
Exception
public lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig marshal(UserConfig user) throws Exception
marshal
in class XmlAdapter<lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig,UserConfig>
Exception
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.