Package beans.contract.search

Examples of beans.contract.search.ContractFilter


            int enterpriseID = -1;
            if (enterprise != null) {
                enterpriseID = enterprise.getID();
            }

            ContractFilter filter = new ContractFilter();
            filter.enterpriseId = enterpriseID;
            filter.index = tfIndex.getText();
            filter.onlyOpen = chbOnlyOpen.isSelected();
            filter.onlyOpenForAll = chbOpenForAll.isSelected();
            filter.lpuID = UserInfo.get().getCollaborator().getLpu().getID();
View Full Code Here


    }


    private Object[] loadContractList() throws ClipsException {
        ContractFactoryLocal cf = new ContractFactoryLocal(getAuditManager());
        ContractFilter filter = new ContractFilter();
        filter.index = "";
        filter.enterpriseId = -1;
        filter.onlyOpen = true;
        filter.lpuID = UserInfo.get().getCollaborator().getLpu().getID();
        ArrayList list = cf.findContractList(filter);
View Full Code Here

  }//GEN-LAST:event_btValidateMKB10ActionPerformed

  private void btUnionPolisActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btUnionPolisActionPerformed
        try {
            ContractFactoryLocal cf = new ContractFactoryLocal(getAuditManager());
            ContractFilter contractFilter = new ContractFilter();
            contractFilter.index = "";
            contractFilter.enterpriseId = -1;
            contractFilter.lpuID = UserInfo.get().getCollaborator().getLpu().getID();
            ArrayList<ContractLocal> contractList = cf.findContractList(contractFilter);
            System.out.println("Найдено " + contractList.size() + " контрактов");
View Full Code Here

TOP

Related Classes of beans.contract.search.ContractFilter

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.