Package org.compiere.apps.form
Class Archive
java.lang.Object
org.compiere.apps.form.Archive
- Direct Known Subclasses:
WArchiveViewer
Archive Viewer Form
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID, String name, String description, String help, KeyNamePair createdBy, Timestamp createdFrom, Timestamp createdTo) Retrieve archive (AD_Archive) recordsMArchive[]Get archive records retrieve bycmd_query(boolean, KeyNamePair, KeyNamePair, Integer, String, String, String, KeyNamePair, Timestamp, Timestamp)Get list of report process accessible to current roleGet list of table accessible (via window access) to current roleGet usersbooleanIs the two string equalsvoidsetTrxName(String trxName) Set optional trx name
-
Field Details
-
m_WindowNo
protected int m_WindowNoWindow No -
m_archives
The Archives -
m_index
protected int m_indexArchive Index -
m_AD_Table_ID
protected int m_AD_Table_IDTable direct -
m_Record_ID
protected int m_Record_IDRecord direct -
m_Record_UU
Record UUID -
log
Logger
-
-
Constructor Details
-
Archive
public Archive()
-
-
Method Details
-
getProcessData
Get list of report process accessible to current role- Returns:
- KeyNamePair(AD_Process_ID, Translated Name) array of AD_Process records
-
getTableData
Get list of table accessible (via window access) to current role- Returns:
- KeyNamePair(AD_Table_ID, Translated Name) array of AD_Table records
-
getUserData
Get users- Returns:
- KeyNamePair(AD_User_ID, Name) array of user records
-
isSame
Is the two string equals- Parameters:
s1- s1s2- s1- Returns:
- true if the same
-
cmd_query
public void cmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID, String name, String description, String help, KeyNamePair createdBy, Timestamp createdFrom, Timestamp createdTo) Retrieve archive (AD_Archive) records- Parameters:
reports- IsReport filterprocess- AD_Process_ID filtertable- AD_Table_ID filterC_BPartner_ID- C_BPartner_ID filtername- archive name filterdescription- archive description filterhelp- archive help filtercreatedBy- CreatedBy filtercreatedFrom- Created >= createdFromcreatedTo- Created <= createdTo
-
getArchives
Get archive records retrieve bycmd_query(boolean, KeyNamePair, KeyNamePair, Integer, String, String, String, KeyNamePair, Timestamp, Timestamp)- Returns:
- array of archive records
-
setTrxName
Set optional trx name- Parameters:
trxName-
-