Class UserConfigXmlAdapter


  • @StableMinor(version="14.1",
                 sinceVersion="8.0")
    public class UserConfigXmlAdapter
    extends XmlAdapter<lumis.portal.user.UserConfigXmlAdapter.AdaptedUserConfig,​UserConfig>
    Adapter for converting between an 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:

    • {"id":"8A488AF9475E73CD01475FEAEC140F88"}
    • "8A488AF9475E73CD01475FEAEC140F88"
    Since:
    8.0.0
    Version:
    $Revision: 24683 $ $Date: 2021-08-23 18:55:58 -0300 (Mon, 23 Aug 2021) $
    • Constructor Detail

      • UserConfigXmlAdapter

        public UserConfigXmlAdapter()