Interface TranslationProfileManagement


  • public interface TranslationProfileManagement
    This interface allows clients to manipulate translation profiles. Translation profiles are used to manipulate entities data in various moments of Unity usage. Each profile has its type which defines the place where it can be used. For instance the input profiles are used to manipulate the incoming data from external IdPs.
    Author:
    K. Benedyczak
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addProfile​(pl.edu.icm.unity.types.translation.TranslationProfile toAdd)  
      pl.edu.icm.unity.types.translation.TranslationProfile getInputProfile​(java.lang.String name)  
      pl.edu.icm.unity.types.translation.TranslationProfile getOutputProfile​(java.lang.String name)  
      java.util.Map<java.lang.String,​pl.edu.icm.unity.types.translation.TranslationProfile> listInputProfiles()  
      java.util.Map<java.lang.String,​pl.edu.icm.unity.types.translation.TranslationProfile> listOutputProfiles()  
      void removeProfile​(pl.edu.icm.unity.types.translation.ProfileType type, java.lang.String name)  
      void updateProfile​(pl.edu.icm.unity.types.translation.TranslationProfile updated)  
    • Field Detail

      • DEFAULT_OUTPUT_PROFILE

        static final java.lang.String DEFAULT_OUTPUT_PROFILE
        See Also:
        Constant Field Values
    • Method Detail

      • addProfile

        void addProfile​(pl.edu.icm.unity.types.translation.TranslationProfile toAdd)
                 throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • removeProfile

        void removeProfile​(pl.edu.icm.unity.types.translation.ProfileType type,
                           java.lang.String name)
                    throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • updateProfile

        void updateProfile​(pl.edu.icm.unity.types.translation.TranslationProfile updated)
                    throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getInputProfile

        pl.edu.icm.unity.types.translation.TranslationProfile getInputProfile​(java.lang.String name)
                                                                       throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getOutputProfile

        pl.edu.icm.unity.types.translation.TranslationProfile getOutputProfile​(java.lang.String name)
                                                                        throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • listInputProfiles

        java.util.Map<java.lang.String,​pl.edu.icm.unity.types.translation.TranslationProfile> listInputProfiles()
                                                                                                               throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • listOutputProfiles

        java.util.Map<java.lang.String,​pl.edu.icm.unity.types.translation.TranslationProfile> listOutputProfiles()
                                                                                                                throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException