All Known Implementing Classes:
DefaultSyncedIdentity

public interface SyncedIdentity
Represents a synchronized identity managed by a SyncHandler.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the external reference of this identity.
    @NotNull String
    Returns the internal id or name of the corresponding authorizable.
    boolean
    Checks if this identity represents a group.
    long
    Returns the time when this identity was last synced or a value less or equal to 0 if it was never synced.
  • Method Details

    • getId

      @NotNull @NotNull String getId()
      Returns the internal id or name of the corresponding authorizable.
      Returns:
      the id.
    • getExternalIdRef

      @Nullable @Nullable ExternalIdentityRef getExternalIdRef()
      Returns the external reference of this identity.
      Returns:
      the reference or null
    • isGroup

      boolean isGroup()
      Checks if this identity represents a group.
      Returns:
      true if group.
    • lastSynced

      long lastSynced()
      Returns the time when this identity was last synced or a value less or equal to 0 if it was never synced.
      Returns:
      the time when this identity was last synced.