public abstract class AbstractLdapSynchronizer extends LdapSynchronizer
Modifier and Type | Field and Description |
---|---|
static int |
GROUP_SEARCH_PAGE_SIZE
The default search page result for group searches
|
static int |
USER_SEARCH_PAGE_SIZE
The default search page result for user searches
|
Constructor and Description |
---|
AbstractLdapSynchronizer()
A default constructor.
|
Modifier and Type | Method and Description |
---|---|
LdapSyncListener |
getLDAPSyncListener()
Returns the listener object that receives synchronization events.
|
SynchronizerSettings |
getSynchronizerSettings()
Returns synchronizer settings configured.
|
SyncParameters |
getSyncParameters()
Returns the synchronization parameters used
during the synchronization.
|
void |
init(LdapSynchronizerInitData initData)
Initializes the synchronizer with the initialization data that's
obtained from configuration values.
|
boolean |
isFullSyncNeeded()
Returns whether a full synchronizaiton is needed or not.
|
boolean |
isSyncNeeded()
Returns whether synchronization is needed or not.
|
void |
performSync(java.sql.Connection con,
SyncParameters syncParams,
UserInfo userInfo)
Performs the synchronization operation based on the synchronization
parameters.
|
void |
setLDAPSyncListener(LdapSyncListener ldapSyncListener)
Sets the listener object that gets notification events during
synchronization process.
|
void |
setOwner(LdapSyncTask val)
Set reference to the calling class
|
public static final int USER_SEARCH_PAGE_SIZE
public static final int GROUP_SEARCH_PAGE_SIZE
public AbstractLdapSynchronizer()
public void init(LdapSynchronizerInitData initData) throws LdapSyncException
init
in class LdapSynchronizer
initData
- initialization dataLdapSyncException
- if fail to initializepublic SyncParameters getSyncParameters()
public SynchronizerSettings getSynchronizerSettings()
public void performSync(java.sql.Connection con, SyncParameters syncParams, UserInfo userInfo) throws LdapSyncException
performSync
in class LdapSynchronizer
con
- database connection to be used for synchronizing
LDAP data with MAXIMO database tables.syncParams
- synchronization prametersLdapSyncException
- if fails to synchronizepublic void setOwner(LdapSyncTask val)
public boolean isFullSyncNeeded()
public boolean isSyncNeeded()
public void setLDAPSyncListener(LdapSyncListener ldapSyncListener)
ldapSyncListener
- a listener object that need to receive
synchronization events.public LdapSyncListener getLDAPSyncListener()