|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.util.TNFixedData
com.wm.app.tn.err.ActivityLogEntry
public class ActivityLogEntry
A single entry in the activity log. Creating one of these does not immediately write it to the database; see SystemLog2.dbLog for that. Includes static constants for entry types and the "general" entry class.
SystemLog2
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.wm.app.tn.util.TNFixedData |
---|
TNFixedData.TreeCursor |
Field Summary | |
---|---|
static java.lang.String |
CLASS_COMMENTS
Default entry class for general entries |
static java.lang.String |
CLASS_CONVADMIN
Default entry class for general entries |
static java.lang.String |
CLASS_CONVLOGIC
Default entry class for general entries |
static java.lang.String |
CLASS_DELIVERY
Default entry class for general entries |
static java.lang.String |
CLASS_DOCTYPEADMINISTRATION
Default entry class for general entries |
static java.lang.String |
CLASS_ENVELOPE
Default entry class for general entries |
static java.lang.String |
CLASS_GENERAL
Default entry class for general entries |
static java.lang.String |
CLASS_PARTNERADMINISTRATION
Default entry class for general entries |
static java.lang.String |
CLASS_POLLING
Default entry class for general entries |
static java.lang.String |
CLASS_PROCESSING
Default entry class for general entries |
static java.lang.String |
CLASS_PROCRULEADMINISTRATION
Default entry class for general entries |
static java.lang.String |
CLASS_PROFEXCHANGE
Default entry class for general entries |
static java.lang.String |
CLASS_RECOGNITION
Default entry class for general entries |
static java.lang.String |
CLASS_ROLEBASEDACCESS
Default entry class for general entries |
static java.lang.String |
CLASS_SAVING
Default entry class for general entries |
static java.lang.String |
CLASS_TPASETTINGS
Default entry class for general entries |
static java.lang.String |
CLASS_VALIDATION
Default entry class for general entries |
static java.lang.String |
CLASS_VERIFICATION
Default entry class for general entries |
static int |
TYPE_ERROR
Entry type for errors |
static int |
TYPE_MESSAGE
Entry type for messages |
static java.lang.String[] |
TYPE_NAMES
List of names for entry types -- index by type constant |
static int |
TYPE_WARNING
Entry type for warnings |
Constructor Summary | |
---|---|
ActivityLogEntry()
For internal use only -- use the four-arg version |
|
ActivityLogEntry(int type,
java.lang.String cls,
java.lang.String bri,
java.lang.String full)
Create an ActivityLogEntry |
Method Summary | |
---|---|
static com.wm.data.IData |
create()
For internal use only |
static ActivityLogEntry |
createError(java.lang.String bri,
java.lang.String full)
Create an error entry |
static ActivityLogEntry |
createError(java.lang.String cls,
java.lang.String bri,
java.lang.String full)
Create an error entry |
static ActivityLogEntry |
createMessage(java.lang.String cls,
java.lang.String bri,
java.lang.String full)
Create a message entry |
static ActivityLogEntry |
createWarning(java.lang.String cls,
java.lang.String bri,
java.lang.String full)
Create a warning entry |
java.lang.String |
getB2BUser()
|
java.lang.String |
getBriefMessage()
|
java.lang.String |
getEntryClass()
|
java.sql.Timestamp |
getEntryTimestamp()
|
int |
getEntryType()
|
java.lang.String |
getFullMessage()
|
java.lang.String |
getRelatedConversationId()
Deprecated. use getRelatedInstanceId instead |
java.lang.String |
getRelatedDocId()
|
java.lang.String |
getRelatedDocTypeID()
|
java.lang.String |
getRelatedInstanceId()
|
java.lang.String |
getRelatedPartnerId()
|
java.lang.String |
getRelatedRuleID()
|
java.lang.String |
getRelatedStepId()
|
void |
setB2BUser(java.lang.String s)
Set a B2B user related to this entry |
void |
setBriefMessage(java.lang.String s)
Set the brief message on this entry |
void |
setEntryClass(java.lang.String s)
Set the class on this entry |
void |
setEntryTimestamp(java.sql.Timestamp t)
Set the creation time on this entry |
void |
setEntryType(int t)
Set the type on this entry |
void |
setFullMessage(java.lang.String s)
Set the full message on this entry |
void |
setRelatedConversationId(java.lang.String s)
Deprecated. use setRelatedInstanceId instead |
void |
setRelatedDocId(java.lang.String s)
Set the internal ID of a document related to this entry |
void |
setRelatedDocTypeID(java.lang.String s)
Set a DocTypeID related to this entry |
void |
setRelatedInstanceId(java.lang.String s)
Set the ID of a process related to this entry |
void |
setRelatedPartnerId(java.lang.String s)
Set the internal ID of a partner related to this entry |
void |
setRelatedRuleID(java.lang.String s)
Set a Processing Rule ID related to this entry |
void |
setRelatedStepId(java.lang.String s)
Set the ID of a process step related to this entry |
Methods inherited from class com.wm.app.tn.util.TNFixedData |
---|
clone, dataSize, get, get, getCursor, getHashCursor, getIndexCursor, getKey, getSharedCursor, getTreeCursor, indexOf, merge, set, set, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_ERROR
public static final int TYPE_WARNING
public static final int TYPE_MESSAGE
public static final java.lang.String[] TYPE_NAMES
public static final java.lang.String CLASS_GENERAL
public static final java.lang.String CLASS_CONVADMIN
public static final java.lang.String CLASS_CONVLOGIC
public static final java.lang.String CLASS_DELIVERY
public static final java.lang.String CLASS_ENVELOPE
public static final java.lang.String CLASS_SAVING
public static final java.lang.String CLASS_RECOGNITION
public static final java.lang.String CLASS_PROCESSING
public static final java.lang.String CLASS_VALIDATION
public static final java.lang.String CLASS_VERIFICATION
public static final java.lang.String CLASS_PROFEXCHANGE
public static final java.lang.String CLASS_ROLEBASEDACCESS
public static final java.lang.String CLASS_PARTNERADMINISTRATION
public static final java.lang.String CLASS_COMMENTS
public static final java.lang.String CLASS_POLLING
public static final java.lang.String CLASS_TPASETTINGS
public static final java.lang.String CLASS_DOCTYPEADMINISTRATION
public static final java.lang.String CLASS_PROCRULEADMINISTRATION
Constructor Detail |
---|
public ActivityLogEntry()
public ActivityLogEntry(int type, java.lang.String cls, java.lang.String bri, java.lang.String full)
type
- the entry type (should be one of TYPE_ERROR, TYPE_WARNING,
or TYPE_MESSAGE)cls
- the entry classbri
- the brief messagefull
- the full message (may be null)Method Detail |
---|
public static ActivityLogEntry createError(java.lang.String bri, java.lang.String full)
bri
- the brief messagefull
- the full message
public static ActivityLogEntry createError(java.lang.String cls, java.lang.String bri, java.lang.String full)
cls
- the entry classbri
- the brief messagefull
- the full message
public static ActivityLogEntry createWarning(java.lang.String cls, java.lang.String bri, java.lang.String full)
cls
- the entry classbri
- the brief messagefull
- the full message
public static ActivityLogEntry createMessage(java.lang.String cls, java.lang.String bri, java.lang.String full)
cls
- the entry classbri
- the brief messagefull
- the full message
public static com.wm.data.IData create()
public java.sql.Timestamp getEntryTimestamp()
public int getEntryType()
public java.lang.String getEntryClass()
public java.lang.String getBriefMessage()
public java.lang.String getFullMessage()
public java.lang.String getRelatedDocId()
public java.lang.String getRelatedPartnerId()
public java.lang.String getRelatedConversationId()
public java.lang.String getRelatedInstanceId()
public java.lang.String getRelatedStepId()
public java.lang.String getB2BUser()
public java.lang.String getRelatedDocTypeID()
public java.lang.String getRelatedRuleID()
public void setEntryTimestamp(java.sql.Timestamp t)
public void setEntryType(int t)
public void setEntryClass(java.lang.String s)
public void setBriefMessage(java.lang.String s)
public void setFullMessage(java.lang.String s)
public void setRelatedDocId(java.lang.String s)
public void setRelatedPartnerId(java.lang.String s)
public void setRelatedConversationId(java.lang.String s)
public void setRelatedInstanceId(java.lang.String s)
public void setRelatedStepId(java.lang.String s)
public void setB2BUser(java.lang.String s)
public void setRelatedDocTypeID(java.lang.String s)
public void setRelatedRuleID(java.lang.String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |