wt.meeting
Class StandardMeetingService

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.meeting.StandardMeetingService
All Implemented Interfaces:
Manager, MeetingService, NetFactor, Serializable

public class StandardMeetingService
extends StandardManager
implements MeetingService, Serializable

Use the newStandardMeetingService static factory method(s), not the StandardMeetingService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Nested Class Summary
private  class StandardMeetingService.compareMeetings
           
(package private)  class StandardMeetingService.MeetingServiceEventListener
           
 
Field Summary
private static String CLASSNAME
           
private static String encodingType
           
private static String RESOURCE
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardMeetingService()
           
 
Method Summary
private  void addParticipant(Meeting theMeeting, String userOrGroupOID)
           
 MeetingCenterMeetingInfo addParticipantsToMeeting(MeetingCenterMeetingInfo theMeeting, String[] newParticipants)
          

Supported API: false
private  void addSubjectItem(Meeting theMeeting, String subjectItemOID)
           
 MeetingCenterMeetingInfo addSubjectObject(MeetingCenterMeetingInfo theMeeting, String objectID)
          Adds a SubjectObject to the meeting, a MeetingCenterInfo object is returned which reflects this update.
private  MeetingCenterMeetingInfo addSubjectObjects(MeetingCenterMeetingInfo theInfo)
           
 MeetingCenterMeetingInfo addTextAgenda(MeetingCenterMeetingInfo theMeeting, String agendaContent)
          This method is used to add a text agenda to the Meeting object.
 MeetingCenterMeetingInfo addTextMinutes(MeetingCenterMeetingInfo theMeeting, String minutesContent)
          This method is used to add Textual Minutes to the Meeting object.
 void cancelMeeting(MeetingCenterMeetingInfo theMeeting)
          

Supported API: false
 MeetingCenterMeetingInfo createMeeting(MeetingCenterMeetingInfo theMeeting)
          Creates a Meeting object.
static void doNotificationSend(Meeting meeting, MeetingOperationType opType, DistributionList list)
           
 void endPVMeeting(String meetingOID)
          

Supported API: false
private  MeetingParticipantLink findMeetingParticipantLink(Meeting meeting, WTPrincipal prin)
           
 Vector findMeetings(WTContainer container)
          

Supported API: false
private static Enumeration findMeetingsHostedByUser(WTUser wtuser, WTContainer container)
           
private  MeetingSubjectLink findMeetingSubjectLink(Meeting meeting, WTObject subject)
           
 Vector findProjectMeetings(Project2 proj)
          Deprecated.  
 Vector findUserMeetings(WTUser user)
          

Supported API: false
private static Enumeration findUserMeetings(WTUser wtuser, WTContainer container)
           
 String getConceptualClassname()
          Deprecated.  
private  WTContainer getContainer(String objectOid)
           
private  Meeting getMeeting(String meetingOid)
           
private  MeetingCenterMeeting getMeetingByKey(String meetingKey)
           
private  WTDistributionList getMeetingDistributionList(Meeting meeting)
           
 Forum getMeetingForum(MeetingCenterMeetingInfo theMeeting)
          

Supported API: false
 String getMeetingKey(String meetingOID)
          

Supported API: false
 MeetingCenterMeetingInfo[] getMeetingList(Project2 proj)
          

Supported API: false
 MeetingCenterMeetingInfo[] getMeetingList(WTPrincipal me)
          

Supported API: false
 MeetingType getMeetingType(String meetingOID)
          

Supported API: false
 String getMeetingURL(MeetingCenterMeeting meeting)
          

Supported API: false
 WTUser[] getParticipantUserList(Meeting meeting)
          

Supported API: false
protected static WTPrincipalReference getPrincipalRef(MeetingCenterMeetingInfo theMeeting)
           
 String getPropertiesPageURL(String fullName, Class argClass, Object arg)
          

Supported API: false
 String hostPVMeeting(String meetingOID)
          

Supported API: false
private  String[] inList2NotInList1(String[] list1, String[] list2)
           
 void invokeNotificationSender(Meeting meeting, MeetingOperationType opType, DistributionList list)
           
private  boolean isInList(String[] list, String key)
           
 boolean isParticipant(Meeting meeting, WTUser user)
          

Supported API: false
 String joinPVMeeting(String meetingOID, String passwd)
          

Supported API: false
static StandardMeetingService newStandardMeetingService()
          Default factory for the class.
protected  void performStartupProcess()
          

Supported API: false
private  void printStringList(String[] list, String name)
           
 MeetingCenterMeetingInfo removeParticipants(MeetingCenterMeetingInfo theMeeting, String[] removalList)
          

Supported API: false
 MeetingCenterMeetingInfo removeSubjectObject(MeetingCenterMeetingInfo theMeeting, String objectID)
          Removes the specified subject object.
private  void replaceUserMeetingParticipation(WTContainer container, WTUser replacedUser, WTUser newUser)
           
private  void sendMeetingNotifications(Meeting meeting, MeetingOperationType opType)
           
private static void setMeetingCenterProps(MeetingCenterMeeting mcm)
           
private  Timestamp stringToTimestamp(String dateTimeString, String formatString)
          This method takes a WTStandardDateFormat conforming string and returns a java.sql.Date object.
 MeetingCenterMeetingInfo updateMeeting(MeetingCenterMeetingInfo theMeeting)
          Deprecated.  
 MeetingCenterMeeting updateMeetingCenterMeetingStatus(String meetingKey, MeetingStatus status)
          

Supported API: false
 void updateMeetingKey(String meetingOID, String key)
          

Supported API: false
 Meeting updateMeetingStatus(Meeting meeting, MeetingStatus status)
          

Supported API: false
 void updateMeetingStatus(String meetingOID, MeetingStatus status)
          

Supported API: false
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

encodingType

private static final String encodingType
See Also:
Constant Field Values
Constructor Detail

StandardMeetingService

public StandardMeetingService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

performStartupProcess

protected void performStartupProcess()
                              throws ManagerException


Supported API: false

Overrides:
performStartupProcess in class StandardManager
Throws:
ManagerException

newStandardMeetingService

public static StandardMeetingService newStandardMeetingService()
                                                        throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardMeetingService
Throws:
WTException

createMeeting

public MeetingCenterMeetingInfo createMeeting(MeetingCenterMeetingInfo theMeeting)
                                       throws WTException,
                                              WTPropertyVetoException
Creates a Meeting object. A MeetingCenterMeetingInfo object is returned when the round trips are completed.

Supported API: false

Specified by:
createMeeting in interface MeetingService
Parameters:
theMeeting -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException
WTPropertyVetoException

updateMeeting

public MeetingCenterMeetingInfo updateMeeting(MeetingCenterMeetingInfo theMeeting)
                                       throws WTException
Deprecated.  

Updates all the meeting attributes. Should be used sparingly since several queries need to be performed to perform this update. Returns the MeetingCenterMeetingInfo object corresponding to the new values.

Supported API: false

Specified by:
updateMeeting in interface MeetingService
Parameters:
theMeeting -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

getMeetingForum

public Forum getMeetingForum(MeetingCenterMeetingInfo theMeeting)
                      throws WTException


Supported API: false

Specified by:
getMeetingForum in interface MeetingService
Parameters:
theMeeting -
Returns:
Forum
Throws:
WTException

addSubjectObject

public MeetingCenterMeetingInfo addSubjectObject(MeetingCenterMeetingInfo theMeeting,
                                                 String objectID)
                                          throws WTException
Adds a SubjectObject to the meeting, a MeetingCenterInfo object is returned which reflects this update.

Supported API: false

Specified by:
addSubjectObject in interface MeetingService
Parameters:
theMeeting -
objectID -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

removeSubjectObject

public MeetingCenterMeetingInfo removeSubjectObject(MeetingCenterMeetingInfo theMeeting,
                                                    String objectID)
                                             throws WTException
Removes the specified subject object. The updated MeetingCenterMeetingInfo object is returned.

Supported API: false

Specified by:
removeSubjectObject in interface MeetingService
Parameters:
theMeeting -
objectID -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

cancelMeeting

public void cancelMeeting(MeetingCenterMeetingInfo theMeeting)
                   throws WTException


Supported API: false

Specified by:
cancelMeeting in interface MeetingService
Parameters:
theMeeting -
Throws:
WTException

getMeetingList

public MeetingCenterMeetingInfo[] getMeetingList(WTPrincipal me)
                                          throws WTException


Supported API: false

Specified by:
getMeetingList in interface MeetingService
Parameters:
me -
Returns:
MeetingCenterMeetingInfo[]
Throws:
WTException

getMeetingList

public MeetingCenterMeetingInfo[] getMeetingList(Project2 proj)
                                          throws WTException


Supported API: false

Specified by:
getMeetingList in interface MeetingService
Parameters:
proj -
Returns:
MeetingCenterMeetingInfo[]
Throws:
WTException

findProjectMeetings

public Vector findProjectMeetings(Project2 proj)
                           throws WTException
Deprecated.  



Supported API: false

Specified by:
findProjectMeetings in interface MeetingService
Parameters:
proj -
Returns:
Vector
Throws:
WTException

findUserMeetings

public Vector findUserMeetings(WTUser user)
                        throws WTException


Supported API: false

Specified by:
findUserMeetings in interface MeetingService
Parameters:
user -
Returns:
Vector
Throws:
WTException

addParticipantsToMeeting

public MeetingCenterMeetingInfo addParticipantsToMeeting(MeetingCenterMeetingInfo theMeeting,
                                                         String[] newParticipants)
                                                  throws WTException


Supported API: false

Specified by:
addParticipantsToMeeting in interface MeetingService
Parameters:
theMeeting -
newParticipants -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

removeParticipants

public MeetingCenterMeetingInfo removeParticipants(MeetingCenterMeetingInfo theMeeting,
                                                   String[] removalList)
                                            throws WTException


Supported API: false

Specified by:
removeParticipants in interface MeetingService
Parameters:
theMeeting -
removalList -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

addTextAgenda

public MeetingCenterMeetingInfo addTextAgenda(MeetingCenterMeetingInfo theMeeting,
                                              String agendaContent)
                                       throws WTException
This method is used to add a text agenda to the Meeting object. If the meeting already has an agenda object associated with it, the agenda object is updated. The updated MeetingCenterMeetingInfo object is returned.

Supported API: false

Specified by:
addTextAgenda in interface MeetingService
Parameters:
theMeeting -
agendaContent -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

addTextMinutes

public MeetingCenterMeetingInfo addTextMinutes(MeetingCenterMeetingInfo theMeeting,
                                               String minutesContent)
                                        throws WTException
This method is used to add Textual Minutes to the Meeting object. If the meeting already has a minutes object associated with it, the minutes object is updated. The updated MeetingCenterMeetingInfo object is returned

Supported API: false

Specified by:
addTextMinutes in interface MeetingService
Parameters:
theMeeting -
minutesContent -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

getPropertiesPageURL

public String getPropertiesPageURL(String fullName,
                                   Class argClass,
                                   Object arg)
                            throws WTException


Supported API: false

Specified by:
getPropertiesPageURL in interface MeetingService
Parameters:
fullName - Fully qualified method name to return the URL.
argClass - The class of the first argument in the URL method.
arg - The object passed to the URL method.
Returns:
String
Throws:
WTException

updateMeetingStatus

public Meeting updateMeetingStatus(Meeting meeting,
                                   MeetingStatus status)
                            throws WTException


Supported API: false

Specified by:
updateMeetingStatus in interface MeetingService
Parameters:
meeting -
status -
Returns:
Meeting
Throws:
WTException

updateMeetingStatus

public void updateMeetingStatus(String meetingOID,
                                MeetingStatus status)
                         throws WTException


Supported API: false

Specified by:
updateMeetingStatus in interface MeetingService
Parameters:
meetingOID -
status -
Throws:
WTException

updateMeetingCenterMeetingStatus

public MeetingCenterMeeting updateMeetingCenterMeetingStatus(String meetingKey,
                                                             MeetingStatus status)
                                                      throws WTException


Supported API: false

Specified by:
updateMeetingCenterMeetingStatus in interface MeetingService
Parameters:
meetingKey -
status -
Returns:
MeetingCenterMeeting
Throws:
WTException

getParticipantUserList

public WTUser[] getParticipantUserList(Meeting meeting)
                                throws WTException


Supported API: false

Specified by:
getParticipantUserList in interface MeetingService
Parameters:
meeting -
Returns:
WTUser[]
Throws:
WTException

getMeetingURL

public String getMeetingURL(MeetingCenterMeeting meeting)
                     throws WTException


Supported API: false

Specified by:
getMeetingURL in interface MeetingService
Parameters:
meeting -
Returns:
String
Throws:
WTException

updateMeetingKey

public void updateMeetingKey(String meetingOID,
                             String key)
                      throws WTException


Supported API: false

Specified by:
updateMeetingKey in interface MeetingService
Parameters:
meetingOID -
key -
Throws:
WTException

getMeetingKey

public String getMeetingKey(String meetingOID)
                     throws WTException


Supported API: false

Specified by:
getMeetingKey in interface MeetingService
Parameters:
meetingOID -
Returns:
String
Throws:
WTException

hostPVMeeting

public String hostPVMeeting(String meetingOID)
                     throws WTException


Supported API: false

Specified by:
hostPVMeeting in interface MeetingService
Parameters:
meetingOID -
Returns:
String
Throws:
WTException

endPVMeeting

public void endPVMeeting(String meetingOID)
                  throws WTException


Supported API: false

Specified by:
endPVMeeting in interface MeetingService
Parameters:
meetingOID -
Throws:
WTException

joinPVMeeting

public String joinPVMeeting(String meetingOID,
                            String passwd)
                     throws WTException


Supported API: false

Specified by:
joinPVMeeting in interface MeetingService
Parameters:
meetingOID -
passwd -
Returns:
String
Throws:
WTException

getMeetingType

public MeetingType getMeetingType(String meetingOID)
                           throws WTException


Supported API: false

Specified by:
getMeetingType in interface MeetingService
Parameters:
meetingOID -
Returns:
MeetingType
Throws:
WTException

findMeetings

public Vector findMeetings(WTContainer container)
                    throws WTException


Supported API: false

Specified by:
findMeetings in interface MeetingService
Parameters:
container -
Returns:
Vector
Throws:
WTException

isParticipant

public boolean isParticipant(Meeting meeting,
                             WTUser user)
                      throws WTException


Supported API: false

Specified by:
isParticipant in interface MeetingService
Parameters:
meeting -
user -
Returns:
boolean
Throws:
WTException

isInList

private boolean isInList(String[] list,
                         String key)

addSubjectObjects

private MeetingCenterMeetingInfo addSubjectObjects(MeetingCenterMeetingInfo theInfo)
                                            throws WTException
Throws:
WTException

getMeeting

private Meeting getMeeting(String meetingOid)
                    throws WTException
Returns:
Meeting a meeting corresponding to the object reference.
Throws:
WTException

getContainer

private WTContainer getContainer(String objectOid)
                          throws WTException
Throws:
WTException

stringToTimestamp

private Timestamp stringToTimestamp(String dateTimeString,
                                    String formatString)
                             throws WTException
This method takes a WTStandardDateFormat conforming string and returns a java.sql.Date object.

Throws:
WTException

addSubjectItem

private void addSubjectItem(Meeting theMeeting,
                            String subjectItemOID)
                     throws WTException
Throws:
WTException

addParticipant

private void addParticipant(Meeting theMeeting,
                            String userOrGroupOID)
                     throws WTException
Throws:
WTException

findMeetingSubjectLink

private MeetingSubjectLink findMeetingSubjectLink(Meeting meeting,
                                                  WTObject subject)
                                           throws WTException
Throws:
WTException

findMeetingParticipantLink

private MeetingParticipantLink findMeetingParticipantLink(Meeting meeting,
                                                          WTPrincipal prin)
                                                   throws WTException
Throws:
WTException

getPrincipalRef

protected static WTPrincipalReference getPrincipalRef(MeetingCenterMeetingInfo theMeeting)
                                               throws WTException
Throws:
WTException

sendMeetingNotifications

private void sendMeetingNotifications(Meeting meeting,
                                      MeetingOperationType opType)
                               throws WTException
Throws:
WTException

doNotificationSend

public static void doNotificationSend(Meeting meeting,
                                      MeetingOperationType opType,
                                      DistributionList list)
                               throws WTException
Throws:
WTException

getMeetingDistributionList

private WTDistributionList getMeetingDistributionList(Meeting meeting)
                                               throws WTException
Throws:
WTException

invokeNotificationSender

public void invokeNotificationSender(Meeting meeting,
                                     MeetingOperationType opType,
                                     DistributionList list)
                              throws WTException
Throws:
WTException

getMeetingByKey

private MeetingCenterMeeting getMeetingByKey(String meetingKey)
                                      throws WTException
Throws:
WTException

setMeetingCenterProps

private static void setMeetingCenterProps(MeetingCenterMeeting mcm)
                                   throws WTException
Throws:
WTException

inList2NotInList1

private String[] inList2NotInList1(String[] list1,
                                   String[] list2)

printStringList

private void printStringList(String[] list,
                             String name)

replaceUserMeetingParticipation

private void replaceUserMeetingParticipation(WTContainer container,
                                             WTUser replacedUser,
                                             WTUser newUser)
                                      throws WTException
Throws:
WTException

findUserMeetings

private static Enumeration findUserMeetings(WTUser wtuser,
                                            WTContainer container)
                                     throws WTException
Throws:
WTException

findMeetingsHostedByUser

private static Enumeration findMeetingsHostedByUser(WTUser wtuser,
                                                    WTContainer container)
                                             throws WTException
Throws:
WTException