com.xmatters.ibm.tivoli.datasync
Class GroupDataSync

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

public class GroupDataSync
extends java.lang.Object

Contains all of the methods used for group, team and coverage synchronization with AlarmPoint

Author:
bneate

Constructor Summary
GroupDataSync()
           
 
Method Summary
 java.lang.String processAllGroups()
          Using web services query the Tivoli SRM server for all groups then push that data to AlarmPoint
 java.lang.String processGroupDocument(org.dom4j.Document document)
          Process the specified Document adding/updating/deleting the Group, Team and Coverage in AlarmPoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupDataSync

public GroupDataSync()
Method Detail

processAllGroups

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

Returns:
A string detailing successful/unsuccessful records synchronized

processGroupDocument

public java.lang.String processGroupDocument(org.dom4j.Document document)
Process the specified Document adding/updating/deleting the Group, Team and Coverage 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