| " + " |
" + ""+msg+"" + "
" + ""); String l_cPreviousErr = status.m_cErrMsg; String l_cUserErr = status.m_cErrMsg; if (status.m_bError) { status.out.println( "" + ""); } status.out.println( "" + ""); } void IncludeJS(ServletStatus status) { String l_cJsUid; /* --- Area Manuale = UI - Include */ /* --- spadministration_subgroups */ status.out.println(""); /* --- Fine Area Manuale */ } // m_CallableNames inizializzato dal primo accesso a GetCallableNames private static volatile String[] m_CallableNames; public static String[] GetCallableNames() { if (CPLib.IsNull(m_CallableNames)) { java.util.Set building = new java.util.HashSet(); GetCallableNames(building); m_CallableNames = CPLib.SetOfStringsAsArray(building); } return (String[])m_CallableNames.clone(); } public static void GetCallableNames(java.util.Set callable) { if (CPLib.IsNull(m_CallableNames)) { } else { CPLib.AddStringsToSet(callable,m_CallableNames); } } void AppendCallableIDS(ServletStatus status,String sep) { } public String GetCheckVars(ServletStatus status,spadministration_subgroupsBO BO,String p_cUID) { com.zucchetti.sitepainter.Library.HashCreator hCreator = com.zucchetti.sitepainter.Library.GetHashCreator(); hCreator.Reset(); if (CPLib.eq(p_cUID,m_cEntityUid)) { hCreator.AddValue(CPLib.BoolToChar(BO.IsLoaded())); if (BO.IsLoaded()) { hCreator.AddValue(BO.m_cOldCPCCCHK); hCreator.AddValue(CPLib.ToSQL(BO.w_groupcode,"N",6,0)); } } else if (CPLib.eq(p_cUID,"MJILVOVIBU")) { SPLib.FillLinkHash(hCreator,BO.GetLinkProperties(p_cUID),BO); } return GetEntityHash(p_cUID,status,hCreator); } public boolean CheckVars(ServletStatus status,spadministration_subgroupsBO BO) { boolean result = true; if (SPServlet.m_nEnableCheckHash) { String a = GetCheckVars(status,BO,m_cEntityUid); String b = status.m_CheckVars.optString("_"); result = CPLib.eq(a,b); int l_nRow = 0; org.json.JSONObject _detail = status.m_CheckVars.optJSONObject("_detail"); if (CPLib.IsNull(_detail)) { _detail = new org.json.JSONObject(); } while (CPLib.lt(l_nRow,BO.Rows())) { BO.SetRow(l_nRow); if (BO.IsRowUpdated()) { org.json.JSONObject _row = _detail.optJSONObject(String.valueOf(l_nRow)); if (CPLib.IsNull(_row)) { _row = new org.json.JSONObject(); } if (result && ! (CPLib.Empty(BO.w_groupbase))) { a = GetCheckVars(status,BO,"MJILVOVIBU"); b = _row.optString("MJILVOVIBU"); result = CPLib.eq(a,b); } } l_nRow = l_nRow+1; } } return result; } }