IDEMPIERE-3394 Allow defining web service type in System and extend in Tenant
This commit is contained in:
parent
8615b92609
commit
ba7348f6a4
|
@ -126,12 +126,14 @@ public class MWebServiceType extends X_WS_WebServiceType
|
||||||
+ " AND c.IsActive='Y' "
|
+ " AND c.IsActive='Y' "
|
||||||
+ " AND f.IsActive='Y' "
|
+ " AND f.IsActive='Y' "
|
||||||
+ "ORDER BY c.ColumnName";
|
+ "ORDER BY c.ColumnName";
|
||||||
List<Object> list = DB.getSQLValueObjectsEx(get_TrxName(), sql, getWS_WebServiceType_ID());
|
List<List<Object>> list = DB.getSQLArrayObjectsEx(get_TrxName(), sql, getWS_WebServiceType_ID());
|
||||||
if (list == null) {
|
if (list == null) {
|
||||||
m_inputcolumnnames = new String[0];
|
m_inputcolumnnames = new String[0];
|
||||||
} else {
|
} else {
|
||||||
m_inputcolumnnames = new String[list.size ()];
|
m_inputcolumnnames = new String[list.size()];
|
||||||
list.toArray (m_inputcolumnnames);
|
for (int idx = 0; idx < list.size(); idx++) {
|
||||||
|
m_inputcolumnnames[idx] = (String) list.get(idx).get(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return m_inputcolumnnames;
|
return m_inputcolumnnames;
|
||||||
} // getInputColumnNames
|
} // getInputColumnNames
|
||||||
|
@ -173,12 +175,14 @@ public class MWebServiceType extends X_WS_WebServiceType
|
||||||
+ " AND c.IsActive='Y' "
|
+ " AND c.IsActive='Y' "
|
||||||
+ " AND f.IsActive='Y' "
|
+ " AND f.IsActive='Y' "
|
||||||
+ "ORDER BY c.ColumnName";
|
+ "ORDER BY c.ColumnName";
|
||||||
List<Object> list = DB.getSQLValueObjectsEx(get_TrxName(), sql, getWS_WebServiceType_ID());
|
List<List<Object>> list = DB.getSQLArrayObjectsEx(get_TrxName(), sql, getWS_WebServiceType_ID());
|
||||||
if (list == null) {
|
if (list == null) {
|
||||||
m_outputcolumnnames = new String[0];
|
m_outputcolumnnames = new String[0];
|
||||||
} else {
|
} else {
|
||||||
m_outputcolumnnames = new String[list.size ()];
|
m_outputcolumnnames = new String[list.size()];
|
||||||
list.toArray (m_outputcolumnnames);
|
for (int idx = 0; idx < list.size(); idx++) {
|
||||||
|
m_outputcolumnnames[idx] = (String) list.get(idx).get(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return m_outputcolumnnames;
|
return m_outputcolumnnames;
|
||||||
} // getOutputColumnNames
|
} // getOutputColumnNames
|
||||||
|
|
Loading…
Reference in New Issue