|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.htmllog.HTMLLogManager
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
CONTEXT_KEY
|
private static String |
COOKIE_LOGID_KEY
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
MSG_FIELDS_SEPARATOR
|
static String |
NO_OBJECT_FOR_ACTION_KEY
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
static String |
SHOW_FIRST_MSG_KEY
|
static String |
SHOW_MAX_MSGS_KEY
|
static String |
SHOW_STATUS_KEY
|
private HTTPState |
state
|
static String |
STATUS_MSG_KEY
|
private static boolean |
VERBOSE
|
Constructor Summary | |
|
HTMLLogManager()
|
protected |
HTMLLogManager(HTTPState state)
|
Method Summary | |
static void |
addDebugMessage(String messageCode,
String message,
Exception exception)
Supported API: false |
static void |
addDebugMessage(String messageCode,
String rb,
String rbKey,
Object[] params,
Exception exception)
Supported API: false |
static void |
addErrorMessage(String messageCode,
String message,
Exception exception)
Supported API: false |
static void |
addErrorMessage(String messageCode,
String rb,
String rbKey,
Object[] params,
Exception exception)
Supported API: false |
static void |
addInfoMessage(String messageCode,
String message,
Exception exception)
Supported API: false |
static void |
addInfoMessage(String messageCode,
String rb,
String rbKey,
Object[] params,
Exception exception)
Supported API: false |
private static void |
addSessionStatusMessage(String msg)
|
static void |
addStatusMessage(String messageCode,
String message,
Exception exception)
Supported API: false |
static void |
addStatusMessage(String messageCode,
String rb,
String rbKey,
Object[] params,
Exception exception)
Supported API: false |
static void |
addWarningMessage(String messageCode,
String message,
Exception exception)
Supported API: false |
static void |
addWarningMessage(String messageCode,
String rb,
String rbKey,
Object[] params,
Exception exception)
Supported API: false |
static void |
clearLog()
Utility method to clear all log messages for the current user session. |
private static Locale |
getLocale()
|
static List |
getLogMessages(int max_nof_messages,
boolean most_recent)
Utility method to get list of messages for the current session. |
static int |
getLogStatus()
Deprecated. |
private static String |
getSessionStatusMessage()
|
HTTPState |
getState()
|
static String |
getStatusMessage(Properties queryData)
Utility method to return the most recent message which is to be displayed in the status line of the HTML UI pages. |
static boolean |
hasStatusMessage()
Deprecated. |
static boolean |
hasStatusMessage(Properties queryData)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(HTMLLogManager thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static void |
resetLogStatus()
Utility method to reset the status of the log. |
void |
setState(HTTPState a_state)
|
static void |
setupLogManager(HTTPState state)
Will initialize and setup log manager instance for the current template processing session. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private HTTPState state
private static final String CONTEXT_KEY
private static final String COOKIE_LOGID_KEY
private static boolean VERBOSE
public static final String NO_OBJECT_FOR_ACTION_KEY
public static final String STATUS_MSG_KEY
public static final String MSG_FIELDS_SEPARATOR
public static final String SHOW_FIRST_MSG_KEY
public static final String SHOW_MAX_MSGS_KEY
public static final String SHOW_STATUS_KEY
Constructor Detail |
protected HTMLLogManager(HTTPState state)
public HTMLLogManager()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(HTMLLogManager thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static int getLogStatus()
public static void resetLogStatus()
public static void clearLog() throws WTException
WTException
public static List getLogMessages(int max_nof_messages, boolean most_recent) throws WTException
max_nof_messages
- most_recent
-
WTException
public static String getStatusMessage(Properties queryData) throws WTException
queryData
-
WTException
public static void addDebugMessage(String messageCode, String message, Exception exception)
messageCode
- message
- exception
- public static void addDebugMessage(String messageCode, String rb, String rbKey, Object[] params, Exception exception)
messageCode
- rb
- rbKey
- params
- exception
- public static void setupLogManager(HTTPState state)
state
- public static boolean hasStatusMessage()
public static void addStatusMessage(String messageCode, String message, Exception exception)
messageCode
- message
- exception
- public static void addInfoMessage(String messageCode, String message, Exception exception)
messageCode
- message
- exception
- public static void addWarningMessage(String messageCode, String message, Exception exception)
messageCode
- message
- exception
- public static void addErrorMessage(String messageCode, String message, Exception exception)
messageCode
- message
- exception
- public static void addStatusMessage(String messageCode, String rb, String rbKey, Object[] params, Exception exception)
messageCode
- rb
- rbKey
- params
- exception
- public static void addInfoMessage(String messageCode, String rb, String rbKey, Object[] params, Exception exception)
messageCode
- rb
- rbKey
- params
- exception
- public static void addWarningMessage(String messageCode, String rb, String rbKey, Object[] params, Exception exception)
messageCode
- rb
- rbKey
- params
- exception
- public static void addErrorMessage(String messageCode, String rb, String rbKey, Object[] params, Exception exception)
messageCode
- rb
- rbKey
- params
- exception
- private static void addSessionStatusMessage(String msg)
private static String getSessionStatusMessage()
public static boolean hasStatusMessage(Properties queryData)
private static Locale getLocale()
public HTTPState getState()
public void setState(HTTPState a_state)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |