Package org.compiere.model
Class MIssue
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_Issue
-
- org.compiere.model.MIssue
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Issue
,I_Persistent
,Evaluatee
public class MIssue extends X_AD_Issue
Issue Report Model- Version:
- $Id: MIssue.java,v 1.3 2006/07/30 00:58:37 jjanke Exp $
- Author:
- Jorg Janke
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
DELIMITER
Answer Delimiter-
Fields inherited from class org.compiere.model.X_AD_Issue
ISREPRODUCIBLE_AD_Reference_ID, ISREPRODUCIBLE_No, ISREPRODUCIBLE_Yes, ISSUESOURCE_AD_Reference_ID, ISSUESOURCE_Detail, ISSUESOURCE_Form, ISSUESOURCE_Info, ISSUESOURCE_Process, ISSUESOURCE_Report, ISSUESOURCE_Task, ISSUESOURCE_Window, ISSUESOURCE_Workbench, ISSUESOURCE_WorkFlow, ISVANILLASYSTEM_AD_Reference_ID, ISVANILLASYSTEM_No, ISVANILLASYSTEM_Yes, SYSTEMSTATUS_AD_Reference_ID, SYSTEMSTATUS_Evaluation, SYSTEMSTATUS_Implementation, SYSTEMSTATUS_Production
-
Fields inherited from class org.compiere.model.PO
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, LOCAL_TRX_PREFIX, log, p_ctx, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
-
Fields inherited from interface org.compiere.model.I_AD_Issue
accessLevel, COLUMNNAME_A_Asset_ID, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Form_ID, COLUMNNAME_AD_Issue_ID, COLUMNNAME_AD_Issue_UU, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_Comments, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DatabaseInfo, COLUMNNAME_DBAddress, COLUMNNAME_ErrorTrace, COLUMNNAME_IsActive, COLUMNNAME_IsReproducible, COLUMNNAME_IssueSource, COLUMNNAME_IssueSummary, COLUMNNAME_IsVanillaSystem, COLUMNNAME_JavaInfo, COLUMNNAME_LineNo, COLUMNNAME_Local_Host, COLUMNNAME_LoggerName, COLUMNNAME_Name, COLUMNNAME_OperatingSystemInfo, COLUMNNAME_Processed, COLUMNNAME_Processing, COLUMNNAME_ProfileInfo, COLUMNNAME_R_IssueKnown_ID, COLUMNNAME_R_IssueProject_ID, COLUMNNAME_R_IssueSystem_ID, COLUMNNAME_R_IssueUser_ID, COLUMNNAME_R_Request_ID, COLUMNNAME_Record_ID, COLUMNNAME_ReleaseNo, COLUMNNAME_ReleaseTag, COLUMNNAME_Remote_Addr, COLUMNNAME_Remote_Host, COLUMNNAME_RequestDocumentNo, COLUMNNAME_ResponseText, COLUMNNAME_SourceClassName, COLUMNNAME_SourceMethodName, COLUMNNAME_StackTrace, COLUMNNAME_StatisticsInfo, COLUMNNAME_SupportEMail, COLUMNNAME_SystemStatus, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_UserName, COLUMNNAME_Version, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description MIssue(LogRecord record)
Log Record ConstructorMIssue(Properties ctx, int AD_Issue_ID, String trxName)
Standard ConstructorMIssue(Properties ctx, ResultSet rs, String trxName)
Load ConstructorMIssue(Properties ctx, HashMap<String,String> hmIn)
HashMap Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComments(String Comments)
Add Commentsstatic MIssue
create(LogRecord record)
Create and report issuestatic MIssue
create(Properties ctx, String hexInput)
Create from decoded hash map stringString
createAnswer()
Create Answer to send to UserX_R_Request
getRequest()
Get RequestString
getRequestDocumentNo()
Get Request Document NoString
getSystemStatus()
Get System StatusString
process()
Process Request.String
report()
Report/Update Issue.void
setComments(String Comments)
Set Comments.void
setErrorTrace(String ErrorTrace)
Set Error Trace.void
setIssueSummary(String IssueSummary)
Set Issue Summary.void
setResponseText(String ResponseText)
Set ResponseText.void
setStackTrace(String StackTrace)
Set Stack Trace.String
toString()
String Representation-
Methods inherited from class org.compiere.model.X_AD_Issue
get_AccessLevel, getA_Asset, getA_Asset_ID, getAD_Form, getAD_Form_ID, getAD_Issue_ID, getAD_Issue_UU, getAD_Process, getAD_Process_ID, getAD_Window, getAD_Window_ID, getComments, getDatabaseInfo, getDBAddress, getErrorTrace, getIsReproducible, getIssueSource, getIssueSummary, getIsVanillaSystem, getJavaInfo, getKeyNamePair, getLineNo, getLocal_Host, getLoggerName, getName, getOperatingSystemInfo, getProfileInfo, getR_IssueKnown, getR_IssueKnown_ID, getR_IssueProject, getR_IssueProject_ID, getR_IssueSystem, getR_IssueSystem_ID, getR_IssueUser, getR_IssueUser_ID, getR_Request, getR_Request_ID, getRecord_ID, getReleaseNo, getReleaseTag, getRemote_Addr, getRemote_Host, getResponseText, getSourceClassName, getSourceMethodName, getStackTrace, getStatisticsInfo, getSupportEMail, getUserName, getVersion, initPO, isProcessed, isProcessing, setA_Asset_ID, setAD_Form_ID, setAD_Issue_ID, setAD_Issue_UU, setAD_Process_ID, setAD_Window_ID, setDatabaseInfo, setDBAddress, setIsReproducible, setIssueSource, setIsVanillaSystem, setJavaInfo, setLineNo, setLocal_Host, setLoggerName, setName, setOperatingSystemInfo, setProcessed, setProcessing, setProfileInfo, setR_IssueKnown_ID, setR_IssueProject_ID, setR_IssueSystem_ID, setR_IssueUser_ID, setR_Request_ID, setRecord_ID, setReleaseNo, setReleaseTag, setRemote_Addr, setRemote_Host, setRequestDocumentNo, setSourceClassName, setSourceMethodName, setStatisticsInfo, setSupportEMail, setSystemStatus, setUserName, setVersion
-
Methods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, checkImmutable, clearCrossTenantSafe, clone, columnExists, columnExists, compare, copyPO, copyValues, copyValues, createAttachment, delete, delete, delete_Accounting, delete_Tree, deleteEx, deleteEx, dump, dump, equals, get_Attribute, get_Attributes, get_ColumnCount, get_ColumnDescription, get_ColumnDisplayType, get_ColumnIndex, get_ColumnLabel, get_ColumnLookup, get_ColumnName, get_DisplayValue, get_HashMap, get_ID, get_IDOld, get_KeyColumns, get_Logger, get_OptimisticLockingColumns, get_Table_ID, get_TableName, get_Translation, get_Translation, get_Translation, get_Translation, get_Translation, get_TrxName, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, get_ValueDifference, get_ValueDifference, get_ValueE, get_ValueOfColumn, get_ValueOld, get_ValueOld, get_ValueOldAsInt, get_WhereClause, get_WhereClause, get_xmlDocument, get_xmlString, getAD_Client_ID, getAD_Org_ID, getAllIDs, getAttachment, getAttachment, getAttachmentData, getCreated, getCreatedBy, getCtx, getDoc, getFindParameter, getPdfAttachment, getUpdated, getUpdatedBy, getUUIDColumnName, getUUIDColumnName, hashCode, insert_Accounting, insert_Tree, insert_Tree, is_Changed, is_Immutable, is_new, is_UseOptimisticLocking, is_ValueChanged, is_ValueChanged, isActive, isAttachment, isColumnMandatory, isColumnUpdateable, isMandatoryOK, isPdfAttachment, isReplication, load, load, load, load, load, loadByUU, loadComplete, loadDefaults, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveEx, saveEx, saveNew_afterSetID, saveNew_getID, saveNewSpecial, saveReplica, saveUpdate, set_Attribute, set_ColumnUpdateable, set_CustomColumn, set_CustomColumnReturningBoolean, set_OptimisticLockingColumns, set_TrxName, set_TrxName, set_UseOptimisticLocking, set_Value, set_Value, set_Value, set_Value, set_ValueE, set_ValueNoCheck, set_ValueNoCheckE, set_ValueOfColumn, set_ValueOfColumn, set_ValueOfColumnReturningBoolean, set_ValueOfColumnReturningBoolean, setAD_Client_ID, setAD_Org_ID, setClientOrg, setClientOrg, setCrossTenantSafe, setDoc, setDocWorkflowMgr, setIsActive, setProcessedOn, setReplication, setStandardDefaults, setUpdateable, setUpdatedBy, unlock, update_Tree, validForeignKeys
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Methods inherited from interface org.compiere.model.I_AD_Issue
getAD_Client_ID, getAD_Org_ID, getCreated, getCreatedBy, getUpdated, getUpdatedBy, isActive, setAD_Org_ID, setIsActive
-
Methods inherited from interface org.compiere.model.I_Persistent
save
-
-
-
-
Field Detail
-
DELIMITER
public static String DELIMITER
Answer Delimiter
-
-
Constructor Detail
-
MIssue
public MIssue(Properties ctx, int AD_Issue_ID, String trxName)
Standard Constructor- Parameters:
ctx
- contextAD_Issue_ID
- issuetrxName
- transaction
-
MIssue
public MIssue(Properties ctx, ResultSet rs, String trxName)
Load Constructor- Parameters:
ctx
- contextrs
- result settrxName
- trx
-
MIssue
public MIssue(LogRecord record)
Log Record Constructor- Parameters:
record
-
-
MIssue
public MIssue(Properties ctx, HashMap<String,String> hmIn)
HashMap Constructor- Parameters:
ctx
- contexthmIn
- hash map
-
-
Method Detail
-
create
public static MIssue create(LogRecord record)
Create and report issue- Parameters:
record
- log record- Returns:
- reported issue or null
-
create
public static MIssue create(Properties ctx, String hexInput)
Create from decoded hash map string- Parameters:
ctx
- contexthexInput
- hex string- Returns:
- issue
-
setIssueSummary
public void setIssueSummary(String IssueSummary)
Set Issue Summary. Truncate it to 2000 char- Specified by:
setIssueSummary
in interfaceI_AD_Issue
- Overrides:
setIssueSummary
in classX_AD_Issue
- Parameters:
IssueSummary
- summary
-
setStackTrace
public void setStackTrace(String StackTrace)
Set Stack Trace. Truncate it to 2000 char- Specified by:
setStackTrace
in interfaceI_AD_Issue
- Overrides:
setStackTrace
in classX_AD_Issue
- Parameters:
StackTrace
- trace
-
setErrorTrace
public void setErrorTrace(String ErrorTrace)
Set Error Trace. Truncate it to 2000 char- Specified by:
setErrorTrace
in interfaceI_AD_Issue
- Overrides:
setErrorTrace
in classX_AD_Issue
- Parameters:
ErrorTrace
- trace
-
addComments
public void addComments(String Comments)
Add Comments- Parameters:
Comments
-
-
setComments
public void setComments(String Comments)
Set Comments. Truncate it to 2000 char- Specified by:
setComments
in interfaceI_AD_Issue
- Overrides:
setComments
in classX_AD_Issue
- Parameters:
Comments
-
-
setResponseText
public void setResponseText(String ResponseText)
Set ResponseText. Truncate it to 2000 char- Specified by:
setResponseText
in interfaceI_AD_Issue
- Overrides:
setResponseText
in classX_AD_Issue
- Parameters:
ResponseText
-
-
process
public String process()
Process Request.- Returns:
- answer
-
createAnswer
public String createAnswer()
Create Answer to send to User- Returns:
- answer
-
getRequest
public X_R_Request getRequest()
Get Request- Returns:
- request or null
-
getRequestDocumentNo
public String getRequestDocumentNo()
Get Request Document No- Specified by:
getRequestDocumentNo
in interfaceI_AD_Issue
- Overrides:
getRequestDocumentNo
in classX_AD_Issue
- Returns:
- request Document No
-
getSystemStatus
public String getSystemStatus()
Get System Status- Specified by:
getSystemStatus
in interfaceI_AD_Issue
- Overrides:
getSystemStatus
in classX_AD_Issue
- Returns:
- system status
-
report
public String report()
Report/Update Issue.- Returns:
- error message
-
toString
public String toString()
String Representation- Overrides:
toString
in classX_AD_Issue
- Returns:
- info
-
-