Package org.adempiere.webui.apps.form
Class WArchiveViewer
java.lang.Object
org.compiere.apps.form.Archive
org.adempiere.webui.apps.form.WArchiveViewer
- All Implemented Interfaces:
IFormController
,org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
public class WArchiveViewer
extends Archive
implements IFormController, org.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
Archive Viewer Form with query and viewer tab.
- Author:
- Niraj Sohun
-
Field Summary
Fields inherited from class org.compiere.apps.form.Archive
log, m_AD_Table_ID, m_archives, m_index, m_Record_ID, m_Record_UU, m_WindowNo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Delete current archive record.getForm()
Called by org.adempiere.webui.panel.ADForm.openForm(int)void
onEvent
(org.zkoss.zk.ui.event.Event e) void
query
(boolean isReport, int AD_Table_ID, int Record_ID) Execute query.void
Execute query.void
setShowQuery
(boolean showQuery) Methods inherited from class org.compiere.apps.form.Archive
cmd_query, getArchives, getProcessData, getTableData, getUserData, isSame, setTrxName
-
Constructor Details
-
WArchiveViewer
public WArchiveViewer()Default constructor
-
-
Method Details
-
onEvent
- Specified by:
onEvent
in interfaceorg.zkoss.zk.ui.event.EventListener<org.zkoss.zk.ui.event.Event>
- Throws:
Exception
-
cmd_deleteArchive
public void cmd_deleteArchive()Delete current archive record. -
query
public void query(boolean isReport, int AD_Table_ID, int Record_ID) Execute query.- Parameters:
isReport
- reportAD_Table_ID
- tableRecord_ID
- record
-
query
Execute query.- Parameters:
isReport
- reportAD_Table_ID
- tableRecord_ID
- record IDRecord_UU
- record UUID
-
setShowQuery
public void setShowQuery(boolean showQuery) - Parameters:
showQuery
- true to show query tab, false otherwise
-
getForm
Description copied from interface:IFormController
Called by org.adempiere.webui.panel.ADForm.openForm(int)- Specified by:
getForm
in interfaceIFormController
- Returns:
-