Package org.compiere.model
Class X_CM_ChatEntry
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_CM_ChatEntry
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_CM_ChatEntry
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MChatEntry
public class X_CM_ChatEntry extends PO implements I_CM_ChatEntry, I_Persistent
Generated Model for CM_ChatEntry- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
CHATENTRYTYPE_AD_Reference_ID
ChatEntryType AD_Reference_ID=398static String
CHATENTRYTYPE_ForumThreaded
Forum (threaded) = Fstatic String
CHATENTRYTYPE_NoteFlat
Note (flat) = Nstatic String
CHATENTRYTYPE_Wiki
Wiki = Wstatic int
CONFIDENTIALTYPE_AD_Reference_ID
ConfidentialType AD_Reference_ID=340static String
CONFIDENTIALTYPE_Internal
Internal = Istatic String
CONFIDENTIALTYPE_PartnerConfidential
Partner Confidential = Cstatic String
CONFIDENTIALTYPE_PrivateInformation
Private Information = Pstatic String
CONFIDENTIALTYPE_PublicInformation
Public Information = Astatic int
MODERATORSTATUS_AD_Reference_ID
ModeratorStatus AD_Reference_ID=396static String
MODERATORSTATUS_NotDisplayed
Not Displayed = Nstatic String
MODERATORSTATUS_Published
Published = Pstatic String
MODERATORSTATUS_Suspicious
Suspicious = Sstatic String
MODERATORSTATUS_ToBeReviewed
To be reviewed = R-
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_CM_ChatEntry
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_CharacterData, COLUMNNAME_ChatEntryType, COLUMNNAME_CM_Chat_ID, COLUMNNAME_CM_ChatEntry_ID, COLUMNNAME_CM_ChatEntry_UU, COLUMNNAME_CM_ChatEntryGrandParent_ID, COLUMNNAME_CM_ChatEntryParent_ID, COLUMNNAME_ConfidentialType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_IsActive, COLUMNNAME_ModeratorStatus, COLUMNNAME_Subject, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_CM_ChatEntry(Properties ctx, int CM_ChatEntry_ID, String trxName)
Standard ConstructorX_CM_ChatEntry(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
get_AccessLevel()
AccessLevelI_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.String
getCharacterData()
Get Character Data.String
getChatEntryType()
Get Chat Entry Type.I_CM_Chat
getCM_Chat()
int
getCM_Chat_ID()
Get Chat.int
getCM_ChatEntry_ID()
Get Chat Entry.String
getCM_ChatEntry_UU()
Get CM_ChatEntry_UU.I_CM_ChatEntry
getCM_ChatEntryGrandParent()
int
getCM_ChatEntryGrandParent_ID()
Get Chat Entry Grandparent.I_CM_ChatEntry
getCM_ChatEntryParent()
int
getCM_ChatEntryParent_ID()
Get Chat Entry Parent.String
getConfidentialType()
Get Confidentiality.KeyNamePair
getKeyNamePair()
Get Record ID/ColumnNameString
getModeratorStatus()
Get Moderation Status.String
getSubject()
Get Subject.protected POInfo
initPO(Properties ctx)
Load Meta Datavoid
setAD_User_ID(int AD_User_ID)
Set User/Contact.void
setCharacterData(String CharacterData)
Set Character Data.void
setChatEntryType(String ChatEntryType)
Set Chat Entry Type.void
setCM_Chat_ID(int CM_Chat_ID)
Set Chat.void
setCM_ChatEntry_ID(int CM_ChatEntry_ID)
Set Chat Entry.void
setCM_ChatEntry_UU(String CM_ChatEntry_UU)
Set CM_ChatEntry_UU.void
setCM_ChatEntryGrandParent_ID(int CM_ChatEntryGrandParent_ID)
Set Chat Entry Grandparent.void
setCM_ChatEntryParent_ID(int CM_ChatEntryParent_ID)
Set Chat Entry Parent.void
setConfidentialType(String ConfidentialType)
Set Confidentiality.void
setModeratorStatus(String ModeratorStatus)
Set Moderation Status.void
setSubject(String Subject)
Set Subject.String
toString()
String representation-
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_CM_ChatEntry
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
-
CHATENTRYTYPE_AD_Reference_ID
public static final int CHATENTRYTYPE_AD_Reference_ID
ChatEntryType AD_Reference_ID=398- See Also:
- Constant Field Values
-
CHATENTRYTYPE_ForumThreaded
public static final String CHATENTRYTYPE_ForumThreaded
Forum (threaded) = F- See Also:
- Constant Field Values
-
CHATENTRYTYPE_NoteFlat
public static final String CHATENTRYTYPE_NoteFlat
Note (flat) = N- See Also:
- Constant Field Values
-
CHATENTRYTYPE_Wiki
public static final String CHATENTRYTYPE_Wiki
Wiki = W- See Also:
- Constant Field Values
-
CONFIDENTIALTYPE_AD_Reference_ID
public static final int CONFIDENTIALTYPE_AD_Reference_ID
ConfidentialType AD_Reference_ID=340- See Also:
- Constant Field Values
-
CONFIDENTIALTYPE_PublicInformation
public static final String CONFIDENTIALTYPE_PublicInformation
Public Information = A- See Also:
- Constant Field Values
-
CONFIDENTIALTYPE_PartnerConfidential
public static final String CONFIDENTIALTYPE_PartnerConfidential
Partner Confidential = C- See Also:
- Constant Field Values
-
CONFIDENTIALTYPE_Internal
public static final String CONFIDENTIALTYPE_Internal
Internal = I- See Also:
- Constant Field Values
-
CONFIDENTIALTYPE_PrivateInformation
public static final String CONFIDENTIALTYPE_PrivateInformation
Private Information = P- See Also:
- Constant Field Values
-
MODERATORSTATUS_AD_Reference_ID
public static final int MODERATORSTATUS_AD_Reference_ID
ModeratorStatus AD_Reference_ID=396- See Also:
- Constant Field Values
-
MODERATORSTATUS_NotDisplayed
public static final String MODERATORSTATUS_NotDisplayed
Not Displayed = N- See Also:
- Constant Field Values
-
MODERATORSTATUS_Published
public static final String MODERATORSTATUS_Published
Published = P- See Also:
- Constant Field Values
-
MODERATORSTATUS_ToBeReviewed
public static final String MODERATORSTATUS_ToBeReviewed
To be reviewed = R- See Also:
- Constant Field Values
-
MODERATORSTATUS_Suspicious
public static final String MODERATORSTATUS_Suspicious
Suspicious = S- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_CM_ChatEntry
public X_CM_ChatEntry(Properties ctx, int CM_ChatEntry_ID, String trxName)
Standard Constructor
-
X_CM_ChatEntry
public X_CM_ChatEntry(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 7 - System - Client - Org
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
getAD_User
public I_AD_User getAD_User() throws RuntimeException
- Specified by:
getAD_User
in interfaceI_CM_ChatEntry
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID)
Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_CM_ChatEntry
- Parameters:
AD_User_ID
- User within the system - Internal or Business Partner Contact
-
getAD_User_ID
public int getAD_User_ID()
Get User/Contact.- Specified by:
getAD_User_ID
in interfaceI_CM_ChatEntry
- Returns:
- User within the system - Internal or Business Partner Contact
-
setCharacterData
public void setCharacterData(String CharacterData)
Set Character Data.- Specified by:
setCharacterData
in interfaceI_CM_ChatEntry
- Parameters:
CharacterData
- Long Character Field
-
getCharacterData
public String getCharacterData()
Get Character Data.- Specified by:
getCharacterData
in interfaceI_CM_ChatEntry
- Returns:
- Long Character Field
-
setChatEntryType
public void setChatEntryType(String ChatEntryType)
Set Chat Entry Type.- Specified by:
setChatEntryType
in interfaceI_CM_ChatEntry
- Parameters:
ChatEntryType
- Type of Chat/Forum Entry
-
getChatEntryType
public String getChatEntryType()
Get Chat Entry Type.- Specified by:
getChatEntryType
in interfaceI_CM_ChatEntry
- Returns:
- Type of Chat/Forum Entry
-
getCM_ChatEntryGrandParent
public I_CM_ChatEntry getCM_ChatEntryGrandParent() throws RuntimeException
- Specified by:
getCM_ChatEntryGrandParent
in interfaceI_CM_ChatEntry
- Throws:
RuntimeException
-
setCM_ChatEntryGrandParent_ID
public void setCM_ChatEntryGrandParent_ID(int CM_ChatEntryGrandParent_ID)
Set Chat Entry Grandparent.- Specified by:
setCM_ChatEntryGrandParent_ID
in interfaceI_CM_ChatEntry
- Parameters:
CM_ChatEntryGrandParent_ID
- Link to Grand Parent (root level)
-
getCM_ChatEntryGrandParent_ID
public int getCM_ChatEntryGrandParent_ID()
Get Chat Entry Grandparent.- Specified by:
getCM_ChatEntryGrandParent_ID
in interfaceI_CM_ChatEntry
- Returns:
- Link to Grand Parent (root level)
-
setCM_ChatEntry_ID
public void setCM_ChatEntry_ID(int CM_ChatEntry_ID)
Set Chat Entry.- Specified by:
setCM_ChatEntry_ID
in interfaceI_CM_ChatEntry
- Parameters:
CM_ChatEntry_ID
- Individual Chat / Discussion Entry
-
getCM_ChatEntry_ID
public int getCM_ChatEntry_ID()
Get Chat Entry.- Specified by:
getCM_ChatEntry_ID
in interfaceI_CM_ChatEntry
- Returns:
- Individual Chat / Discussion Entry
-
getKeyNamePair
public KeyNamePair getKeyNamePair()
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
getCM_ChatEntryParent
public I_CM_ChatEntry getCM_ChatEntryParent() throws RuntimeException
- Specified by:
getCM_ChatEntryParent
in interfaceI_CM_ChatEntry
- Throws:
RuntimeException
-
setCM_ChatEntryParent_ID
public void setCM_ChatEntryParent_ID(int CM_ChatEntryParent_ID)
Set Chat Entry Parent.- Specified by:
setCM_ChatEntryParent_ID
in interfaceI_CM_ChatEntry
- Parameters:
CM_ChatEntryParent_ID
- Link to direct Parent
-
getCM_ChatEntryParent_ID
public int getCM_ChatEntryParent_ID()
Get Chat Entry Parent.- Specified by:
getCM_ChatEntryParent_ID
in interfaceI_CM_ChatEntry
- Returns:
- Link to direct Parent
-
setCM_ChatEntry_UU
public void setCM_ChatEntry_UU(String CM_ChatEntry_UU)
Set CM_ChatEntry_UU.- Specified by:
setCM_ChatEntry_UU
in interfaceI_CM_ChatEntry
- Parameters:
CM_ChatEntry_UU
- CM_ChatEntry_UU
-
getCM_ChatEntry_UU
public String getCM_ChatEntry_UU()
Get CM_ChatEntry_UU.- Specified by:
getCM_ChatEntry_UU
in interfaceI_CM_ChatEntry
- Returns:
- CM_ChatEntry_UU
-
getCM_Chat
public I_CM_Chat getCM_Chat() throws RuntimeException
- Specified by:
getCM_Chat
in interfaceI_CM_ChatEntry
- Throws:
RuntimeException
-
setCM_Chat_ID
public void setCM_Chat_ID(int CM_Chat_ID)
Set Chat.- Specified by:
setCM_Chat_ID
in interfaceI_CM_ChatEntry
- Parameters:
CM_Chat_ID
- Chat or discussion thread
-
getCM_Chat_ID
public int getCM_Chat_ID()
Get Chat.- Specified by:
getCM_Chat_ID
in interfaceI_CM_ChatEntry
- Returns:
- Chat or discussion thread
-
setConfidentialType
public void setConfidentialType(String ConfidentialType)
Set Confidentiality.- Specified by:
setConfidentialType
in interfaceI_CM_ChatEntry
- Parameters:
ConfidentialType
- Type of Confidentiality
-
getConfidentialType
public String getConfidentialType()
Get Confidentiality.- Specified by:
getConfidentialType
in interfaceI_CM_ChatEntry
- Returns:
- Type of Confidentiality
-
setModeratorStatus
public void setModeratorStatus(String ModeratorStatus)
Set Moderation Status.- Specified by:
setModeratorStatus
in interfaceI_CM_ChatEntry
- Parameters:
ModeratorStatus
- Status of Moderation
-
getModeratorStatus
public String getModeratorStatus()
Get Moderation Status.- Specified by:
getModeratorStatus
in interfaceI_CM_ChatEntry
- Returns:
- Status of Moderation
-
setSubject
public void setSubject(String Subject)
Set Subject.- Specified by:
setSubject
in interfaceI_CM_ChatEntry
- Parameters:
Subject
- Email Message Subject
-
getSubject
public String getSubject()
Get Subject.- Specified by:
getSubject
in interfaceI_CM_ChatEntry
- Returns:
- Email Message Subject
-
-