IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#2168)
This commit is contained in:
parent
ce5edc84fd
commit
7ad6cfc68d
|
@ -143,7 +143,7 @@ public abstract class AnnotationBasedEventManager extends AnnotationBasedFactory
|
|||
* If needed, caller can use the return {@link CompletableFuture} to wait for the scan to complete (using either get or join).
|
||||
* @param context bundle context
|
||||
* @param packageNames one or more package to scan
|
||||
* @return CompletableFuture<List<EventHandler>>
|
||||
* @return CompletableFuture<List<EventHandler>>
|
||||
*/
|
||||
public synchronized CompletableFuture<List<EventHandler>> scan(BundleContext context, String ...packageNames) {
|
||||
return scan(context, false, packageNames);
|
||||
|
@ -154,7 +154,7 @@ public abstract class AnnotationBasedEventManager extends AnnotationBasedFactory
|
|||
* @param context bundle context
|
||||
* @param logScanDuration
|
||||
* @param packageNames one or more package to scan
|
||||
* @return CompletableFuture<List<EventHandler>>
|
||||
* @return CompletableFuture<List<EventHandler>>
|
||||
*/
|
||||
protected CompletableFuture<List<EventHandler>> scan(BundleContext context, boolean logScanDuration, String ...packageNames) {
|
||||
long start = logScanDuration ? System.currentTimeMillis() : 0;
|
||||
|
|
|
@ -1092,7 +1092,7 @@ public class Core {
|
|||
/**
|
||||
* get Credit Manager
|
||||
*
|
||||
* @param PO
|
||||
* @param po
|
||||
* @return instance of the ICreditManager
|
||||
*/
|
||||
public static ICreditManager getCreditManager(PO po)
|
||||
|
|
|
@ -77,7 +77,7 @@ public interface IGridTabExporter {
|
|||
|
||||
/**
|
||||
* Maximum deep of child tab supported by the exporter
|
||||
* @return > 0 for maximum level of deep, <= 0 for unlimited level of deep
|
||||
* @return > 0 for maximum level of deep, <= 0 for unlimited level of deep
|
||||
*/
|
||||
default int maxDeepOfChildTab() {
|
||||
return 0;
|
||||
|
|
|
@ -66,7 +66,6 @@ public interface ITaxLookup {
|
|||
* @param billDate Billing Date
|
||||
* @param billFromC_Location_ID Billing from (Tax Location from)
|
||||
* @param billToC_Location_ID Billing to (Tax Location to)
|
||||
* @param deliveryRule Order/Invoice's Delivery Via Rule
|
||||
* @param trxName
|
||||
* @return C_Tax_ID
|
||||
*/
|
||||
|
|
|
@ -45,8 +45,8 @@ public interface ISSOPrincipalService
|
|||
*
|
||||
* @param request HttpServletRequest
|
||||
* @param response HttpServletResponse
|
||||
* @param redirectMode {@value SSOUtils.SSO_MODE_WEBUI}, {@value SSOUtils.SSO_MODE_OSGI},
|
||||
* {@value SSOUtils.SSO_MODE_MONITOR}
|
||||
* @param redirectMode {@value SSOUtils#SSO_MODE_WEBUI}, {@value SSOUtils#SSO_MODE_OSGI},
|
||||
* {@value SSOUtils#SSO_MODE_MONITOR}
|
||||
* @throws Throwable
|
||||
*/
|
||||
public void getAuthenticationToken(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws Throwable;
|
||||
|
@ -65,8 +65,8 @@ public interface ISSOPrincipalService
|
|||
*
|
||||
* @param request HttpServletRequest
|
||||
* @param response HttpServletResponse
|
||||
* @param redirectMode {@value SSOUtils.SSO_MODE_WEBUI}, {@value SSOUtils.SSO_MODE_OSGI},
|
||||
* {@value SSOUtils.SSO_MODE_MONITOR}
|
||||
* @param redirectMode {@value SSOUtils#SSO_MODE_WEBUI}, {@value SSOUtils#SSO_MODE_OSGI},
|
||||
* {@value SSOUtils#SSO_MODE_MONITOR}
|
||||
* @throws IOException
|
||||
*/
|
||||
public void redirectForAuthentication(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws IOException;
|
||||
|
|
|
@ -216,8 +216,8 @@ public class MBroadcastMessage extends X_AD_BroadcastMessage implements Immutabl
|
|||
|
||||
/**
|
||||
* Returns a link to be used in broadcast messages to open a record
|
||||
* @param PO po
|
||||
* @param uuid of the window
|
||||
* @param po PO
|
||||
* @param windowUUID of the window
|
||||
* @param text of the link
|
||||
* @return the URL link to set in the broadcast message
|
||||
* */
|
||||
|
|
|
@ -90,7 +90,7 @@ public interface IProcessUI {
|
|||
/**
|
||||
* Prompt for secret input (for e.g password) from user.
|
||||
*
|
||||
* @param title
|
||||
* @param message
|
||||
* @param callback
|
||||
*/
|
||||
public void askForSecretInput(String message, Callback<String> callback);
|
||||
|
|
|
@ -39,7 +39,7 @@ public class ProductInfo
|
|||
/**
|
||||
* Constructor
|
||||
* @param M_Product_ID Product
|
||||
* @param trxName transcation
|
||||
* @param trxName transaction
|
||||
*/
|
||||
public ProductInfo (int M_Product_ID, String trxName)
|
||||
{
|
||||
|
|
|
@ -58,7 +58,7 @@ public class ProxyFactory {
|
|||
* @param resultSetType
|
||||
* @param resultSetConcurrency
|
||||
* @param sql
|
||||
* @param trxName
|
||||
* @param connection
|
||||
* @return new CPreparedStatement proxy instance
|
||||
*/
|
||||
public static CPreparedStatement newCPreparedStatement(int resultSetType,
|
||||
|
|
|
@ -2560,7 +2560,6 @@ public class GridField
|
|||
|
||||
/**
|
||||
* Get the default state of collapse field group type
|
||||
* @param true if field group should collapsed by default
|
||||
*/
|
||||
public boolean getIsCollapsedByDefault() {
|
||||
return m_vo.IsCollapsedByDefault;
|
||||
|
|
|
@ -843,7 +843,7 @@ public class GridFieldVO implements Serializable, Cloneable
|
|||
|
||||
/**
|
||||
* Clone Field VO.
|
||||
* @param Ctx ctx
|
||||
* @param ctx context
|
||||
* @param windowNo window no
|
||||
* @param tabNo tab no
|
||||
* @param ad_Window_ID window id
|
||||
|
|
|
@ -414,7 +414,7 @@ public class InfoColumnVO implements Serializable, Cloneable {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return query operator (=, <, >, etc)
|
||||
* @return query operator (=, <, >, etc)
|
||||
*/
|
||||
public String getQueryOperator() {
|
||||
return QueryOperator;
|
||||
|
|
|
@ -1151,7 +1151,7 @@ public class MAssetAddition extends X_A_Asset_Addition
|
|||
}
|
||||
|
||||
/**
|
||||
* @return true if assert value <= 0
|
||||
* @return true if assert value <= 0
|
||||
*/
|
||||
public boolean hasZeroValues()
|
||||
{
|
||||
|
|
|
@ -77,7 +77,7 @@ public class MChat extends X_CM_Chat
|
|||
* Standard Constructor
|
||||
* @param ctx context
|
||||
* @param CM_Chat_ID id
|
||||
* @param trxName transcation
|
||||
* @param trxName transaction
|
||||
*/
|
||||
public MChat (Properties ctx, int CM_Chat_ID, String trxName)
|
||||
{
|
||||
|
|
|
@ -1774,7 +1774,7 @@ public class MCost extends X_M_Cost
|
|||
} // beforeDelete
|
||||
|
||||
/**
|
||||
* Throw {@link AverageCostingNegativeQtyException} if cost element is average po or average invoice and currentQty < 0.
|
||||
* Throw {@link AverageCostingNegativeQtyException} if cost element is average po or average invoice and currentQty < 0.
|
||||
* @param CurrentQty
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -265,7 +265,7 @@ public class MDashboardContent extends X_PA_DashboardContent
|
|||
/**
|
||||
* Parse Process Parameters
|
||||
* @param parameters
|
||||
* @return HashMap<String parameterName, String value>
|
||||
* @return HashMap<String parameterName, String value>
|
||||
*/
|
||||
public static Map<String, String> parseProcessParameters(String parameters) {
|
||||
Map<String, String> paramMap = new HashMap<String, String>();
|
||||
|
|
|
@ -112,8 +112,8 @@ public class MDocumentStatus extends X_PA_DocumentStatus implements ImmutablePOS
|
|||
/**
|
||||
* Get from Cache (immutable)
|
||||
* @param ctx context
|
||||
* @param M_Product_Category_ID id
|
||||
* @return category
|
||||
* @param PA_DocumentStatus_ID id
|
||||
* @return document status
|
||||
*/
|
||||
public static MDocumentStatus get (Properties ctx, int PA_DocumentStatus_ID)
|
||||
{
|
||||
|
|
|
@ -323,7 +323,7 @@ public class MInOutLine extends X_M_InOutLine
|
|||
|
||||
/**
|
||||
* Set M_Locator_ID.
|
||||
* Throw IllegalArgumentException if M_Locator_ID < 0.
|
||||
* Throw IllegalArgumentException if M_Locator_ID < 0.
|
||||
* @param M_Locator_ID id
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -469,7 +469,7 @@ public class MInventoryLine extends X_M_InventoryLine
|
|||
}
|
||||
|
||||
/**
|
||||
* @return true if is an outgoing transaction (movement qty < 0)
|
||||
* @return true if is an outgoing transaction (movement qty < 0)
|
||||
*/
|
||||
public boolean isSOTrx() {
|
||||
return getMovementQty().signum() < 0;
|
||||
|
|
|
@ -238,7 +238,7 @@ public final class MLookup extends Lookup implements Serializable
|
|||
|
||||
/**
|
||||
* Get Display Text.<br/>
|
||||
* If not found, return key embedded in "<>".
|
||||
* If not found, return key embedded in "<>".
|
||||
* @param key key value
|
||||
* @return display text
|
||||
*/
|
||||
|
|
|
@ -323,7 +323,7 @@ public class MMovementLine extends X_M_MovementLine
|
|||
} // setOrderLine
|
||||
|
||||
/**
|
||||
* Set M_Locator_ID. Throw exception if M_Locator_ID < 0.
|
||||
* Set M_Locator_ID. Throw exception if M_Locator_ID < 0.
|
||||
* @param M_Locator_ID id
|
||||
*/
|
||||
@Override
|
||||
|
@ -336,7 +336,7 @@ public class MMovementLine extends X_M_MovementLine
|
|||
} // setM_Locator_ID
|
||||
|
||||
/**
|
||||
* Set M_LocatorTo_ID. Throw exception if M_LocatorTo_ID < 0.
|
||||
* Set M_LocatorTo_ID. Throw exception if M_LocatorTo_ID < 0.
|
||||
* @param M_LocatorTo_ID id
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -1008,7 +1008,7 @@ public class MOrderLine extends X_C_OrderLine
|
|||
* @param oldTax true if the old C_Tax_ID should be used
|
||||
* @return true if success, false otherwise
|
||||
*
|
||||
* @author teo_sarca [ 1583825 ]
|
||||
* author teo_sarca [ 1583825 ]
|
||||
*/
|
||||
public boolean updateOrderTax(boolean oldTax) {
|
||||
int C_Tax_ID = getC_Tax_ID();
|
||||
|
|
|
@ -63,7 +63,6 @@ public class MOrg extends X_AD_Org implements ImmutablePOSupport
|
|||
|
||||
/**
|
||||
* Get Active Organizations Of Client
|
||||
* @param ctx context
|
||||
* @param clientID AD_Client_ID
|
||||
* @return array of organization
|
||||
*/
|
||||
|
|
|
@ -723,7 +723,7 @@ public class MPInstance extends X_AD_PInstance
|
|||
|
||||
/**
|
||||
* Set AD_PrintFormat_ID if empty, AD_Language_ID if empty and save the record.
|
||||
* @param pf
|
||||
* @param format
|
||||
*/
|
||||
public void updatePrintFormatAndLanguageIfEmpty(MPrintFormat format) {
|
||||
if(getAD_PrintFormat_ID() <= 0 && format.getAD_PrintFormat_ID() > 0) {
|
||||
|
|
|
@ -50,8 +50,8 @@ public class MPostIt extends X_AD_PostIt
|
|||
/**
|
||||
* Standard Constructor
|
||||
* @param ctx context
|
||||
* @param XXA_PostIt_ID id
|
||||
* @param trxName transcation
|
||||
* @param AD_PostIt_ID id
|
||||
* @param trxName transaction
|
||||
*/
|
||||
public MPostIt (Properties ctx, int AD_PostIt_ID, String trxName)
|
||||
{
|
||||
|
|
|
@ -469,7 +469,7 @@ public class MProject extends X_C_Project
|
|||
/**
|
||||
* Get Invoices Generated for this Project
|
||||
* @return array of invoice
|
||||
* @author monhate
|
||||
* author monhate
|
||||
*/
|
||||
public MInvoice[] getMInvoices(){
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
|
|
@ -385,7 +385,7 @@ public class MRMALine extends X_M_RMALine
|
|||
}
|
||||
|
||||
/**
|
||||
* Validate that line quantity is <= MInOutLine quantity
|
||||
* Validate that line quantity is <= MInOutLine quantity
|
||||
* @return true if pass validation
|
||||
*/
|
||||
public boolean checkQty()
|
||||
|
|
|
@ -402,7 +402,7 @@ public class MRecentItem extends X_AD_RecentItem implements ImmutablePOSupport
|
|||
/**
|
||||
* Clear the label (to display) cache in a recent item instance.
|
||||
* @param AD_Table_ID
|
||||
* @param Record_ID
|
||||
* @param Record_UU
|
||||
*/
|
||||
public static synchronized void clearLabel(int AD_Table_ID, String Record_UU) {
|
||||
Iterator<MRecentItem> it = s_cache.values().iterator();
|
||||
|
|
|
@ -111,7 +111,7 @@ public class MRfQResponseLineQty extends X_C_RfQResponseLineQty implements Compa
|
|||
/**
|
||||
* Is the Amount Valid.<br/>
|
||||
* - Price > 0 <br/>
|
||||
* - Discount <= 100 <br/>
|
||||
* - Discount <= 100 <br/>
|
||||
* - Net Amount > 0
|
||||
* @return true if valid
|
||||
*/
|
||||
|
|
|
@ -2377,7 +2377,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
|
|||
* @param TableLevel table access level
|
||||
* @return true if can view<br/>
|
||||
* Access error info (AccessTableNoUpdate, AccessTableNoView) is saved in the log
|
||||
* @see org.compiere.model.MTabVO#loadTabDetails(MTabVO, ResultSet)
|
||||
* @see org.compiere.model.GridTabVO#loadTabDetails(GridTabVO, ResultSet)
|
||||
*/
|
||||
public boolean canView(Properties ctx, String TableLevel)
|
||||
{
|
||||
|
@ -2627,7 +2627,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
|
|||
* @param clientId AD_Client_ID
|
||||
* @param docTypeId C_DocType_ID
|
||||
* @param options array of document actions
|
||||
* @param maxIndex define the range of elements to examine in options (>= 0 and < maxIndex)
|
||||
* @param maxIndex define the range of elements to examine in options (>= 0 and < maxIndex)
|
||||
* @return number of valid actions in the String[] options argument
|
||||
*/
|
||||
public int checkActionAccess(int clientId, int docTypeId, String[] options,
|
||||
|
|
|
@ -928,7 +928,7 @@ public class ModelValidationEngine
|
|||
* Fire afterLoadPreferences model validator event and {@link IEventTopics#PREF_AFTER_LOAD} OSGi event.
|
||||
* @param ctx context
|
||||
* @see org.compiere.util.Login#loadPreferences(KeyNamePair, KeyNamePair, java.sql.Timestamp, String)
|
||||
* @author Teo Sarca - FR [ 1670025 ] - https://sourceforge.net/p/adempiere/feature-requests/78/
|
||||
* author Teo Sarca - FR [ 1670025 ] - https://sourceforge.net/p/adempiere/feature-requests/78/
|
||||
*/
|
||||
public void afterLoadPreferences (Properties ctx)
|
||||
{
|
||||
|
|
|
@ -2590,7 +2590,6 @@ public abstract class PO
|
|||
|
||||
/**
|
||||
* Update Value or create new record, used when writing a cross tenant record
|
||||
* @param trxName transaction
|
||||
* @throws AdempiereException
|
||||
* @see #saveEx(String)
|
||||
*/
|
||||
|
|
|
@ -714,7 +714,7 @@ public class SetGetUtil
|
|||
|
||||
/**
|
||||
* Get Info for given table and ID.
|
||||
* This method calls {@link MLookupFactory#getLookup_TableDirEmbed(Language, String, String, String) to
|
||||
* This method calls {@link MLookupFactory#getLookup_TableDirEmbed(Language, String, String, String)} to
|
||||
* generate the info string.
|
||||
* @param ctx context
|
||||
* @param tableName tablename
|
||||
|
|
|
@ -715,8 +715,8 @@ public final class DB
|
|||
|
||||
/**
|
||||
* Prepare Statement
|
||||
* @param connection
|
||||
* @param sql
|
||||
* @param trxName transaction
|
||||
* @return Prepared Statement
|
||||
*/
|
||||
public static CPreparedStatement prepareStatement (Connection connection, String sql)
|
||||
|
@ -757,10 +757,10 @@ public final class DB
|
|||
|
||||
/**
|
||||
* Prepare Statement.
|
||||
* @param connection
|
||||
* @param sql sql statement
|
||||
* @param resultSetType - ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.TYPE_SCROLL_SENSITIVE
|
||||
* @param resultSetConcurrency - ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
|
||||
* @param trxName transaction name
|
||||
* @return Prepared Statement r/o or r/w depending on concur
|
||||
*/
|
||||
public static CPreparedStatement prepareStatement(Connection connection, String sql,
|
||||
|
|
|
@ -756,7 +756,7 @@ public class Util
|
|||
|
||||
/**
|
||||
* Make the filename correct (updating all unauthorized characters to safe ones)
|
||||
* @param the filename to check
|
||||
* @param input the filename to check
|
||||
* @returns the correct filename
|
||||
*/
|
||||
public static String setFilenameCorrect(String input) {
|
||||
|
|
|
@ -667,7 +667,8 @@ public class ADSortTab extends Panel implements IADTabpanel
|
|||
|
||||
/**
|
||||
* Move items within Yes List with Drag Event and Multiple Choice
|
||||
* @param event event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
|
||||
{
|
||||
|
|
|
@ -2461,7 +2461,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
|
|||
|
||||
/**
|
||||
*
|
||||
* @return {@link AbstractADWindowContenta}
|
||||
* @return {@link AbstractADWindowContent}
|
||||
*/
|
||||
public AbstractADWindowContent getADWindowContent()
|
||||
{
|
||||
|
|
|
@ -181,7 +181,7 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
|
|||
|
||||
/**
|
||||
* Maintain hierarchical Quick form by its parent-child tab while open leaf
|
||||
* tab once & dispose and doing same action
|
||||
* tab once and dispose and doing same action
|
||||
*/
|
||||
private int quickFormTabHrchyLevel = 0;
|
||||
/** show more button for mobile client **/
|
||||
|
@ -859,7 +859,7 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
|
|||
|
||||
/**
|
||||
* Turn on/off Lock button (Pressed=On, Not Pressed=Off)
|
||||
* @param enabled
|
||||
* @param locked
|
||||
*/
|
||||
public void lock(boolean locked)
|
||||
{
|
||||
|
@ -1109,8 +1109,8 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
|
|||
|
||||
/**
|
||||
* Enable/disable Process button
|
||||
* @param enabled
|
||||
*/
|
||||
* @param b boolean
|
||||
*/
|
||||
public void enableProcessButton(boolean b) {
|
||||
if (btnProcess != null) {
|
||||
btnProcess.setDisabled(!b);
|
||||
|
|
|
@ -3916,7 +3916,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
|
||||
/**
|
||||
* Show process, form or info window dialog for button.
|
||||
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
|
||||
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int, String, Callback)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
|
||||
* @param wButton
|
||||
* @param startWOasking
|
||||
* @param table_ID
|
||||
|
@ -3932,7 +3932,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
|
|||
|
||||
/**
|
||||
* Show process, form or info window dialog for button.
|
||||
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
|
||||
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int, String, Callback)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
|
||||
* @param wButton
|
||||
* @param startWOasking
|
||||
* @param table_ID
|
||||
|
|
|
@ -103,7 +103,7 @@ public class WDrillReport extends Window implements EventListener<Event> {
|
|||
/**
|
||||
*
|
||||
* @param data
|
||||
* @param WindowNo
|
||||
* @param windowNo
|
||||
*/
|
||||
public WDrillReport(DrillData data, int windowNo) {
|
||||
this(data, windowNo, 0);
|
||||
|
@ -112,7 +112,7 @@ public class WDrillReport extends Window implements EventListener<Event> {
|
|||
/**
|
||||
*
|
||||
* @param data
|
||||
* @param WindowNo
|
||||
* @param windowNo
|
||||
* @param processID
|
||||
*/
|
||||
public WDrillReport(DrillData data, int windowNo, int processID) {
|
||||
|
|
|
@ -183,7 +183,6 @@ public class WSQLQuery extends ADForm implements EventListener<Event>
|
|||
* Process SQL Statements.
|
||||
*
|
||||
* @param sqlStatement a single SQL statement
|
||||
* @param allowDML whether to allow DML statements
|
||||
* @return a string summarizing the results
|
||||
*/
|
||||
public String processStatement (String sqlStatement) {
|
||||
|
|
|
@ -70,7 +70,7 @@ public class WFPopupItem extends Menuitem {
|
|||
* Add Line Item
|
||||
* @param title title
|
||||
* @param node workflow node
|
||||
* @param AD_WF_NodeTo_ID if > 0, next workflow node id. if < 0, actions to apply to node
|
||||
* @param AD_WF_NodeTo_ID if > 0, next workflow node id. if < 0, actions to apply to node
|
||||
*/
|
||||
public WFPopupItem (String title, MWFNode node, int AD_WF_NodeTo_ID)
|
||||
{
|
||||
|
|
|
@ -50,7 +50,7 @@ public class SimpleListModel extends AbstractListModel<Object> implements Listit
|
|||
/** Sort Direction. True for Ascending, False for Descrending */
|
||||
private boolean _sortDir;
|
||||
|
||||
/** Max length for each column (value <= 0 means no Max length) */
|
||||
/** Max length for each column (value <= 0 means no Max length) */
|
||||
private int[] maxLength;
|
||||
|
||||
/**
|
||||
|
@ -62,7 +62,7 @@ public class SimpleListModel extends AbstractListModel<Object> implements Listit
|
|||
|
||||
/**
|
||||
* Create model from list
|
||||
* @param list List<?>
|
||||
* @param list List<?>
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public SimpleListModel(List<?> list) {
|
||||
|
|
|
@ -426,7 +426,8 @@ public class LoginOpenSequenceDialog extends Window
|
|||
/**
|
||||
* Move within Yes List with Drag Event and Multiple Choice
|
||||
*
|
||||
* @param event - Event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects)
|
||||
{
|
||||
|
|
|
@ -128,7 +128,6 @@ public abstract class AbstractDesktop extends AbstractUIPart implements IDesktop
|
|||
|
||||
/**
|
||||
* @param win
|
||||
* @param registered Window Number (start from 0)
|
||||
*/
|
||||
public int registerWindow(Object win) {
|
||||
List<Object> windows = getWindows();
|
||||
|
|
|
@ -232,7 +232,7 @@ public interface IDesktop extends UIPart {
|
|||
|
||||
/**
|
||||
* update help content in help/info panel
|
||||
* @param ctxTypes
|
||||
* @param ctxType
|
||||
* @param recordId
|
||||
*/
|
||||
public void updateHelpContext(String ctxType, int recordId);
|
||||
|
@ -290,7 +290,7 @@ public interface IDesktop extends UIPart {
|
|||
|
||||
/**
|
||||
* Set if closing tab with shortcut is allowed
|
||||
* @param isCloseTabWithShortcutAllowed
|
||||
* @param isCloseTabWithShortcut
|
||||
*/
|
||||
public void setCloseTabWithShortcut(boolean isCloseTabWithShortcut);
|
||||
}
|
||||
|
|
|
@ -131,7 +131,6 @@ public class DateRangeEditor extends Div implements ValueChangeListener {
|
|||
|
||||
/**
|
||||
* Set/Remove Mandatory Style
|
||||
* @param applyStyle
|
||||
*/
|
||||
public void setFieldMandatoryStyle() {
|
||||
if (isMandatoryStyle())
|
||||
|
|
|
@ -43,7 +43,7 @@ import org.zkoss.zul.Panelchildren;
|
|||
|
||||
/**
|
||||
* Default editor for {@link DisplayType#DashboardContent}.<br/>
|
||||
* A readonly editor that render dashboard content from {@link MDashboardContents} to {@link Panel} component.
|
||||
* A readonly editor that render dashboard content from {@link MDashboardContent} to {@link Panel} component.
|
||||
* @author hengsin
|
||||
*
|
||||
*/
|
||||
|
|
|
@ -84,7 +84,6 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
|
|||
|
||||
/**
|
||||
* Constructor
|
||||
* @param div
|
||||
* @param gridField
|
||||
* @param tableEditor
|
||||
* @param editorConfiguration
|
||||
|
@ -364,7 +363,7 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
|
|||
/**
|
||||
* Get Lookup
|
||||
* @param tableID
|
||||
* @return null if tableID <= 0 or the table doesn't have any key column, else {@link MLookup}
|
||||
* @return null if tableID <= 0 or the table doesn't have any key column, else {@link MLookup}
|
||||
*/
|
||||
public MLookup getRecordsLookup(int tableID) {
|
||||
return getRecordsLookup(tableID, false);
|
||||
|
@ -468,7 +467,6 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
|
|||
|
||||
/**
|
||||
* Validate selected table id value
|
||||
* @param tableIDEditor
|
||||
* @param tableId
|
||||
* @return error message or null
|
||||
*/
|
||||
|
|
|
@ -85,7 +85,7 @@ public class WTimeZoneEditor extends WEditor implements ContextMenuListener {
|
|||
|
||||
/**
|
||||
* @param gridField
|
||||
* @param rowIndex
|
||||
* @param tableEditor
|
||||
*/
|
||||
public WTimeZoneEditor(GridField gridField, boolean tableEditor) {
|
||||
super(new Combobox(), gridField);
|
||||
|
|
|
@ -60,7 +60,7 @@ public class GridTabSelectionListViewRenderer implements ListitemRenderer<GridTa
|
|||
/**
|
||||
* @param listitem
|
||||
* @param data
|
||||
* @see ListitemRenderer#render(Listitem, Object)
|
||||
* @see ListitemRenderer#render(Listitem, Object, int)
|
||||
*/
|
||||
@Override
|
||||
public void render(Listitem listitem, GridTableRow data, int index) throws Exception {
|
||||
|
|
|
@ -109,7 +109,7 @@ public class SimpleGridTableListModel extends AbstractListModel<GridTableRow> im
|
|||
/**
|
||||
* @param cmpr
|
||||
* @param ascending
|
||||
* @see ListModelExt#sort(Comparator, boolean)
|
||||
* @see org.zkoss.zul.ListModelExt#sort(Comparator, boolean)
|
||||
*/
|
||||
@Override
|
||||
public void sort(Comparator<Object> cmpr, boolean ascending) {
|
||||
|
|
|
@ -38,7 +38,7 @@ import org.zkoss.zul.ListitemRendererExt;
|
|||
/**
|
||||
* Renderer for {@link Listbox} with single level grouping.<br/>
|
||||
* Note that due to a class hierarchy issue, this wouldn't works with {@link org.adempiere.webui.component.Listbox}.<br/>
|
||||
* Note2: not working very well with {@link Listbox#setCheckmark(true)}. Recommended to roll your own checkbox cell if you need multiple selection.
|
||||
* Note2: not working very well with {@link Listbox#setCheckmark(boolean) Listbox.setCheckmark(true)}. Recommended to roll your own checkbox cell if you need multiple selection.
|
||||
* @author hengsin
|
||||
* @param <T> Common ancestor type for Group and Item class.
|
||||
*/
|
||||
|
|
|
@ -486,7 +486,8 @@ public class CustomizeGridViewPanel extends Panel
|
|||
|
||||
/**
|
||||
* Move selected items within Yes List
|
||||
* @param event event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
|
||||
{
|
||||
|
|
|
@ -315,7 +315,8 @@ public class QuickCustomizeGridViewPanel extends Panel {
|
|||
/**
|
||||
* Move within Yes List with Drag Event and Multiple Choice
|
||||
*
|
||||
* @param event event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects) {
|
||||
int iniIndex = 0;
|
||||
|
|
|
@ -171,7 +171,8 @@ public class WRC2FieldOrderPanel extends WRCTabPanel implements EventListener<Ev
|
|||
|
||||
/**
|
||||
* Move selected items within Yes List
|
||||
* @param event event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
|
||||
{
|
||||
|
|
|
@ -389,7 +389,8 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener
|
|||
|
||||
/**
|
||||
* Move selected items within Yes List
|
||||
* @param event event
|
||||
* @param endIndex
|
||||
* @param selObjects
|
||||
*/
|
||||
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
|
||||
{
|
||||
|
|
|
@ -514,7 +514,6 @@ public final class Dialog {
|
|||
* @param adMessage
|
||||
* @param adMessageArgs
|
||||
* @param title
|
||||
* @param correctInput
|
||||
* @param callback
|
||||
*/
|
||||
public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback) {
|
||||
|
|
|
@ -438,7 +438,6 @@ public class FDialog
|
|||
* @param adMessage
|
||||
* @param adMessageArgs
|
||||
* @param title
|
||||
* @param correctInput
|
||||
* @param callback
|
||||
*/
|
||||
public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback)
|
||||
|
|
|
@ -956,7 +956,6 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
|
|||
|
||||
/**
|
||||
* Instance Selection Button
|
||||
* @return true if selected
|
||||
*/
|
||||
protected void cmd_select()
|
||||
{
|
||||
|
|
|
@ -147,8 +147,8 @@ public class Archive {
|
|||
* @param description archive description filter
|
||||
* @param help archive help filter
|
||||
* @param createdBy CreatedBy filter
|
||||
* @param createdFrom Created >= createdFrom
|
||||
* @param createdTo Created <= createdTo
|
||||
* @param createdFrom Created >= createdFrom
|
||||
* @param createdTo Created <= createdTo
|
||||
*/
|
||||
public void cmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID,
|
||||
String name, String description, String help, KeyNamePair createdBy,
|
||||
|
|
|
@ -75,7 +75,6 @@ public class Match
|
|||
/**
|
||||
* Match From Changed - Fill Match To
|
||||
* @param selection match from
|
||||
* @param list of match to option
|
||||
*/
|
||||
protected Vector<String> cmd_matchFrom(String selection)
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@ public class TableColumn
|
|||
|
||||
/**
|
||||
* Cover method, using a default width of 75
|
||||
* @see #WTableColumn(int)
|
||||
* @see @WTableColumn(int)
|
||||
*/
|
||||
public TableColumn() {
|
||||
headerValue = null;
|
||||
|
|
|
@ -370,7 +370,8 @@ public class DrillReportCtl {
|
|||
|
||||
/**
|
||||
* Launch Report
|
||||
* @param pf print format
|
||||
* @param ad_PrintFormat_ID print format
|
||||
* @param tableName
|
||||
*/
|
||||
public void launchTableDrillReport (int ad_PrintFormat_ID, String tableName)
|
||||
{
|
||||
|
@ -474,7 +475,8 @@ public class DrillReportCtl {
|
|||
|
||||
/**
|
||||
* Fill Parameter
|
||||
* @param pInstance process instance
|
||||
* @param pi process info
|
||||
* @param processDrillRule
|
||||
*/
|
||||
protected void fillParameter(ProcessInfo pi, MProcessDrillRule processDrillRule)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue