com.ptc.windchill.cadx.common.htmllog
Class HTMLLogServiceFwd

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.htmllog.HTMLLogServiceFwd
All Implemented Interfaces:
HTMLLogService, RemoteAccess, Serializable

public class HTMLLogServiceFwd
extends Object
implements RemoteAccess, HTMLLogService, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String FC_RESOURCE
           
(package private) static boolean SERVER
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
HTMLLogServiceFwd()
           
 
Method Summary
 void addMessage(int messageType, String message)
          

Supported API: false
 void clearLog()
          method to clear all log messages for given user

Supported API: false
 List getLogMessages(int max_nof_messages, boolean most_recent)
          method to get list of messages for the current user Parameters : max_nof_messages - maximum no.
private static Manager getManager()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVER

static final boolean SERVER

FC_RESOURCE

private static final String FC_RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

HTMLLogServiceFwd

public HTMLLogServiceFwd()
Method Detail

getManager

private static Manager getManager()
                           throws WTException
Returns:
Manager
Throws:
WTException

clearLog

public void clearLog()
              throws WTException
method to clear all log messages for given user

Supported API: false

Specified by:
clearLog in interface HTMLLogService
Throws:
WTException

getLogMessages

public List getLogMessages(int max_nof_messages,
                           boolean most_recent)
                    throws WTException
method to get list of messages for the current user Parameters : max_nof_messages - maximum no. of messages to be returned by the method. If all messages are to be returned then -1 should be passed as parameter. most_recent - If messages are more than max_nof_messages parameter then this parameter is used to determine if most recent (parameter = true) or the first (parameter = false) messages equal to max_nof_messages should be returned.

Supported API: false

Specified by:
getLogMessages in interface HTMLLogService
Parameters:
max_nof_messages -
most_recent -
Returns:
List
Throws:
WTException

addMessage

public void addMessage(int messageType,
                       String message)
                throws WTException


Supported API: false

Specified by:
addMessage in interface HTMLLogService
Parameters:
messageType -
message -
Throws:
WTException