Class TranslationResult
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.translation.out.TranslationResult
-
public class TranslationResult extends Object
Result of output translation. Set of identities and attributes. This class is mutable: actions modify the contents one by one.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description TranslationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<DynamicAttribute>getAttributes()Collection<Attribute>getAttributesToPersist()Collection<IdentityParam>getIdentities()Collection<IdentityParam>getIdentitiesToPersist()StringgetRedirectURL()Set<String>removeAttributesByMatch(Pattern attrPattern)booleanremoveAttributesByName(String name)Set<String>removeAttributesToPersistByMatch(Pattern attrPattern)booleanremoveAttributesToPersistByName(String name)booleanremoveIdentityByType(String type)Set<IdentityParam>removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)booleanremoveIdentityToPersistByType(String type)Set<IdentityParam>removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)voidsetRedirectURL(String redirectURL)StringtoString()
-
-
-
Method Detail
-
getAttributes
public Collection<DynamicAttribute> getAttributes()
-
getIdentities
public Collection<IdentityParam> getIdentities()
-
getAttributesToPersist
public Collection<Attribute> getAttributesToPersist()
-
getIdentitiesToPersist
public Collection<IdentityParam> getIdentitiesToPersist()
-
getRedirectURL
public String getRedirectURL()
-
setRedirectURL
public void setRedirectURL(String redirectURL)
-
removeAttributesByName
public boolean removeAttributesByName(String name)
-
removeAttributesToPersistByName
public boolean removeAttributesToPersistByName(String name)
-
removeAttributesToPersistByMatch
public Set<String> removeAttributesToPersistByMatch(Pattern attrPattern)
-
removeIdentityByType
public boolean removeIdentityByType(String type)
-
removeIdentityToPersistByType
public boolean removeIdentityToPersistByType(String type)
-
removeIdentityToPersistByTypeAndValueMatch
public Set<IdentityParam> removeIdentityToPersistByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
removeIdentityByTypeAndValueMatch
public Set<IdentityParam> removeIdentityByTypeAndValueMatch(String type, Pattern idValueRegexp)
-
-