Interface SyncedIdentity
-
- All Known Implementing Classes:
DefaultSyncedIdentity
public interface SyncedIdentityRepresents a synchronized identity managed by aSyncHandler.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ExternalIdentityRefgetExternalIdRef()Returns the external reference of this identity.@NotNull java.lang.StringgetId()Returns the internal id or name of the corresponding authorizable.booleanisGroup()Checks if this identity represents a group.longlastSynced()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 java.lang.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:
trueif 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.
-
-