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()
SyncedIdentity
getId
in interface SyncedIdentity
@Nullable public @Nullable ExternalIdentityRef getExternalIdRef()
SyncedIdentity
getExternalIdRef
in interface SyncedIdentity
null
public boolean isGroup()
SyncedIdentity
isGroup
in interface SyncedIdentity
true
if group.public long lastSynced()
SyncedIdentity
lastSynced
in interface SyncedIdentity
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved