OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 147 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 147 Rev 160
Line 25... Line 25...
25
import org.openconcerto.sql.model.SQLRowValues;
25
import org.openconcerto.sql.model.SQLRowValues;
26
import org.openconcerto.sql.model.SQLSelect;
26
import org.openconcerto.sql.model.SQLSelect;
27
import org.openconcerto.sql.model.SQLTable;
27
import org.openconcerto.sql.model.SQLTable;
28
import org.openconcerto.sql.model.Where;
28
import org.openconcerto.sql.model.Where;
29
import org.openconcerto.sql.model.graph.Path;
29
import org.openconcerto.sql.model.graph.Path;
30
import org.openconcerto.sql.users.User;
-
 
31
import org.openconcerto.sql.users.UserManager;
30
import org.openconcerto.sql.users.UserManager;
32
import org.openconcerto.sql.users.rights.UserRights;
-
 
33
import org.openconcerto.sql.users.rights.UserRightsManager;
31
import org.openconcerto.sql.users.rights.UserRightsManager;
34
import org.openconcerto.sql.view.EditFrame;
32
import org.openconcerto.sql.view.EditFrame;
35
import org.openconcerto.sql.view.EditPanel.EditMode;
33
import org.openconcerto.sql.view.EditPanel.EditMode;
36
import org.openconcerto.sql.view.EditPanelListener;
34
import org.openconcerto.sql.view.EditPanelListener;
37
import org.openconcerto.sql.view.list.BaseSQLTableModelColumn;
35
import org.openconcerto.sql.view.list.BaseSQLTableModelColumn;
Line 52... Line 50...
52
    public static final String ELEMENT_CODE = "customerrelationship.lead";
50
    public static final String ELEMENT_CODE = "customerrelationship.lead";
53
    public static String CODE_NOT_RESTRICT = "VIEW_ALL_LEADS";
51
    public static String CODE_NOT_RESTRICT = "VIEW_ALL_LEADS";
54
 
52
 
55
    public LeadSQLElement(final AbstractModule module) {
53
    public LeadSQLElement(final AbstractModule module) {
56
        super(module, Module.TABLE_LEAD);
54
        super(module, Module.TABLE_LEAD);
57
        this.setL18nLocation(LeadSQLElement.class);
-
 
58
 
55
 
59
        // Call
56
        // Call
60
        final RowAction.PredicateRowAction addCallAction = new RowAction.PredicateRowAction(new AbstractAction("Appeler") {
57
        final RowAction.PredicateRowAction addCallAction = new RowAction.PredicateRowAction(new AbstractAction("Appeler") {
61
 
58
 
62
            @Override
59
            @Override