public class DefaultSyncedIdentity extends java.lang.Object implements SyncedIdentity
| Constructor and Description |
|---|
DefaultSyncedIdentity(@NotNull java.lang.String id,
@Nullable ExternalIdentityRef ref,
boolean isGroup,
long lastSynced) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ExternalIdentityRef |
getExternalIdRef()
Returns the external reference of this identity.
|
@NotNull java.lang.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.
|
java.lang.String |
toString() |
public DefaultSyncedIdentity(@NotNull
@NotNull java.lang.String id,
@Nullable
@Nullable ExternalIdentityRef ref,
boolean isGroup,
long lastSynced)
@NotNull public @NotNull java.lang.String getId()
SyncedIdentitygetId in interface SyncedIdentity@Nullable public @Nullable ExternalIdentityRef getExternalIdRef()
SyncedIdentitygetExternalIdRef in interface SyncedIdentitynullpublic boolean isGroup()
SyncedIdentityisGroup in interface SyncedIdentitytrue if group.public long lastSynced()
SyncedIdentitylastSynced in interface SyncedIdentitypublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010 - 2023 Adobe. All Rights Reserved