public class DefaultSyncedIdentity extends java.lang.Object implements SyncedIdentity
Constructor and Description |
---|
DefaultSyncedIdentity(java.lang.String id,
ExternalIdentityRef ref,
boolean isGroup,
long lastSynced) |
Modifier and Type | Method and Description |
---|---|
ExternalIdentityRef |
getExternalIdRef()
Returns the external reference of this identity.
|
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(java.lang.String id, ExternalIdentityRef ref, boolean isGroup, long lastSynced)
public java.lang.String getId()
SyncedIdentity
getId
in interface SyncedIdentity
public 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 Systems Incorporated. All Rights Reserved"