Interface ExternalDataParser


  • public interface ExternalDataParser
    Parses external data into types usable in Unity API.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(java.lang.String unityAttributeName, java.lang.String group, java.util.List<?> externalValues)  
      pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute, java.lang.String group, java.util.List<?> externalValues, java.lang.String idp, java.lang.String profile)  
      <T> pl.edu.icm.unity.types.basic.Attribute parseAsConfirmedAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute, java.lang.String group, java.util.List<?> externalValues, java.lang.String idp, java.lang.String profile)  
      pl.edu.icm.unity.types.basic.IdentityParam parseAsConfirmedIdentity​(IdentityTypeDefinition identityType, java.lang.Object externalValue, java.lang.String idp, java.lang.String profile)  
      pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(java.lang.String identityType, java.lang.Object externalValue)  
      pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(IdentityTypeDefinition identityType, java.lang.Object externalValue, java.lang.String idp, java.lang.String profile)  
    • Method Detail

      • parseAsAttribute

        pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(java.lang.String unityAttributeName,
                                                                java.lang.String group,
                                                                java.util.List<?> externalValues)
                                                         throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsAttribute

        pl.edu.icm.unity.types.basic.Attribute parseAsAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute,
                                                                java.lang.String group,
                                                                java.util.List<?> externalValues,
                                                                java.lang.String idp,
                                                                java.lang.String profile)
                                                         throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsConfirmedAttribute

        <T> pl.edu.icm.unity.types.basic.Attribute parseAsConfirmedAttribute​(pl.edu.icm.unity.types.basic.AttributeType unityAttribute,
                                                                             java.lang.String group,
                                                                             java.util.List<?> externalValues,
                                                                             java.lang.String idp,
                                                                             java.lang.String profile)
                                                                      throws pl.edu.icm.unity.exceptions.IllegalAttributeValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalAttributeValueException
      • parseAsIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(java.lang.String identityType,
                                                                   java.lang.Object externalValue)
                                                            throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException
      • parseAsIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsIdentity​(IdentityTypeDefinition identityType,
                                                                   java.lang.Object externalValue,
                                                                   java.lang.String idp,
                                                                   java.lang.String profile)
                                                            throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException
      • parseAsConfirmedIdentity

        pl.edu.icm.unity.types.basic.IdentityParam parseAsConfirmedIdentity​(IdentityTypeDefinition identityType,
                                                                            java.lang.Object externalValue,
                                                                            java.lang.String idp,
                                                                            java.lang.String profile)
                                                                     throws pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        Throws:
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException