Vector indIdVec = new Vector();
try {
PreferenceHome hm = (PreferenceHome) CVUtility.getHomeObject("com.centraview.preference.PreferenceHome",
"Preference");
Preference remote = hm.create();
remote.setDataSource(dataSource);
// FIXME Delegation of Email through getCalendarDelegatorIds??
if (typeofModule.equals(Constants.ACTIVITYMODULE)) {
moduleName = Constants.ACTIVITYMODULE;
} else if (typeofModule.equals(Constants.ACTIVITYMODULE)) {
moduleName = Constants.EMAILMODULE;
}
indIdVec = remote.getCalendarDelegatorIds(userID, moduleName, typeofoperation);
if (moduleName.equals(Constants.EMAILMODULE)) {
indIdVec.addElement((new Integer(userID)).toString());
}
} catch (Exception e) {
logger.error("[getCalendarDelegatorIds] Exception thrown.", e);