Interface SyncedIdentity
- All Known Implementing Classes:
DefaultSyncedIdentity
public interface SyncedIdentity
Represents a synchronized identity managed by a
SyncHandler.-
Method Summary
Modifier and TypeMethodDescription@Nullable ExternalIdentityRefReturns the external reference of this identity.@NotNull StringgetId()Returns the internal id or name of the corresponding authorizable.booleanisGroup()Checks if this identity represents a group.longReturns the time when this identity was last synced or a value less or equal to 0 if it was never synced.
-
Method Details
-
getId
Returns the internal id or name of the corresponding authorizable.- Returns:
- the id.
-
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.
-