public class VMMSynchronizer extends Synchronizer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CHECKPOINT
The ParamName on LdapSyncParams table for storing check point values for the last iteration of VMMSYNC, when ChangePolling was enabled.
|
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 |
---|
VMMSynchronizer()
A default constructor.
|
Modifier and Type | Method and Description |
---|---|
VMMSynchronizerSettings |
getSynchronizerSettings()
Returns synchronizer settings configured.
|
VMMSyncParameters |
getSyncParameters()
Returns the synchronization parameters used
during the synchronization.
|
VMMSyncListener |
getVMMSyncListener()
Returns the listener object that receives synchronization events.
|
void |
init(VMMSynchronizerInitData 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,
VMMSyncParameters syncParams,
UserInfo userInfo)
Performs the synchronization operation based on the synchronization
parameters.
|
void |
setOwner(VMMSyncTask val)
Set reference to the calling class
|
void |
setVMMSyncListener(VMMSyncListener vmmSyncListener)
Sets the listener object that gets notification events during
synchronization process.
|
public static final int USER_SEARCH_PAGE_SIZE
public static final int GROUP_SEARCH_PAGE_SIZE
public static final java.lang.String CHECKPOINT
public void init(VMMSynchronizerInitData initData) throws VMMSyncException
init
in class Synchronizer
initData
- initialization dataVMMSyncException
- if fail to initializepublic VMMSyncParameters getSyncParameters()
public VMMSynchronizerSettings getSynchronizerSettings()
public void performSync(java.sql.Connection con, VMMSyncParameters syncParams, UserInfo userInfo) throws VMMSyncException
performSync
in class Synchronizer
con
- database connection to be used for synchronizing
VMM data with MAXIMO database tables.syncParams
- synchronization prametersVMMSyncException
- if fails to synchronizegetVMMSyncListener()
,
determineSynchronizationNeed()
,
#getInitialCheckpoint
,
syncVMMUsers()
,
syncVMMGroups()
,
updateSyncParameters()
public void setOwner(VMMSyncTask val)
public boolean isFullSyncNeeded()
public boolean isSyncNeeded()
public void setVMMSyncListener(VMMSyncListener vmmSyncListener)
vmmSyncListener
- a listener object that need to receive
synchronization events.public VMMSyncListener getVMMSyncListener()