com.raritantechnologies.federated.eRoom.info
Class ERoomMembersProcess

java.lang.Object
  extended bycom.raritantechnologies.federated.eRoom.info.ERoomMembersProcess
All Implemented Interfaces:
IConfigurable, IJobProcess

public class ERoomMembersProcess
extends java.lang.Object
implements IJobProcess

Creates a list of eRoom Members and the eRooms that they have access to.

ERoom member | eRooms map is stored in a Flat File.

XML Configuration Template:
  <JobProcess class="com.raritantechnologies.federated.eRoom.info.ERoomMembersProcess" 
                 fileName="[ name of output flat file ]" 
                 delimiter="[ delimiter between userName and list of eRooms ]" >
    <!-- One or more ERoom Server tags -->
    <ERoomServer url="[ eRoom server URL ]" adminUser="[ admin user name ]" adminPw="[ admin password ]" />

  </JobProcess>
 


Constructor Summary
ERoomMembersProcess()
           
ERoomMembersProcess(java.lang.String eRoomServerURL, java.lang.String adminUser, java.lang.String adminPw, java.lang.String filename)
           
 
Method Summary
 void executeJob(RaritanPageContext rpc)
           
 void executeJob(java.lang.String[] args)
           
 java.lang.String getConfigurationXML()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
static void main(java.lang.String[] args)
           
protected  void saveERoomMembersList(java.util.HashMap memberERoomsMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERoomMembersProcess

public ERoomMembersProcess()

ERoomMembersProcess

public ERoomMembersProcess(java.lang.String eRoomServerURL,
                           java.lang.String adminUser,
                           java.lang.String adminPw,
                           java.lang.String filename)
Method Detail

executeJob

public void executeJob(RaritanPageContext rpc)
Specified by:
executeJob in interface IJobProcess

executeJob

public void executeJob(java.lang.String[] args)
Specified by:
executeJob in interface IJobProcess

saveERoomMembersList

protected void saveERoomMembersList(java.util.HashMap memberERoomsMap)

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IJobProcess

getConfigurationXML

public java.lang.String getConfigurationXML()
Specified by:
getConfigurationXML in interface IJobProcess

main

public static void main(java.lang.String[] args)