Examples of AddressDetails


Examples of framework.beans.address.entities.AddressDetails

        directoryKladr = DirectoryLocator.getDirectory(DirectoryKladr.class);
        if (ad == null || ad.getDetails().objectId == 0) {
            if (addDefault != null && addDefault.getDetails().objectId != 0) {
                DirectoryKladrItem city = addDefault.getCity();
                if (city != null) {
                    ad = new Address(new AddressDetails(city.getID()));
                }
            }
        }

        if (ad == null || ad.getDetails().objectId == 0) {
            ad = new Address(new AddressDetails(directoryKladr.getRussia().getID()));
            addressReset = true;
        }
        this.address = ad;
        this.addressDetailsOriginal = address.getDetails().clone();
        combos = new JComboBox[6];
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

            fireAuditEvent();
        }

        @Override
        protected AddressDetails initNew() {
            return new AddressDetails();
        }
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

            filter.lastComingFrom = dateFrom.getDate();
            filter.lastComingTill = dateTo.getDate();
            filter.lastComingByTap = rbTap.isSelected();
        }
        if (address != null) {
            AddressDetails ad = address.getDetails();
            filter.ad = ad.clone();
            filter.addressTitle = address.toString();
        }

        if (filter.isEmpty()) {
            jScrollPane1.setBorder(new TitledBorder(""));
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

            Address ad;
            if (address != null) {
                ad = new Address(address.getDetails().clone());
            }
            else {
                ad = new Address(new AddressDetails());
            }
            Address addressDefault = UserInfo.get().getCollaborator().getLpu().getAddress();
            DialogAddressM dlg = new DialogAddressM((Window) getContainer(), ad, addressDefault, getAuditManager());
            dlg.setVisible(true);
            if (dlg.getDlgResult() == ModalDialog.DLG_OK){
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

        try {
            Address a;
            if (details.addressDetail != null){
                a = new Address(details.addressDetail);
            }else{
                a = new Address(new AddressDetails());
            }
            Address address = UserInfo.get().getCollaborator().getLpu().getAddress();
            DialogAddressM dialog = new DialogAddressM(this.getOwner(), a, address, getAuditManager());
            dialog.setVisible(true);
            if (dialog.getDlgResult() == ModalDialog.DLG_OK) {
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

    public Address getAddress() throws ClipsException {
        if (getDetails().addressDetail != null) {
            return new Address(getDetails().addressDetail);
        }
        return new Address(new AddressDetails());
    }
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

    public Address getAddress() throws ClipsException {
        if (getDetails().addressDetails != null) {
            return new Address(getDetails().addressDetails.clone());
        } else {
            return new Address(new AddressDetails());
        }
    }
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

    protected DETAILSTYPE fill(DETAILSTYPE details, RightChecker rightChecker) {
        details.id = getId();
        details.title = getTitle();
        details.dirty = false;
        details.treepath = getTreePath();
        details.address = getAddress() != null ? getAddress().getDetails(rightChecker) : new AddressDetails();
    details.parentItem = getDepartament() == null ? 0 : getDepartament().getId();
        details.okved = getOkved() == null ? "" : getOkved();
        return details;
    }
View Full Code Here

Examples of framework.beans.address.entities.AddressDetails

    @Override
    protected void set(DEN enterprise, DETAILSTYPE details) throws ClipsServerException {
         enterprise.setTitle(details.title);
       
        AddressDetails add = details.address;
        if(add == null || add.objectId == 0) {
            enterprise.setAddress(null);
        }else{
            Address address = enterprise.getAddress();
            if (address == null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.