com.xmatters.ibm.tivoli.datasync
Class PersonDataSync

java.lang.Object
  extended by com.xmatters.ibm.tivoli.datasync.PersonDataSync

public class PersonDataSync
extends java.lang.Object

Contains all of the methods used for user and device synchronization with AlarmPoint

Author:
bneate, amagi

Constructor Summary
PersonDataSync()
           
 
Method Summary
 java.lang.String processAllPersons()
          Using web services query the Tivoli SRM server for all Persons then push that data to AlarmPoint
 java.lang.String processPersonDocument(org.dom4j.Document document)
          Process the specified Document adding/updating/deleting the Person and their devices in AlarmPoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonDataSync

public PersonDataSync()
Method Detail

processAllPersons

public java.lang.String processAllPersons()
Using web services query the Tivoli SRM server for all Persons then push that data to AlarmPoint

Returns:
A string detailing successful/unsuccessful records synchronized

processPersonDocument

public java.lang.String processPersonDocument(org.dom4j.Document document)
Process the specified Document adding/updating/deleting the Person and their devices in AlarmPoint. Returns a boolean telling if the action was successful or not.

Parameters:
document - The Document to be processed.
Returns:
True if the action was successful and false otherwise