Interface SyncedIdentity
-
- All Known Implementing Classes:
DefaultSyncedIdentity
public interface SyncedIdentity
Represents a synchronized identity managed by aSyncHandler
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ExternalIdentityRef
getExternalIdRef()
Returns the external reference of this identity.@NotNull String
getId()
Returns the internal id or name of the corresponding authorizable.boolean
isGroup()
Checks if this identity represents a group.long
lastSynced()
Returns the time when this identity was last synced or a value less or equal to 0 if it was never synced.
-
-
-
Method Detail
-
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.
-
-