Class IdentityEntry


  • public class IdentityEntry
    extends java.lang.Object
    Data object behind a row in IdentitiesGrid. Stores either an entity information or identity.
    Author:
    K. Benedyczak
    • Constructor Summary

      Constructors 
      Constructor Description
      IdentityEntry​(pl.edu.icm.unity.webui.common.EntityWithLabel entityWithLabel, java.util.Map<java.lang.String,​java.lang.String> attributes, pl.edu.icm.unity.MessageSource msg)  
      IdentityEntry​(pl.edu.icm.unity.webui.common.EntityWithLabel entityWithLabel, java.util.Map<java.lang.String,​java.lang.String> attributes, pl.edu.icm.unity.types.basic.Identity id, pl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition typeDefinition, pl.edu.icm.unity.MessageSource msg)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean anyFieldContains​(java.lang.String text, java.util.Set<java.lang.String> testedColumns)  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getAnyValue​(java.lang.String key)  
      java.lang.String getAttribute​(java.lang.String key)  
      java.lang.String getBaseValue​(io.imunity.webconsole.directoryBrowser.identities.BaseColumn key)  
      java.lang.String getCredentialStatus​(java.lang.String credential)  
      pl.edu.icm.unity.webui.common.EntityWithLabel getSourceEntity()  
      pl.edu.icm.unity.types.basic.Identity getSourceIdentity()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IdentityEntry

        public IdentityEntry​(pl.edu.icm.unity.webui.common.EntityWithLabel entityWithLabel,
                             java.util.Map<java.lang.String,​java.lang.String> attributes,
                             pl.edu.icm.unity.MessageSource msg)
      • IdentityEntry

        public IdentityEntry​(pl.edu.icm.unity.webui.common.EntityWithLabel entityWithLabel,
                             java.util.Map<java.lang.String,​java.lang.String> attributes,
                             pl.edu.icm.unity.types.basic.Identity id,
                             pl.edu.icm.unity.engine.api.identity.IdentityTypeDefinition typeDefinition,
                             pl.edu.icm.unity.MessageSource msg)
    • Method Detail

      • getAttribute

        public java.lang.String getAttribute​(java.lang.String key)
      • getBaseValue

        public java.lang.String getBaseValue​(io.imunity.webconsole.directoryBrowser.identities.BaseColumn key)
      • getCredentialStatus

        public java.lang.String getCredentialStatus​(java.lang.String credential)
      • getAnyValue

        public java.lang.String getAnyValue​(java.lang.String key)
      • getSourceEntity

        public pl.edu.icm.unity.webui.common.EntityWithLabel getSourceEntity()
      • getSourceIdentity

        public pl.edu.icm.unity.types.basic.Identity getSourceIdentity()
      • anyFieldContains

        public boolean anyFieldContains​(java.lang.String text,
                                        java.util.Set<java.lang.String> testedColumns)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object