Package beans.directory.service.entity

Examples of beans.directory.service.entity.ServiceDetails


                        System.out.println("   " +code + " " + title);
                    }
                    else if (code.length() == 9) {
                        code = code.substring(7);
                       
                        ServiceDetails servDetails = new ServiceDetails();
                        servDetails.checkupType = 0;
                        servDetails.code = code;
                        servDetails.defaultDuration = 0;
                        servDetails.description = "";
                        servDetails.serviceClass = 1;
View Full Code Here


    private void btOkActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btOkActionPerformed
        DirectoryServiceClassItem servClass = (DirectoryServiceClassItem) cbClass.getSelectedItem();
        if (servClass != null && servClass.getID() != 0
                && !tfGroupCode.getText().isEmpty() && !tfName.getText().isEmpty()) {
            ServiceDetails d = new ServiceDetails();
            d.id = 0;
            d.title = tfName.getText();
            d.code = tfGroupCode.getText();
            d.serviceClass = servClass.getID();
            d.defaultDuration = 0;
View Full Code Here

                    pItem.setVisible(true);
                }
                presentItems.remove(entry.getKey());
            } else {
                //Создать новый
                ServiceDetails details = new ServiceDetails();
                details.title = d.name;
                details.external_key = entry.getKey();
                details.code = entry.getKey();
                details.reqTypeID = getReqType(d.reqType).getID();
                details.visitTypeID = getVisitType(d.visitType).getID();
View Full Code Here

     * @param visitType
     * @throws cli_fmw.main.ClipsException
     */
    public void setVisitType(DirectoryVisitTypeItem visitType) throws ClipsException {
        if(isInDirectory()) {
            ServiceDetails newdDetails = getDetailsCopy();
            newdDetails.visitTypeID = visitType.getID();
            saveDetails(newdDetails);
        } else {
            getDetails().visitTypeID = visitType.getID();
        }
View Full Code Here

        return "Услуги";
    }
   
    @Override
    protected DirectoryServiceItem createFromLoadedDetails(DirectoryItemDetails details) {
        ServiceDetails d = (ServiceDetails) details;
        return new DirectoryServiceItem(d);
    }
View Full Code Here

        return new DirectoryServiceItem(d);
    }
   
    @Override
    protected DirectoryServiceItem createNullItem() {
        ServiceDetails d = new ServiceDetails();
        d.title = "Нет услуги";
        return createFromLoadedDetails(d);
    }      
View Full Code Here

   
    @Override
    public DirectoryServiceItem getNotAccessItem() throws DirectoryItemNotFoundException {
     //   try {
      if (dsi == null){
        ServiceDetails serviceDetails = new ServiceDetails();
        serviceDetails.title = AccessException.E_TEXT;
        dsi = new DirectoryServiceItem(serviceDetails);
      }
      return dsi;
     /*   }
View Full Code Here

     * @param duration время в минутах
     * @throws ClipsException
     */
    public void setDefaultDuration(int duration) throws ClipsException {
       if(isInDirectory()) {
            ServiceDetails newDetails = getDetailsCopy();
            newDetails.defaultDuration = duration;
            saveDetails(newDetails);
        } else {
            getDetails().defaultDuration = duration;
        }
View Full Code Here

     * @param description примечания
     * @throws ClipsException
     */
    public void setDescription(String description) throws ClipsException {
       if(isInDirectory()) {
            ServiceDetails newDetails = getDetailsCopy();
            newDetails.description = description;
            saveDetails(newDetails);
        } else {
            getDetails().description = description;
        }
View Full Code Here

     * @param code
     * @throws cli_fmw.main.ClipsException
     */
    public void setCode(String code) throws ClipsException {
       if(isInDirectory()) {
            ServiceDetails newDetails = getDetailsCopy();
            newDetails.code = code;
            saveDetails(newDetails);
        } else {
            getDetails().code = code;
        }
View Full Code Here

TOP

Related Classes of beans.directory.service.entity.ServiceDetails

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.