com.ptc.netmarkets.meeting
Class StandardNmMeetingService

java.lang.Object
  extended bywt.services.StandardManager
      extended bycom.ptc.netmarkets.meeting.StandardNmMeetingService
All Implemented Interfaces:
Manager, NetFactor, NmMeetingService, Serializable

public class StandardNmMeetingService
extends StandardManager
implements NmMeetingService, Serializable

Use the newStandardNmMeetingService static factory method(s), not the StandardNmMeetingService 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 StandardNmMeetingService.Timer
           
 
Field Summary
private static String CLASSNAME
           
static boolean DISABLE_REFERENCE
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
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
StandardNmMeetingService()
           
 
Method Summary
 void addMinutes(NmCommandBean cb, String minutes)
          

Supported API: false
 void cancel(NmCommandBean cb)
          

Supported API: false
private  MeetingCenterMeetingInfo convertParticipantList(MeetingCenterMeetingInfo info)
           
 void create(NmCommandBean cb, MeetingCenterMeetingInfo info)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
private  NmStandardDateFormat getDisplayDateFormat()
           
private  NmStandardDateFormat getDisplayTimeFormat()
           
private  NmNameValuePair[] getGroupsForContainer(ContainerTeamManaged container)
           
 String getHREFForSubjectItem(NmURLFactoryBean bean, Persistable p, String type, String name, boolean newWindow)
          

Supported API: false
private  QueryResult getIteratedObjectsForContainer(WTContainer container, Class concreteClass, String likePattern)
           
private  Meeting getMeeting(NmCommandBean cb, String idLocation)
           
 MeetingCenterMeetingInfo getMeetingInfo(NmCommandBean cb)
          

Supported API: false
static String getMeetingPageURL(Meeting m)
           
 NmMeeting getMeetingProperties(NmCommandBean cb)
          

Supported API: false
private  Object getNmUser(WTUser user, boolean projectContext)
           
 Hashtable getParamsFromMeeting(NmCommandBean cb)
          

Supported API: false
 Project2 getProject(NmCommandBean cb)
          

Supported API: false
private static ResourceBundle getResBundle()
           
private  TextAgenda getTextAgenda(Meeting meeting)
           
private  TextMinutes getTextMinutes(Meeting meeting)
           
 MeetingCenterMeetingInfo getTextMinutes(NmCommandBean cb)
          

Supported API: false
private  NmNameValuePair[] getUsersForContainer(ContainerTeamManaged container)
           
 NmHTMLTable list(NmCommandBean cdb)
          

Supported API: false
 Object[] listPVMeetingSubjectItems(String meetingOID)
          

Supported API: false
static StandardNmMeetingService newStandardNmMeetingService()
          Default factory for the class.
 NmNameValuePair[] searchParticipants(NmCommandBean cb, String sType, String sPattern)
          

Supported API: false
 NmNameValuePair[] searchSubjectItems(NmCommandBean cb, String sType, String sPattern)
          

Supported API: false
static void sendMeetingNotifications(Meeting meeting, MeetingOperationType meetingOpType, DistributionList list)
           
private  MeetingCenterMeetingInfo setContainerOID(NmCommandBean cb, MeetingCenterMeetingInfo info)
           
private  String translateWildcards(String pat)
           
 void update(NmCommandBean cb, MeetingCenterMeetingInfo info)
          

Supported API: false
private  NmNameValuePair[] vecToArray(Vector v)
           
 NmHTMLTable[] view(NmCommandBean cb)
          

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, performStartupProcess, 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

VERBOSE

private static final boolean VERBOSE

DISABLE_REFERENCE

public static boolean DISABLE_REFERENCE
Constructor Detail

StandardNmMeetingService

public StandardNmMeetingService()
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

newStandardNmMeetingService

public static StandardNmMeetingService newStandardNmMeetingService()
                                                            throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardNmMeetingService
Throws:
WTException

list

public NmHTMLTable list(NmCommandBean cdb)
                 throws WTException


Supported API: false

Specified by:
list in interface NmMeetingService
Parameters:
cdb -
Returns:
NmHTMLTable
Throws:
WTException

create

public void create(NmCommandBean cb,
                   MeetingCenterMeetingInfo info)
            throws WTException,
                   WTPropertyVetoException


Supported API: false

Specified by:
create in interface NmMeetingService
Parameters:
cb -
info -
Throws:
WTException
WTPropertyVetoException

update

public void update(NmCommandBean cb,
                   MeetingCenterMeetingInfo info)
            throws WTPropertyVetoException,
                   WTException


Supported API: false

Specified by:
update in interface NmMeetingService
Parameters:
cb -
info -
Throws:
WTPropertyVetoException
WTException

cancel

public void cancel(NmCommandBean cb)
            throws WTException


Supported API: false

Specified by:
cancel in interface NmMeetingService
Parameters:
cb -
Throws:
WTException

view

public NmHTMLTable[] view(NmCommandBean cb)
                   throws WTPropertyVetoException,
                          WTException


Supported API: false

Specified by:
view in interface NmMeetingService
Parameters:
cb -
Returns:
NmHTMLTable[]
Throws:
WTPropertyVetoException
WTException

addMinutes

public void addMinutes(NmCommandBean cb,
                       String minutes)
                throws WTPropertyVetoException,
                       WTException


Supported API: false

Specified by:
addMinutes in interface NmMeetingService
Parameters:
cb -
minutes -
Throws:
WTPropertyVetoException
WTException

searchParticipants

public NmNameValuePair[] searchParticipants(NmCommandBean cb,
                                            String sType,
                                            String sPattern)
                                     throws WTException


Supported API: false

Specified by:
searchParticipants in interface NmMeetingService
Parameters:
cb -
sType -
sPattern -
Returns:
NmNameValuePair[]
Throws:
WTException

searchSubjectItems

public NmNameValuePair[] searchSubjectItems(NmCommandBean cb,
                                            String sType,
                                            String sPattern)
                                     throws WTException


Supported API: false

Specified by:
searchSubjectItems in interface NmMeetingService
Parameters:
cb -
sType -
sPattern -
Returns:
NmNameValuePair[]
Throws:
WTException

getProject

public Project2 getProject(NmCommandBean cb)
                    throws WTException


Supported API: false

Specified by:
getProject in interface NmMeetingService
Parameters:
cb -
Returns:
Project2
Throws:
WTException

getTextMinutes

public MeetingCenterMeetingInfo getTextMinutes(NmCommandBean cb)
                                        throws WTException,
                                               WTPropertyVetoException


Supported API: false

Specified by:
getTextMinutes in interface NmMeetingService
Parameters:
cb -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException
WTPropertyVetoException

getParamsFromMeeting

public Hashtable getParamsFromMeeting(NmCommandBean cb)
                               throws WTException,
                                      WTPropertyVetoException


Supported API: false

Specified by:
getParamsFromMeeting in interface NmMeetingService
Parameters:
cb -
Returns:
Hashtable
Throws:
WTException
WTPropertyVetoException

getMeetingProperties

public NmMeeting getMeetingProperties(NmCommandBean cb)
                               throws WTException,
                                      WTPropertyVetoException


Supported API: false

Specified by:
getMeetingProperties in interface NmMeetingService
Parameters:
cb -
Returns:
NmMeeting
Throws:
WTException
WTPropertyVetoException

getMeetingInfo

public MeetingCenterMeetingInfo getMeetingInfo(NmCommandBean cb)
                                        throws WTException


Supported API: false

Specified by:
getMeetingInfo in interface NmMeetingService
Parameters:
cb -
Returns:
MeetingCenterMeetingInfo
Throws:
WTException

listPVMeetingSubjectItems

public Object[] listPVMeetingSubjectItems(String meetingOID)
                                   throws WTException


Supported API: false

Specified by:
listPVMeetingSubjectItems in interface NmMeetingService
Parameters:
meetingOID -
Returns:
Object[]
Throws:
WTException

getHREFForSubjectItem

public String getHREFForSubjectItem(NmURLFactoryBean bean,
                                    Persistable p,
                                    String type,
                                    String name,
                                    boolean newWindow)
                             throws WTException


Supported API: false

Specified by:
getHREFForSubjectItem in interface NmMeetingService
Parameters:
bean -
p -
type -
name -
newWindow -
Returns:
String
Throws:
WTException

getMeetingPageURL

public static String getMeetingPageURL(Meeting m)
                                throws WTException
Throws:
WTException

vecToArray

private NmNameValuePair[] vecToArray(Vector v)

translateWildcards

private String translateWildcards(String pat)

getIteratedObjectsForContainer

private QueryResult getIteratedObjectsForContainer(WTContainer container,
                                                   Class concreteClass,
                                                   String likePattern)
                                            throws WTException
Throws:
WTException

getUsersForContainer

private NmNameValuePair[] getUsersForContainer(ContainerTeamManaged container)
                                        throws WTException
Throws:
WTException

getGroupsForContainer

private NmNameValuePair[] getGroupsForContainer(ContainerTeamManaged container)
                                         throws WTException
Throws:
WTException

getTextMinutes

private TextMinutes getTextMinutes(Meeting meeting)
                            throws WTException
Throws:
WTException

getTextAgenda

private TextAgenda getTextAgenda(Meeting meeting)
                          throws WTException
Throws:
WTException

getMeeting

private Meeting getMeeting(NmCommandBean cb,
                           String idLocation)
                    throws WTException
Throws:
WTException

getDisplayDateFormat

private NmStandardDateFormat getDisplayDateFormat()
                                           throws WTException
Throws:
WTException

getDisplayTimeFormat

private NmStandardDateFormat getDisplayTimeFormat()
                                           throws WTException
Throws:
WTException

setContainerOID

private MeetingCenterMeetingInfo setContainerOID(NmCommandBean cb,
                                                 MeetingCenterMeetingInfo info)
                                          throws WTException,
                                                 WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getResBundle

private static ResourceBundle getResBundle()
                                    throws WTException
Throws:
WTException

convertParticipantList

private MeetingCenterMeetingInfo convertParticipantList(MeetingCenterMeetingInfo info)
                                                 throws WTException
Throws:
WTException

getNmUser

private Object getNmUser(WTUser user,
                         boolean projectContext)
                  throws WTException
Throws:
WTException

sendMeetingNotifications

public static void sendMeetingNotifications(Meeting meeting,
                                            MeetingOperationType meetingOpType,
                                            DistributionList list)
                                     throws WTException
Throws:
WTException