Package org.sprimaudi.zkspring.entity

Examples of org.sprimaudi.zkspring.entity.UserRole


    }

    @Listen("onClick=#miAssign")
    public void onAssign(Event evt) {
        UserGrup ug = lstGrup.getSelectedItem() != null ? lstGrup.getSelectedItem().getValue() != null ? (UserGrup) lstGrup.getSelectedItem().getValue() : null : null;
        UserRole ur = lstRole.getSelectedItem() != null ? lstRole.getSelectedItem().getValue() != null ? (UserRole) lstRole.getSelectedItem().getValue() : null : null;
        userService.assignRoleToGrup(ug, ur);
        prepareRoleList(ug);
    }
View Full Code Here


        ListModelList<UserRole> lmUg = new ListModelList<UserRole>(grups);
        lstData.setModel(lmUg);
    }

    public UserRole extract() {
        UserRole tarif = txtIdUserRole.getText() != null
                ? !"".equals(txtIdUserRole.getText())
                ? userRoleRepository.findOne(txtIdUserRole.getText())
                : new UserRole()
                : new UserRole();
        tarif.setKeterangan(txtKeterangan.getText());
        tarif.setNama(txtNama.getValue());
        tarif.setKode(txtKode.getValue());
        return tarif;
    }
View Full Code Here

        prepareData();
    }

    @Listen("onClick=#tbNewDr")
    public void onNewDr(Event evt) {
        dataref = new UserRole();
        show();
        txtNama.focus();
        menu = "user_role";
        ctx.switchContext(hbCrud, null, menu);
        ctx.switchContext(gdForm, null, menu);
View Full Code Here

                    Messagebox.QUESTION)
                    == Messagebox.YES) {
                userRoleRepository.delete(dataref);
                alert("selected User Role succesfully deleted");
                menu = "user_role";
                dataref = new UserRole();
                show();
                prepareData();
            }
        } else {
            alert("There is no any Data Request Row selected");
View Full Code Here

TOP

Related Classes of org.sprimaudi.zkspring.entity.UserRole

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.