Package org.compiere.model
Class X_AD_BroadcastMessage
- java.lang.Object
-
- org.compiere.model.PO
-
- org.compiere.model.X_AD_BroadcastMessage
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_BroadcastMessage
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MBroadcastMessage
public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, I_Persistent
Generated Model for AD_BroadcastMessage- Version:
- Release 9 - $Id$
- Author:
- iDempiere (generated)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
BROADCASTFREQUENCY_AD_Reference_ID
BroadcastFrequency AD_Reference_ID=200020static String
BROADCASTFREQUENCY_JustOnce
Just Once = Jstatic String
BROADCASTFREQUENCY_UntilAcknowledge
Until Acknowledge = Astatic String
BROADCASTFREQUENCY_UntilExpiration
Until Expiration = Estatic String
BROADCASTFREQUENCY_UntilExpirationOrAcknowledge
Until Expiration or Acknowledge = Ostatic int
BROADCASTTYPE_AD_Reference_ID
BroadcastType AD_Reference_ID=200021static String
BROADCASTTYPE_Immediate
Immediate = Istatic String
BROADCASTTYPE_ImmediatePlusLogin
Immediate + Login = ILstatic String
BROADCASTTYPE_Login
Login = Lstatic int
TARGET_AD_Reference_ID
Target AD_Reference_ID=200022static String
TARGET_Client
Client = Cstatic String
TARGET_Everybody
Everybody = Estatic String
TARGET_Role
Role = Rstatic String
TARGET_User
User = U-
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_BroadcastMessage
accessLevel, COLUMNNAME_AD_BroadcastMessage_ID, COLUMNNAME_AD_BroadcastMessage_UU, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_Role_ID, COLUMNNAME_AD_User_ID, COLUMNNAME_BroadcastFrequency, COLUMNNAME_BroadcastMessage, COLUMNNAME_BroadcastType, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Expiration, COLUMNNAME_Expired, COLUMNNAME_ExpireNow, COLUMNNAME_IsActive, COLUMNNAME_IsPublished, COLUMNNAME_LogAcknowledge, COLUMNNAME_Notification_Client_ID, COLUMNNAME_Processed, COLUMNNAME_Publish, COLUMNNAME_Target, COLUMNNAME_TestMessage, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
-
Constructor Summary
Constructors Constructor Description X_AD_BroadcastMessage(Properties ctx, int AD_BroadcastMessage_ID, String trxName)
Standard ConstructorX_AD_BroadcastMessage(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()
AccessLevelint
getAD_BroadcastMessage_ID()
Get Broadcast Message.String
getAD_BroadcastMessage_UU()
Get AD_BroadcastMessage_UU.I_AD_Role
getAD_Role()
int
getAD_Role_ID()
Get Role.I_AD_User
getAD_User()
int
getAD_User_ID()
Get User/Contact.String
getBroadcastFrequency()
Get Broadcast Frequency.String
getBroadcastMessage()
Get Broadcast Message.String
getBroadcastType()
Get Broadcast Type.Timestamp
getExpiration()
Get Expire On.String
getExpireNow()
Get Expire Now.int
getNotification_Client_ID()
Get Notification Client.String
getPublish()
Get Publish.String
getTarget()
Get Target.String
getTestMessage()
Get Test Message.protected POInfo
initPO(Properties ctx)
Load Meta Databoolean
isExpired()
Get Expired.boolean
isLogAcknowledge()
Get Log Acknowledge.boolean
isProcessed()
Get Processed.boolean
isPublished()
Get Published.void
setAD_BroadcastMessage_ID(int AD_BroadcastMessage_ID)
Set Broadcast Message.void
setAD_BroadcastMessage_UU(String AD_BroadcastMessage_UU)
Set AD_BroadcastMessage_UU.void
setAD_Role_ID(int AD_Role_ID)
Set Role.void
setAD_User_ID(int AD_User_ID)
Set User/Contact.void
setBroadcastFrequency(String BroadcastFrequency)
Set Broadcast Frequency.void
setBroadcastMessage(String BroadcastMessage)
Set Broadcast Message.void
setBroadcastType(String BroadcastType)
Set Broadcast Type.void
setExpiration(Timestamp Expiration)
Set Expire On.void
setExpired(boolean Expired)
Set Expired.void
setExpireNow(String ExpireNow)
Set Expire Now.void
setIsPublished(boolean IsPublished)
Set Published.void
setLogAcknowledge(boolean LogAcknowledge)
Set Log Acknowledge.void
setNotification_Client_ID(int Notification_Client_ID)
Set Notification Client.void
setProcessed(boolean Processed)
Set Processed.void
setPublish(String Publish)
Set Publish.void
setTarget(String Target)
Set Target.void
setTestMessage(String TestMessage)
Set Test Message.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_AD_BroadcastMessage
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
-
BROADCASTFREQUENCY_AD_Reference_ID
public static final int BROADCASTFREQUENCY_AD_Reference_ID
BroadcastFrequency AD_Reference_ID=200020- See Also:
- Constant Field Values
-
BROADCASTFREQUENCY_UntilAcknowledge
public static final String BROADCASTFREQUENCY_UntilAcknowledge
Until Acknowledge = A- See Also:
- Constant Field Values
-
BROADCASTFREQUENCY_UntilExpiration
public static final String BROADCASTFREQUENCY_UntilExpiration
Until Expiration = E- See Also:
- Constant Field Values
-
BROADCASTFREQUENCY_JustOnce
public static final String BROADCASTFREQUENCY_JustOnce
Just Once = J- See Also:
- Constant Field Values
-
BROADCASTFREQUENCY_UntilExpirationOrAcknowledge
public static final String BROADCASTFREQUENCY_UntilExpirationOrAcknowledge
Until Expiration or Acknowledge = O- See Also:
- Constant Field Values
-
BROADCASTTYPE_AD_Reference_ID
public static final int BROADCASTTYPE_AD_Reference_ID
BroadcastType AD_Reference_ID=200021- See Also:
- Constant Field Values
-
BROADCASTTYPE_Immediate
public static final String BROADCASTTYPE_Immediate
Immediate = I- See Also:
- Constant Field Values
-
BROADCASTTYPE_ImmediatePlusLogin
public static final String BROADCASTTYPE_ImmediatePlusLogin
Immediate + Login = IL- See Also:
- Constant Field Values
-
BROADCASTTYPE_Login
public static final String BROADCASTTYPE_Login
Login = L- See Also:
- Constant Field Values
-
TARGET_AD_Reference_ID
public static final int TARGET_AD_Reference_ID
Target AD_Reference_ID=200022- See Also:
- Constant Field Values
-
TARGET_Client
public static final String TARGET_Client
Client = C- See Also:
- Constant Field Values
-
TARGET_Everybody
public static final String TARGET_Everybody
Everybody = E- See Also:
- Constant Field Values
-
TARGET_Role
public static final String TARGET_Role
Role = R- See Also:
- Constant Field Values
-
TARGET_User
public static final String TARGET_User
User = U- See Also:
- Constant Field Values
-
-
Constructor Detail
-
X_AD_BroadcastMessage
public X_AD_BroadcastMessage(Properties ctx, int AD_BroadcastMessage_ID, String trxName)
Standard Constructor
-
X_AD_BroadcastMessage
public X_AD_BroadcastMessage(Properties ctx, ResultSet rs, String trxName)
Load Constructor
-
-
Method Detail
-
get_AccessLevel
protected int get_AccessLevel()
AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 6 - System - Client
-
initPO
protected POInfo initPO(Properties ctx)
Load Meta Data
-
setAD_BroadcastMessage_ID
public void setAD_BroadcastMessage_ID(int AD_BroadcastMessage_ID)
Set Broadcast Message.- Specified by:
setAD_BroadcastMessage_ID
in interfaceI_AD_BroadcastMessage
- Parameters:
AD_BroadcastMessage_ID
- Broadcast Message
-
getAD_BroadcastMessage_ID
public int getAD_BroadcastMessage_ID()
Get Broadcast Message.- Specified by:
getAD_BroadcastMessage_ID
in interfaceI_AD_BroadcastMessage
- Returns:
- Broadcast Message
-
setAD_BroadcastMessage_UU
public void setAD_BroadcastMessage_UU(String AD_BroadcastMessage_UU)
Set AD_BroadcastMessage_UU.- Specified by:
setAD_BroadcastMessage_UU
in interfaceI_AD_BroadcastMessage
- Parameters:
AD_BroadcastMessage_UU
- AD_BroadcastMessage_UU
-
getAD_BroadcastMessage_UU
public String getAD_BroadcastMessage_UU()
Get AD_BroadcastMessage_UU.- Specified by:
getAD_BroadcastMessage_UU
in interfaceI_AD_BroadcastMessage
- Returns:
- AD_BroadcastMessage_UU
-
getAD_Role
public I_AD_Role getAD_Role() throws RuntimeException
- Specified by:
getAD_Role
in interfaceI_AD_BroadcastMessage
- Throws:
RuntimeException
-
setAD_Role_ID
public void setAD_Role_ID(int AD_Role_ID)
Set Role.- Specified by:
setAD_Role_ID
in interfaceI_AD_BroadcastMessage
- Parameters:
AD_Role_ID
- Responsibility Role
-
getAD_Role_ID
public int getAD_Role_ID()
Get Role.- Specified by:
getAD_Role_ID
in interfaceI_AD_BroadcastMessage
- Returns:
- Responsibility Role
-
getAD_User
public I_AD_User getAD_User() throws RuntimeException
- Specified by:
getAD_User
in interfaceI_AD_BroadcastMessage
- Throws:
RuntimeException
-
setAD_User_ID
public void setAD_User_ID(int AD_User_ID)
Set User/Contact.- Specified by:
setAD_User_ID
in interfaceI_AD_BroadcastMessage
- 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_AD_BroadcastMessage
- Returns:
- User within the system - Internal or Business Partner Contact
-
setBroadcastFrequency
public void setBroadcastFrequency(String BroadcastFrequency)
Set Broadcast Frequency.- Specified by:
setBroadcastFrequency
in interfaceI_AD_BroadcastMessage
- Parameters:
BroadcastFrequency
- How Many Times Message Should be Broadcasted
-
getBroadcastFrequency
public String getBroadcastFrequency()
Get Broadcast Frequency.- Specified by:
getBroadcastFrequency
in interfaceI_AD_BroadcastMessage
- Returns:
- How Many Times Message Should be Broadcasted
-
setBroadcastMessage
public void setBroadcastMessage(String BroadcastMessage)
Set Broadcast Message.- Specified by:
setBroadcastMessage
in interfaceI_AD_BroadcastMessage
- Parameters:
BroadcastMessage
- Broadcast Message
-
getBroadcastMessage
public String getBroadcastMessage()
Get Broadcast Message.- Specified by:
getBroadcastMessage
in interfaceI_AD_BroadcastMessage
- Returns:
- Broadcast Message
-
setBroadcastType
public void setBroadcastType(String BroadcastType)
Set Broadcast Type.- Specified by:
setBroadcastType
in interfaceI_AD_BroadcastMessage
- Parameters:
BroadcastType
- Type of Broadcast
-
getBroadcastType
public String getBroadcastType()
Get Broadcast Type.- Specified by:
getBroadcastType
in interfaceI_AD_BroadcastMessage
- Returns:
- Type of Broadcast
-
setExpiration
public void setExpiration(Timestamp Expiration)
Set Expire On.- Specified by:
setExpiration
in interfaceI_AD_BroadcastMessage
- Parameters:
Expiration
- Expire On
-
getExpiration
public Timestamp getExpiration()
Get Expire On.- Specified by:
getExpiration
in interfaceI_AD_BroadcastMessage
- Returns:
- Expire On
-
setExpired
public void setExpired(boolean Expired)
Set Expired.- Specified by:
setExpired
in interfaceI_AD_BroadcastMessage
- Parameters:
Expired
- Expired
-
isExpired
public boolean isExpired()
Get Expired.- Specified by:
isExpired
in interfaceI_AD_BroadcastMessage
- Returns:
- Expired
-
setExpireNow
public void setExpireNow(String ExpireNow)
Set Expire Now.- Specified by:
setExpireNow
in interfaceI_AD_BroadcastMessage
- Parameters:
ExpireNow
- Expire the broadcast message
-
getExpireNow
public String getExpireNow()
Get Expire Now.- Specified by:
getExpireNow
in interfaceI_AD_BroadcastMessage
- Returns:
- Expire the broadcast message
-
setIsPublished
public void setIsPublished(boolean IsPublished)
Set Published.- Specified by:
setIsPublished
in interfaceI_AD_BroadcastMessage
- Parameters:
IsPublished
- The Topic is published and can be viewed
-
isPublished
public boolean isPublished()
Get Published.- Specified by:
isPublished
in interfaceI_AD_BroadcastMessage
- Returns:
- The Topic is published and can be viewed
-
setLogAcknowledge
public void setLogAcknowledge(boolean LogAcknowledge)
Set Log Acknowledge.- Specified by:
setLogAcknowledge
in interfaceI_AD_BroadcastMessage
- Parameters:
LogAcknowledge
- Want to Log the Acknowledgement of Message?
-
isLogAcknowledge
public boolean isLogAcknowledge()
Get Log Acknowledge.- Specified by:
isLogAcknowledge
in interfaceI_AD_BroadcastMessage
- Returns:
- Want to Log the Acknowledgement of Message?
-
setNotification_Client_ID
public void setNotification_Client_ID(int Notification_Client_ID)
Set Notification Client.- Specified by:
setNotification_Client_ID
in interfaceI_AD_BroadcastMessage
- Parameters:
Notification_Client_ID
- Notification Client
-
getNotification_Client_ID
public int getNotification_Client_ID()
Get Notification Client.- Specified by:
getNotification_Client_ID
in interfaceI_AD_BroadcastMessage
- Returns:
- Notification Client
-
setProcessed
public void setProcessed(boolean Processed)
Set Processed.- Specified by:
setProcessed
in interfaceI_AD_BroadcastMessage
- Parameters:
Processed
- The document has been processed
-
isProcessed
public boolean isProcessed()
Get Processed.- Specified by:
isProcessed
in interfaceI_AD_BroadcastMessage
- Returns:
- The document has been processed
-
setPublish
public void setPublish(String Publish)
Set Publish.- Specified by:
setPublish
in interfaceI_AD_BroadcastMessage
- Parameters:
Publish
- Publish Broadcast Message
-
getPublish
public String getPublish()
Get Publish.- Specified by:
getPublish
in interfaceI_AD_BroadcastMessage
- Returns:
- Publish Broadcast Message
-
setTarget
public void setTarget(String Target)
Set Target.- Specified by:
setTarget
in interfaceI_AD_BroadcastMessage
- Parameters:
Target
- Target client
-
getTarget
public String getTarget()
Get Target.- Specified by:
getTarget
in interfaceI_AD_BroadcastMessage
- Returns:
- Target client
-
setTestMessage
public void setTestMessage(String TestMessage)
Set Test Message.- Specified by:
setTestMessage
in interfaceI_AD_BroadcastMessage
- Parameters:
TestMessage
- Test broadcast message
-
getTestMessage
public String getTestMessage()
Get Test Message.- Specified by:
getTestMessage
in interfaceI_AD_BroadcastMessage
- Returns:
- Test broadcast message
-
-