Package org.compiere.model
Class X_AD_Process
java.lang.Object
org.compiere.model.PO
org.compiere.model.X_AD_Process
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparator<Object>
,I_AD_Process
,I_Persistent
,Evaluatee
- Direct Known Subclasses:
MProcess
Generated Model for AD_Process
- Version:
- Release 11 - $Id$
- Author:
- iDempiere (generated)
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
AccessLevel AD_Reference_ID=5static final String
All = 7static final String
Client only = 2static final String
Client+Organization = 3static final String
Organization = 1static final String
System only = 4static final String
System+Client = 6static final int
AllowMultipleExecution AD_Reference_ID=200158static final String
Not from any user = NAstatic final String
Not from any user and same parameters = PAstatic final String
Not from same user = Nstatic final String
Not from same user and parameters = Pstatic final String
Yes = Ystatic final int
EntityType AD_Reference_ID=389static final int
ExecutionType AD_Reference_ID=200157static final String
Force Background = Bstatic final String
Force Foreground = Fstatic final int
ShowHelp AD_Reference_ID=50007static final String
Ask user (for future use) = Astatic final String
Don't show help = Nstatic final String
Run silently - Take Defaults = Sstatic final String
Show Help = YFields 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_Process
accessLevel, COLUMNNAME_AccessLevel, COLUMNNAME_AD_Client_ID, COLUMNNAME_AD_CtxHelp_ID, COLUMNNAME_AD_Form_ID, COLUMNNAME_AD_Org_ID, COLUMNNAME_AD_PrintFormat_ID, COLUMNNAME_AD_Process_ID, COLUMNNAME_AD_Process_UU, COLUMNNAME_AD_ReportView_ID, COLUMNNAME_AD_Workflow_ID, COLUMNNAME_AllowMultipleExecution, COLUMNNAME_Classname, COLUMNNAME_CopyFromProcess, COLUMNNAME_Created, COLUMNNAME_CreatedBy, COLUMNNAME_Description, COLUMNNAME_EntityType, COLUMNNAME_ExecutionType, COLUMNNAME_FileNamePattern, COLUMNNAME_Help, COLUMNNAME_IsActive, COLUMNNAME_IsBetaFunctionality, COLUMNNAME_IsDirectPrint, COLUMNNAME_IsReport, COLUMNNAME_JasperReport, COLUMNNAME_Name, COLUMNNAME_ProcedureName, COLUMNNAME_ShowHelp, COLUMNNAME_Statistic_Count, COLUMNNAME_Statistic_Seconds, COLUMNNAME_Updated, COLUMNNAME_UpdatedBy, COLUMNNAME_Value, COLUMNNAME_WorkflowValue, Model, Table_ID, Table_Name
-
Constructor Summary
ConstructorDescriptionX_AD_Process
(Properties ctx, int AD_Process_ID, String trxName) Standard ConstructorX_AD_Process
(Properties ctx, int AD_Process_ID, String trxName, String... virtualColumns) Standard ConstructorX_AD_Process
(Properties ctx, String AD_Process_UU, String trxName) Standard ConstructorX_AD_Process
(Properties ctx, String AD_Process_UU, String trxName, String... virtualColumns) Standard ConstructorX_AD_Process
(Properties ctx, ResultSet rs, String trxName) Load Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected int
AccessLevelGet Data Access Level.int
Get Context Help.int
Get Special Form.int
Get Print Format.int
Get Process.Get AD_Process_UU.int
Get Report View.int
Get Workflow.Get Allow Concurrent Execution.Get Classname.Get Copy From Report and Process.Get Description.Get Entity Type.Get Execution Type.Get File Name Pattern.getHelp()
Get Comment/Help.Get Jasper Report.Get Record ID/ColumnNamegetName()
Get Name.Get Procedure.Get Show Help.int
Get Statistic Count.int
Get Statistic Seconds.getValue()
Get Search Key.Get Workflow Key.protected POInfo
initPO
(Properties ctx) Load Meta Databoolean
Get Beta Functionality.boolean
Get Direct print.boolean
isReport()
Get Report.void
setAccessLevel
(String AccessLevel) Set Data Access Level.void
setAD_CtxHelp_ID
(int AD_CtxHelp_ID) Set Context Help.void
setAD_Form_ID
(int AD_Form_ID) Set Special Form.void
setAD_PrintFormat_ID
(int AD_PrintFormat_ID) Set Print Format.void
setAD_Process_ID
(int AD_Process_ID) Set Process.void
setAD_Process_UU
(String AD_Process_UU) Set AD_Process_UU.void
setAD_ReportView_ID
(int AD_ReportView_ID) Set Report View.void
setAD_Workflow_ID
(int AD_Workflow_ID) Set Workflow.void
setAllowMultipleExecution
(String AllowMultipleExecution) Set Allow Concurrent Execution.void
setClassname
(String Classname) Set Classname.void
setCopyFromProcess
(String CopyFromProcess) Set Copy From Report and Process.void
setDescription
(String Description) Set Description.void
setEntityType
(String EntityType) Set Entity Type.void
setExecutionType
(String ExecutionType) Set Execution Type.void
setFileNamePattern
(String FileNamePattern) Set File Name Pattern.void
Set Comment/Help.void
setIsBetaFunctionality
(boolean IsBetaFunctionality) Set Beta Functionality.void
setIsDirectPrint
(boolean IsDirectPrint) Set Direct print.void
setIsReport
(boolean IsReport) Set Report.void
setJasperReport
(String JasperReport) Set Jasper Report.void
Set Name.void
setProcedureName
(String ProcedureName) Set Procedure.void
setShowHelp
(String ShowHelp) Set Show Help.void
setStatistic_Count
(int Statistic_Count) Set Statistic Count.void
setStatistic_Seconds
(int Statistic_Seconds) Set Statistic Seconds.void
Set Search Key.void
setWorkflowValue
(String WorkflowValue) Set Workflow Key.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_Process
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
-
ACCESSLEVEL_AD_Reference_ID
public static final int ACCESSLEVEL_AD_Reference_IDAccessLevel AD_Reference_ID=5- See Also:
-
ACCESSLEVEL_Organization
Organization = 1- See Also:
-
ACCESSLEVEL_ClientOnly
Client only = 2- See Also:
-
ACCESSLEVEL_ClientPlusOrganization
Client+Organization = 3- See Also:
-
ACCESSLEVEL_SystemOnly
System only = 4- See Also:
-
ACCESSLEVEL_SystemPlusClient
System+Client = 6- See Also:
-
ACCESSLEVEL_All
All = 7- See Also:
-
ALLOWMULTIPLEEXECUTION_AD_Reference_ID
public static final int ALLOWMULTIPLEEXECUTION_AD_Reference_IDAllowMultipleExecution AD_Reference_ID=200158- See Also:
-
ALLOWMULTIPLEEXECUTION_NotFromSameUser
Not from same user = N- See Also:
-
ALLOWMULTIPLEEXECUTION_NotFromAnyUser
Not from any user = NA- See Also:
-
ALLOWMULTIPLEEXECUTION_NotFromSameUserAndParameters
Not from same user and parameters = P- See Also:
-
ALLOWMULTIPLEEXECUTION_NotFromAnyUserAndSameParameters
Not from any user and same parameters = PA- See Also:
-
ALLOWMULTIPLEEXECUTION_Yes
Yes = Y- See Also:
-
ENTITYTYPE_AD_Reference_ID
public static final int ENTITYTYPE_AD_Reference_IDEntityType AD_Reference_ID=389- See Also:
-
EXECUTIONTYPE_AD_Reference_ID
public static final int EXECUTIONTYPE_AD_Reference_IDExecutionType AD_Reference_ID=200157- See Also:
-
EXECUTIONTYPE_ForceBackground
Force Background = B- See Also:
-
EXECUTIONTYPE_ForceForeground
Force Foreground = F- See Also:
-
SHOWHELP_AD_Reference_ID
public static final int SHOWHELP_AD_Reference_IDShowHelp AD_Reference_ID=50007- See Also:
-
SHOWHELP_AskUserForFutureUse
Ask user (for future use) = A- See Also:
-
SHOWHELP_DonTShowHelp
Don't show help = N- See Also:
-
SHOWHELP_RunSilently_TakeDefaults
Run silently - Take Defaults = S- See Also:
-
SHOWHELP_ShowHelp
Show Help = Y- See Also:
-
-
Constructor Details
-
X_AD_Process
Standard Constructor -
X_AD_Process
Standard Constructor -
X_AD_Process
Standard Constructor -
X_AD_Process
Standard Constructor -
X_AD_Process
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 -
setAccessLevel
Set Data Access Level.- Specified by:
setAccessLevel
in interfaceI_AD_Process
- Parameters:
AccessLevel
- Access Level required
-
getAccessLevel
Get Data Access Level.- Specified by:
getAccessLevel
in interfaceI_AD_Process
- Returns:
- Access Level required
-
getAD_CtxHelp
- Specified by:
getAD_CtxHelp
in interfaceI_AD_Process
- Throws:
RuntimeException
-
setAD_CtxHelp_ID
public void setAD_CtxHelp_ID(int AD_CtxHelp_ID) Set Context Help.- Specified by:
setAD_CtxHelp_ID
in interfaceI_AD_Process
- Parameters:
AD_CtxHelp_ID
- Context Help
-
getAD_CtxHelp_ID
public int getAD_CtxHelp_ID()Get Context Help.- Specified by:
getAD_CtxHelp_ID
in interfaceI_AD_Process
- Returns:
- Context Help
-
getAD_Form
- Specified by:
getAD_Form
in interfaceI_AD_Process
- Throws:
RuntimeException
-
setAD_Form_ID
public void setAD_Form_ID(int AD_Form_ID) Set Special Form.- Specified by:
setAD_Form_ID
in interfaceI_AD_Process
- Parameters:
AD_Form_ID
- Special Form
-
getAD_Form_ID
public int getAD_Form_ID()Get Special Form.- Specified by:
getAD_Form_ID
in interfaceI_AD_Process
- Returns:
- Special Form
-
getAD_PrintFormat
- Specified by:
getAD_PrintFormat
in interfaceI_AD_Process
- Throws:
RuntimeException
-
setAD_PrintFormat_ID
public void setAD_PrintFormat_ID(int AD_PrintFormat_ID) Set Print Format.- Specified by:
setAD_PrintFormat_ID
in interfaceI_AD_Process
- Parameters:
AD_PrintFormat_ID
- Data Print Format
-
getAD_PrintFormat_ID
public int getAD_PrintFormat_ID()Get Print Format.- Specified by:
getAD_PrintFormat_ID
in interfaceI_AD_Process
- Returns:
- Data Print Format
-
setAD_Process_ID
public void setAD_Process_ID(int AD_Process_ID) Set Process.- Specified by:
setAD_Process_ID
in interfaceI_AD_Process
- Parameters:
AD_Process_ID
- Process or Report
-
getAD_Process_ID
public int getAD_Process_ID()Get Process.- Specified by:
getAD_Process_ID
in interfaceI_AD_Process
- Returns:
- Process or Report
-
setAD_Process_UU
Set AD_Process_UU.- Specified by:
setAD_Process_UU
in interfaceI_AD_Process
- Parameters:
AD_Process_UU
- AD_Process_UU
-
getAD_Process_UU
Get AD_Process_UU.- Specified by:
getAD_Process_UU
in interfaceI_AD_Process
- Returns:
- AD_Process_UU
-
getAD_ReportView
- Specified by:
getAD_ReportView
in interfaceI_AD_Process
- Throws:
RuntimeException
-
setAD_ReportView_ID
public void setAD_ReportView_ID(int AD_ReportView_ID) Set Report View.- Specified by:
setAD_ReportView_ID
in interfaceI_AD_Process
- Parameters:
AD_ReportView_ID
- View used to generate this report
-
getAD_ReportView_ID
public int getAD_ReportView_ID()Get Report View.- Specified by:
getAD_ReportView_ID
in interfaceI_AD_Process
- Returns:
- View used to generate this report
-
getAD_Workflow
- Specified by:
getAD_Workflow
in interfaceI_AD_Process
- Throws:
RuntimeException
-
setAD_Workflow_ID
public void setAD_Workflow_ID(int AD_Workflow_ID) Set Workflow.- Specified by:
setAD_Workflow_ID
in interfaceI_AD_Process
- Parameters:
AD_Workflow_ID
- Workflow or combination of tasks
-
getAD_Workflow_ID
public int getAD_Workflow_ID()Get Workflow.- Specified by:
getAD_Workflow_ID
in interfaceI_AD_Process
- Returns:
- Workflow or combination of tasks
-
setAllowMultipleExecution
Set Allow Concurrent Execution.- Specified by:
setAllowMultipleExecution
in interfaceI_AD_Process
- Parameters:
AllowMultipleExecution
- Allow or disallow executing a process/report multiple times concurrently
-
getAllowMultipleExecution
Get Allow Concurrent Execution.- Specified by:
getAllowMultipleExecution
in interfaceI_AD_Process
- Returns:
- Allow or disallow executing a process/report multiple times concurrently
-
setClassname
Set Classname.- Specified by:
setClassname
in interfaceI_AD_Process
- Parameters:
Classname
- Java Classname
-
getClassname
Get Classname.- Specified by:
getClassname
in interfaceI_AD_Process
- Returns:
- Java Classname
-
setCopyFromProcess
Set Copy From Report and Process.- Specified by:
setCopyFromProcess
in interfaceI_AD_Process
- Parameters:
CopyFromProcess
- Copy settings from one report and process to another.
-
getCopyFromProcess
Get Copy From Report and Process.- Specified by:
getCopyFromProcess
in interfaceI_AD_Process
- Returns:
- Copy settings from one report and process to another.
-
setDescription
Set Description.- Specified by:
setDescription
in interfaceI_AD_Process
- Parameters:
Description
- Optional short description of the record
-
getDescription
Get Description.- Specified by:
getDescription
in interfaceI_AD_Process
- Returns:
- Optional short description of the record
-
setEntityType
Set Entity Type.- Specified by:
setEntityType
in interfaceI_AD_Process
- Parameters:
EntityType
- Dictionary Entity Type; Determines ownership and synchronization
-
getEntityType
Get Entity Type.- Specified by:
getEntityType
in interfaceI_AD_Process
- Returns:
- Dictionary Entity Type; Determines ownership and synchronization
-
setExecutionType
Set Execution Type.- Specified by:
setExecutionType
in interfaceI_AD_Process
- Parameters:
ExecutionType
- Execution Type defines whether the report/process will always run in background or foreground.
-
getExecutionType
Get Execution Type.- Specified by:
getExecutionType
in interfaceI_AD_Process
- Returns:
- Execution Type defines whether the report/process will always run in background or foreground.
-
setFileNamePattern
Set File Name Pattern.- Specified by:
setFileNamePattern
in interfaceI_AD_Process
- Parameters:
FileNamePattern
- File Name Pattern
-
getFileNamePattern
Get File Name Pattern.- Specified by:
getFileNamePattern
in interfaceI_AD_Process
- Returns:
- File Name Pattern
-
setHelp
Set Comment/Help.- Specified by:
setHelp
in interfaceI_AD_Process
- Parameters:
Help
- Comment or Hint
-
getHelp
Get Comment/Help.- Specified by:
getHelp
in interfaceI_AD_Process
- Returns:
- Comment or Hint
-
setIsBetaFunctionality
public void setIsBetaFunctionality(boolean IsBetaFunctionality) Set Beta Functionality.- Specified by:
setIsBetaFunctionality
in interfaceI_AD_Process
- Parameters:
IsBetaFunctionality
- This functionality is considered Beta
-
isBetaFunctionality
public boolean isBetaFunctionality()Get Beta Functionality.- Specified by:
isBetaFunctionality
in interfaceI_AD_Process
- Returns:
- This functionality is considered Beta
-
setIsDirectPrint
public void setIsDirectPrint(boolean IsDirectPrint) Set Direct print.- Specified by:
setIsDirectPrint
in interfaceI_AD_Process
- Parameters:
IsDirectPrint
- Print without dialog
-
isDirectPrint
public boolean isDirectPrint()Get Direct print.- Specified by:
isDirectPrint
in interfaceI_AD_Process
- Returns:
- Print without dialog
-
setIsReport
public void setIsReport(boolean IsReport) Set Report.- Specified by:
setIsReport
in interfaceI_AD_Process
- Parameters:
IsReport
- Indicates a Report record
-
isReport
public boolean isReport()Get Report.- Specified by:
isReport
in interfaceI_AD_Process
- Returns:
- Indicates a Report record
-
setJasperReport
Set Jasper Report.- Specified by:
setJasperReport
in interfaceI_AD_Process
- Parameters:
JasperReport
- Jasper Report
-
getJasperReport
Get Jasper Report.- Specified by:
getJasperReport
in interfaceI_AD_Process
- Returns:
- Jasper Report
-
setName
Set Name.- Specified by:
setName
in interfaceI_AD_Process
- Parameters:
Name
- Alphanumeric identifier of the entity
-
getName
Get Name.- Specified by:
getName
in interfaceI_AD_Process
- Returns:
- Alphanumeric identifier of the entity
-
getKeyNamePair
Get Record ID/ColumnName- Returns:
- ID/ColumnName pair
-
setProcedureName
Set Procedure.- Specified by:
setProcedureName
in interfaceI_AD_Process
- Parameters:
ProcedureName
- Name of the Database Procedure
-
getProcedureName
Get Procedure.- Specified by:
getProcedureName
in interfaceI_AD_Process
- Returns:
- Name of the Database Procedure
-
setShowHelp
Set Show Help.- Specified by:
setShowHelp
in interfaceI_AD_Process
- Parameters:
ShowHelp
- Show Help
-
getShowHelp
Get Show Help.- Specified by:
getShowHelp
in interfaceI_AD_Process
- Returns:
- Show Help
-
setStatistic_Count
public void setStatistic_Count(int Statistic_Count) Set Statistic Count.- Specified by:
setStatistic_Count
in interfaceI_AD_Process
- Parameters:
Statistic_Count
- Internal statistics how often the entity was used
-
getStatistic_Count
public int getStatistic_Count()Get Statistic Count.- Specified by:
getStatistic_Count
in interfaceI_AD_Process
- Returns:
- Internal statistics how often the entity was used
-
setStatistic_Seconds
public void setStatistic_Seconds(int Statistic_Seconds) Set Statistic Seconds.- Specified by:
setStatistic_Seconds
in interfaceI_AD_Process
- Parameters:
Statistic_Seconds
- Internal statistics how many seconds a process took
-
getStatistic_Seconds
public int getStatistic_Seconds()Get Statistic Seconds.- Specified by:
getStatistic_Seconds
in interfaceI_AD_Process
- Returns:
- Internal statistics how many seconds a process took
-
setValue
Set Search Key.- Specified by:
setValue
in interfaceI_AD_Process
- Parameters:
Value
- Search key for the record in the format required - must be unique
-
getValue
Get Search Key.- Specified by:
getValue
in interfaceI_AD_Process
- Returns:
- Search key for the record in the format required - must be unique
-
setWorkflowValue
Set Workflow Key.- Specified by:
setWorkflowValue
in interfaceI_AD_Process
- Parameters:
WorkflowValue
- Key of the Workflow to start
-
getWorkflowValue
Get Workflow Key.- Specified by:
getWorkflowValue
in interfaceI_AD_Process
- Returns:
- Key of the Workflow to start
-