Package org.compiere.model
Class X_AD_SearchDefinition
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_SearchDefinition
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_SearchDefinition
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MSearchDefinition
Generated Model for AD_SearchDefinition
- Version:
- Release 12 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
EntityType AD_Reference_ID=389Fields 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, UUID_NEW_RECORD, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID
Fields inherited from interface org.compiere.model.I_AD_SearchDefinition
accessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_Column_ID, COLUMNNAME_AD_Message_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_SearchDefinition_ID, COLUMNNAME_AD_SearchDefinition_UU, COLUMNNAME_AD_Style_ID, COLUMNNAME_AD_Table_ID, COLUMNNAME_AD_Window_ID, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_DataType, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_IsActive, COLUMNNAME_IsDefault, COLUMNNAME_Name, COLUMNNAME_PO_Window_ID, COLUMNNAME_Query, COLUMNNAME_SearchType, COLUMNNAME_TransactionCode, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_SearchDefinition
(Properties ctx, int AD_SearchDefinition_ID, String trxName) Standard ConstructorX_AD_SearchDefinition
(Properties ctx, int AD_SearchDefinition_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_SearchDefinition
(Properties ctx, String AD_SearchDefinition_UU, String trxName) Standard ConstructorX_AD_SearchDefinition
(Properties ctx, String AD_SearchDefinition_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_SearchDefinition
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelint
Get Column.int
Get Message.int
Get Search Definition.Get AD_SearchDefinition_UU.int
Get Style.int
Get Table.int
Get Window.Get Data Type.Get Description.Get Entity Type.getName()
Get Name.int
Get PO Window.getQuery()
Get Query.Get Search Type.Get Transaction Code.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Default.void
setAD_Column_ID
(int AD_Column_ID) Set Column.void
setAD_Message_ID
(int AD_Message_ID) Set Message.void
setAD_SearchDefinition_ID
(int AD_SearchDefinition_ID) Set Search Definition.void
setAD_SearchDefinition_UU
(String AD_SearchDefinition_UU) Set AD_SearchDefinition_UU.void
setAD_Style_ID
(int AD_Style_ID) Set Style.void
setAD_Table_ID
(int AD_Table_ID) Set Table.void
setAD_Window_ID
(int AD_Window_ID) Set Window.void
setDataType
(String DataType) Set Data Type.void
setDescription
(String Description) Set Description.void
setEntityType
(String EntityType) Set Entity Type.void
setIsDefault
(boolean IsDefault) Set Default.void
Set Name.void
setPO_Window_ID
(int PO_Window_ID) Set PO Window.void
Set Query.void
setSearchType
(String SearchType) Set Search Type.void
setTransactionCode
(String TransactionCode) Set Transaction Code.toString()
String representationMethods inherited from class org.compiere.model.PO
afterDelete, afterSave, beforeDelete, beforeSave, buildInsertSQL, 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_UUID, get_Value, get_Value, get_ValueAsBoolean, get_ValueAsInt, get_ValueAsInt, get_ValueAsString, 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, loadByUU, loadComplete, loadDefaults, loadPO, loadSpecial, lock, makeImmutable, postDelete, retrieveIdOfParentValue, retrieveIdOfParentValue, save, save, saveCrossTenantSafe, saveCrossTenantSafeEx, saveCrossTenantSafeEx, 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, toInsertSQL, 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_SearchDefinition
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 Details
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389- See Also:
-
-
Constructor Details
-
X_AD_SearchDefinition
Standard Constructor -
X_AD_SearchDefinition
public X_AD_SearchDefinition(Properties ctx, int AD_SearchDefinition_ID, String trxName, String... virtualColumns) Standard Constructor -
X_AD_SearchDefinition
Standard Constructor -
X_AD_SearchDefinition
public X_AD_SearchDefinition(Properties ctx, String AD_SearchDefinition_UU, String trxName, String... virtualColumns) Standard Constructor -
X_AD_SearchDefinition
Load Constructor
-
-
Method Details
-
get_AccessLevel
protected int get_AccessLevel()AccessLevel- Specified by:
get_AccessLevel
in classPO
- Returns:
- 4 - System
-
initPO
Load Meta Data -
toString
Description copied from class:PO
String representation -
getAD_Column
- Specified by:
getAD_Column
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setAD_Column_ID
public void setAD_Column_ID(int AD_Column_ID) Set Column.- Specified by:
setAD_Column_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_Column_ID
- Column in the table
-
getAD_Column_ID
public int getAD_Column_ID()Get Column.- Specified by:
getAD_Column_ID
in interfaceI_AD_SearchDefinition
- Returns:
- Column in the table
-
getAD_Message
- Specified by:
getAD_Message
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setAD_Message_ID
public void setAD_Message_ID(int AD_Message_ID) Set Message.- Specified by:
setAD_Message_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_Message_ID
- System Message
-
getAD_Message_ID
public int getAD_Message_ID()Get Message.- Specified by:
getAD_Message_ID
in interfaceI_AD_SearchDefinition
- Returns:
- System Message
-
setAD_SearchDefinition_ID
public void setAD_SearchDefinition_ID(int AD_SearchDefinition_ID) Set Search Definition.- Specified by:
setAD_SearchDefinition_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_SearchDefinition_ID
- Search Definition
-
getAD_SearchDefinition_ID
public int getAD_SearchDefinition_ID()Get Search Definition.- Specified by:
getAD_SearchDefinition_ID
in interfaceI_AD_SearchDefinition
- Returns:
- Search Definition
-
setAD_SearchDefinition_UU
Set AD_SearchDefinition_UU.- Specified by:
setAD_SearchDefinition_UU
in interfaceI_AD_SearchDefinition
- Parameters:
AD_SearchDefinition_UU
- AD_SearchDefinition_UU
-
getAD_SearchDefinition_UU
Get AD_SearchDefinition_UU.- Specified by:
getAD_SearchDefinition_UU
in interfaceI_AD_SearchDefinition
- Returns:
- AD_SearchDefinition_UU
-
getAD_Style
- Specified by:
getAD_Style
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setAD_Style_ID
public void setAD_Style_ID(int AD_Style_ID) Set Style.- Specified by:
setAD_Style_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_Style_ID
- CSS style for field and label
-
getAD_Style_ID
public int getAD_Style_ID()Get Style.- Specified by:
getAD_Style_ID
in interfaceI_AD_SearchDefinition
- Returns:
- CSS style for field and label
-
getAD_Table
- Specified by:
getAD_Table
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setAD_Table_ID
public void setAD_Table_ID(int AD_Table_ID) Set Table.- Specified by:
setAD_Table_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_Table_ID
- Database Table information
-
getAD_Table_ID
public int getAD_Table_ID()Get Table.- Specified by:
getAD_Table_ID
in interfaceI_AD_SearchDefinition
- Returns:
- Database Table information
-
getAD_Window
- Specified by:
getAD_Window
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setAD_Window_ID
public void setAD_Window_ID(int AD_Window_ID) Set Window.- Specified by:
setAD_Window_ID
in interfaceI_AD_SearchDefinition
- Parameters:
AD_Window_ID
- Data entry or display window
-
getAD_Window_ID
public int getAD_Window_ID()Get Window.- Specified by:
getAD_Window_ID
in interfaceI_AD_SearchDefinition
- Returns:
- Data entry or display window
-
setDataType
Set Data Type.- Specified by:
setDataType
in interfaceI_AD_SearchDefinition
- Parameters:
DataType
- Type of data
-
getDataType
Get Data Type.- Specified by:
getDataType
in interfaceI_AD_SearchDefinition
- Returns:
- Type of data
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_SearchDefinition
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_SearchDefinition
- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_SearchDefinition
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_SearchDefinition
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setIsDefault
public void setIsDefault(boolean IsDefault) Set Default.- Specified by:
setIsDefault
in interfaceI_AD_SearchDefinition
- Parameters:
IsDefault
- Default value
-
isDefault
public boolean isDefault()Get Default.- Specified by:
isDefault
in interfaceI_AD_SearchDefinition
- Returns:
- Default value
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_SearchDefinition
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_SearchDefinition
- Returns:
- Alphanumeric identifier of the entity
-
getPO_Window
- Specified by:
getPO_Window
in interfaceI_AD_SearchDefinition
- Throws:
RuntimeException
-
setPO_Window_ID
public void setPO_Window_ID(int PO_Window_ID) Set PO Window.- Specified by:
setPO_Window_ID
in interfaceI_AD_SearchDefinition
- Parameters:
PO_Window_ID
- Purchase Order Window
-
getPO_Window_ID
public int getPO_Window_ID()Get PO Window.- Specified by:
getPO_Window_ID
in interfaceI_AD_SearchDefinition
- Returns:
- Purchase Order Window
-
setQuery
Set Query.- Specified by:
setQuery
in interfaceI_AD_SearchDefinition
- Parameters:
Query
- SQL
-
getQuery
Get Query.- Specified by:
getQuery
in interfaceI_AD_SearchDefinition
- Returns:
- SQL
-
setSearchType
Set Search Type.- Specified by:
setSearchType
in interfaceI_AD_SearchDefinition
- Parameters:
SearchType
- Which kind of search is used (Query or Table)
-
getSearchType
Get Search Type.- Specified by:
getSearchType
in interfaceI_AD_SearchDefinition
- Returns:
- Which kind of search is used (Query or Table)
-
setTransactionCode
Set Transaction Code.- Specified by:
setTransactionCode
in interfaceI_AD_SearchDefinition
- Parameters:
TransactionCode
- The transaction code represents the search definition
-
getTransactionCode
Get Transaction Code.- Specified by:
getTransactionCode
in interfaceI_AD_SearchDefinition
- Returns:
- The transaction code represents the search definition
-