IDEMPIERE-1906 Use postgresql SIMILAR TO instead of LIKE
This commit is contained in:
parent
78309342a7
commit
16093fb33c
|
@ -164,6 +164,15 @@ public interface I_AD_UserPreference
|
||||||
/** Get Detailed Zoom Across */
|
/** Get Detailed Zoom Across */
|
||||||
public boolean isDetailedZoomAcross();
|
public boolean isDetailedZoomAcross();
|
||||||
|
|
||||||
|
/** Column name IsUseSimilarTo */
|
||||||
|
public static final String COLUMNNAME_IsUseSimilarTo = "IsUseSimilarTo";
|
||||||
|
|
||||||
|
/** Set Use Similar To */
|
||||||
|
public void setIsUseSimilarTo (boolean IsUseSimilarTo);
|
||||||
|
|
||||||
|
/** Get Use Similar To */
|
||||||
|
public boolean isUseSimilarTo();
|
||||||
|
|
||||||
/** Column name ToggleOnDoubleClick */
|
/** Column name ToggleOnDoubleClick */
|
||||||
public static final String COLUMNNAME_ToggleOnDoubleClick = "ToggleOnDoubleClick";
|
public static final String COLUMNNAME_ToggleOnDoubleClick = "ToggleOnDoubleClick";
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20180119L;
|
private static final long serialVersionUID = 20180502L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_AD_UserPreference (Properties ctx, int AD_UserPreference_ID, String trxName)
|
public X_AD_UserPreference (Properties ctx, int AD_UserPreference_ID, String trxName)
|
||||||
|
@ -215,6 +215,27 @@ public class X_AD_UserPreference extends PO implements I_AD_UserPreference, I_Pe
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Use Similar To.
|
||||||
|
@param IsUseSimilarTo Use Similar To */
|
||||||
|
public void setIsUseSimilarTo (boolean IsUseSimilarTo)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_IsUseSimilarTo, Boolean.valueOf(IsUseSimilarTo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Use Similar To.
|
||||||
|
@return Use Similar To */
|
||||||
|
public boolean isUseSimilarTo ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_IsUseSimilarTo);
|
||||||
|
if (oo != null)
|
||||||
|
{
|
||||||
|
if (oo instanceof Boolean)
|
||||||
|
return ((Boolean)oo).booleanValue();
|
||||||
|
return "Y".equals(oo);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Toggle on Double Click.
|
/** Set Toggle on Double Click.
|
||||||
@param ToggleOnDoubleClick
|
@param ToggleOnDoubleClick
|
||||||
Defines if double click in a field on grid mode switch to form view
|
Defines if double click in a field on grid mode switch to form view
|
||||||
|
|
Loading…
Reference in New Issue