public CFSecurityCursor openTSecGroupCursorAll(CFSecurityAuthorization Authorization) { String sql = getSqlSelectTSecGroupBuff() + ((schema.isSystemUser(Authorization)) ? "" : (" WHERE tgrp.TenantId = " + Authorization.getSecTenantId())) + "ORDER BY " + "tgrp.TenantId ASC" + ", " + "tgrp.TSecGroupId ASC"; CFSecurityCursor cursor = new CFSecurityMySqlCursor(Authorization, schema, sql); return (cursor); }