Date endDate, PartyTypeEnum type, Unit parentUnit, AccountabilityType accountabilityType, String webAddress) {
Date endDate, PartyTypeEnum type, Unit parentUnit, AccountabilityType accountabilityType, String webAddress) throws FenixFilterException, FenixServiceException {  checkCostCenterCode(unitCostCenter);
    public void edit(String unitName, Integer unitCostCenter, String acronym, Date beginDate,            Date endDate, PartyTypeEnum type, Unit parentUnit, AccountabilityType accountabilityType, String webAddress) {        this.setName(unitName);        this.setBeginDate(beginDate);        this.setEndDate(endDate);        this.setType(type);                this.setCostCenterCode(unitCostCenter);        this.setWebAddress(webAddress);        if (acronym != null && !acronym.equals("") && this.getType() != null) {            checkAcronym(acronym, this.getType());        }        this.setAcronym(acronym);        if (parentUnit != null && accountabilityType != null) {            this.addParent(parentUnit, accountabilityType);        }        if (endDate != null && endDate.before(beginDate)) {            throw new DomainException("error.endDateBeforeBeginDate");        }    }