Class Identity

java.lang.Object
sailpoint.tools.xml.AbstractXmlObject
sailpoint.object.SailPointObject
sailpoint.object.AbstractCertifiableEntity
sailpoint.object.Identity
All Implemented Interfaces:
Serializable, sailpoint.tools.xml.PersistentXmlObject, sailpoint.tools.xml.XMLReferenceTarget

public class Identity extends sailpoint.object.AbstractCertifiableEntity
See Also:
  • Field Summary

    Fields inherited from class sailpoint.object.SailPointObject

    ATT_DESCRIPTIONS, MAX_EXTENDED_ATTRIBUTES, MAX_EXTENDED_IDENTITY_ATTRIBUTES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Get a list of Bundle Objects of the assigned Roles of the Identity
    Get the attribute value given the name of the attribute
     
     
     
    Get the display name of the Identity
    Get the email of the Identity
    Get the first name of the Identity
    Get the full name of the Identity
    Get the calling Identity Id
    Get the last name of the Identity
     
    Get a list of links that the Identity is connected to
    Get a list of links that the Identity is connected to from the specified application id or name.
    Get's the calling Identities Manager Object
    boolean
    Get true/false if the Identity is a manager
    Get the calling Identity name
    Gets the role assignments on the entity
    Get the attribute value as a string given the name of the attribute on the Identity.
     
    getTypeName(boolean plural)
    Returns a UI friendly name for the entity type.
    boolean
     
    boolean
    Indicates that you can difference this entity.
    boolean
    Return if this entity is "inactive".
    Get the calling Identity as a string

    Methods inherited from class sailpoint.object.AbstractCertifiableEntity

    getBundles, getBundles

    Methods inherited from class sailpoint.object.SailPointObject

    addAttributeMetaData, addSignOff, clearPersistentIdentity, deepCopy, equals, getAttributeMetaData, getAttributeMetaData, getAuditClassName, getByNameComparator, getCreated, getDescription, getDisplayColumns, getDisplayFormat, getExtendedAttributes, getExtendedIdentity, getExtendedIdentity1, getExtendedIdentity10, getExtendedIdentity11, getExtendedIdentity12, getExtendedIdentity13, getExtendedIdentity14, getExtendedIdentity15, getExtendedIdentity16, getExtendedIdentity17, getExtendedIdentity18, getExtendedIdentity19, getExtendedIdentity2, getExtendedIdentity20, getExtendedIdentity3, getExtendedIdentity4, getExtendedIdentity5, getExtendedIdentity6, getExtendedIdentity7, getExtendedIdentity8, getExtendedIdentity9, getExternalAttributes, getLock, getLockInfo, getModified, getOwner, getPendingWorkflow, getReferenceClass, getReferenceId, getReferenceName, getSignOffs, getUid, getUniqueKeyProperties, hasAssignedScope, hashCode, hasName, isDirty, isDisabled, isImmutable, isLocked, isNameUnique, isPersisted, isXml, load, remove, removeAttributeMetaData, setAttributeMetaData, setCreated, setDescription, setDirty, setDisabled, setExtended, setExtendedIdentity, setExtendedIdentity1, setExtendedIdentity10, setExtendedIdentity11, setExtendedIdentity12, setExtendedIdentity13, setExtendedIdentity14, setExtendedIdentity15, setExtendedIdentity16, setExtendedIdentity17, setExtendedIdentity18, setExtendedIdentity19, setExtendedIdentity2, setExtendedIdentity20, setExtendedIdentity3, setExtendedIdentity4, setExtendedIdentity5, setExtendedIdentity6, setExtendedIdentity7, setExtendedIdentity8, setExtendedIdentity9, setExternalAttributes, setId, setImmutable, setLock, setModified, setName, setOwner, setPendingWorkflow, setUid, supportsExtendedIdentity

    Methods inherited from class sailpoint.tools.xml.AbstractXmlObject

    getOriginalXml, parseXml, parseXml, parseXml, setOriginalXml, toXml, toXml, toXml, writeXml

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Identity

      public Identity()
  • Method Details

    • toString

      public String toString()
      Get the calling Identity as a string
      Overrides:
      toString in class sailpoint.object.SailPointObject
      Returns:
      The string representation of the Identity
    • getId

      public String getId()
      Get the calling Identity Id
      Overrides:
      getId in class sailpoint.object.SailPointObject
      Returns:
      The string Id of the Identity
    • getName

      public String getName()
      Get the calling Identity name
      Overrides:
      getName in class sailpoint.object.SailPointObject
      Returns:
      The string name of the Identity
    • getManager

      public Identity getManager()
      Get's the calling Identities Manager Object
      Returns:
      The manager's Identity Object
    • getManagerStatus

      public boolean getManagerStatus()
      Get true/false if the Identity is a manager
      Returns:
      true/false is the Identity a manager
    • getLinks

      public List<Link> getLinks()
      Get a list of links that the Identity is connected to
      Returns:
      List of Link Objects
    • getLinksByAppIdOrName

      public List<Link> getLinksByAppIdOrName(String id, String name)
      Get a list of links that the Identity is connected to from the specified application id or name. You can only specify the id or name.
      Parameters:
      id - the identifier of the application
      name - the name of the application
      Returns:
      List of Link(Account) Objects
    • getAssignedRoles

      public List<Bundle> getAssignedRoles()
      Get a list of Bundle Objects of the assigned Roles of the Identity
      Overrides:
      getAssignedRoles in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      List of Bundle Objects
    • getBundles

      public List<Bundle> getBundles()
      Overrides:
      getBundles in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      List of all detected roles for this entity.
    • getAttributes

      public Attributes<String,Object> getAttributes()
    • isCorrelated

      public boolean isCorrelated()
    • getFirstname

      public String getFirstname()
      Get the first name of the Identity
      Returns:
      the first name as a String
    • getLastname

      public String getLastname()
      Get the last name of the Identity
      Returns:
      the last name as a String
    • getFullName

      public String getFullName()
      Get the full name of the Identity
      Specified by:
      getFullName in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      the full name as a String
    • getDisplayName

      public String getDisplayName()
      Get the display name of the Identity
      Returns:
      the display name as a String
    • getDisplayableName

      public String getDisplayableName()
    • getEmail

      public String getEmail()
      Get the email of the Identity
      Returns:
      the email as a String
    • isInactive

      public boolean isInactive()
      Description copied from class: sailpoint.object.AbstractCertifiableEntity
      Return if this entity is "inactive". If true, the entity will optionally be put in the inactive list on the certification and not require certification.
      Overrides:
      isInactive in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      if this entity is "inactive". If the entity does not support the notion of "inactive", this returns false.
    • getAttribute

      public Object getAttribute(String name)
      Get the attribute value given the name of the attribute
      Parameters:
      name - The name of the attribute to get on an Identity. Examples include: manager, administrator, bundles, assignedRoles, capabilities, rights, workgroups, managerStatus, lastRefresh, correlated
      Returns:
      the attribute Object
    • getStringAttribute

      public String getStringAttribute(String name)
      Get the attribute value as a string given the name of the attribute on the Identity.
      Parameters:
      name -
      Returns:
      the attribute value as a string
    • getLink

      public Link getLink(Application res)
    • getAssignedRole

      public Bundle getAssignedRole(String id)
    • getRoleAssignments

      public List<RoleAssignment> getRoleAssignments()
      Description copied from class: sailpoint.object.AbstractCertifiableEntity
      Gets the role assignments on the entity
      Overrides:
      getRoleAssignments in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      List of all role assignments for this entity
    • getTypeName

      public String getTypeName(boolean plural)
      Description copied from class: sailpoint.object.AbstractCertifiableEntity
      Returns a UI friendly name for the entity type. Currently this is used when the Certificationer needs to return a warning such as 'no users to certify'.
      Specified by:
      getTypeName in class sailpoint.object.AbstractCertifiableEntity
      Parameters:
      plural - Should the type name be plural?
      Returns:
      Entity type name is pluralized if plural flag is true
    • getType

      public String getType()
    • isDifferencable

      public boolean isDifferencable()
      Indicates that you can difference this entity. In some cases, such as AccountGroup/ManagedAttribute objects, you cannot. This allows the certification to skip the differencing step.
      Specified by:
      isDifferencable in class sailpoint.object.AbstractCertifiableEntity
      Returns:
      true if this entity can be differenced