Package pl.edu.icm.unity.engine.api
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
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_OUTPUT_PROFILE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addProfile(TranslationProfile toAdd)
TranslationProfile
getInputProfile(String name)
TranslationProfile
getOutputProfile(String name)
Map<String,TranslationProfile>
listInputProfiles()
Map<String,TranslationProfile>
listOutputProfiles()
void
removeProfile(ProfileType type, String name)
void
updateProfile(TranslationProfile updated)
-
-
-
Field Detail
-
DEFAULT_OUTPUT_PROFILE
static final String DEFAULT_OUTPUT_PROFILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addProfile
void addProfile(TranslationProfile toAdd) throws EngineException
- Throws:
EngineException
-
removeProfile
void removeProfile(ProfileType type, String name) throws EngineException
- Throws:
EngineException
-
updateProfile
void updateProfile(TranslationProfile updated) throws EngineException
- Throws:
EngineException
-
getInputProfile
TranslationProfile getInputProfile(String name) throws EngineException
- Throws:
EngineException
-
getOutputProfile
TranslationProfile getOutputProfile(String name) throws EngineException
- Throws:
EngineException
-
listInputProfiles
Map<String,TranslationProfile> listInputProfiles() throws EngineException
- Throws:
EngineException
-
listOutputProfiles
Map<String,TranslationProfile> listOutputProfiles() throws EngineException
- Throws:
EngineException
-
-