Search in sources :

Example 1 with FieldProperty

use of it.cnr.bulkinfo.BulkInfoImpl.FieldProperty in project cool-jconon by consiglionazionaledellericerche.

the class PrintService method formNameMessage.

private String formNameMessage(FieldProperty fieldProperty, BulkInfo bulkInfo, PrintDetailBulk detail, ApplicationModel applicationModel, Folder application, String labelKey) {
    String message = "";
    if (fieldProperty.getAttribute("formName") != null) {
        List<Object> params = new ArrayList<Object>();
        FieldPropertySet printForm1 = bulkInfo.getPrintForms().get(fieldProperty.getAttribute("formName"));
        if (printForm1 != null && printForm1.getKey() != null && printForm1.getKey().equals("false")) {
            if (labelKey != null)
                detail.addField(new Pair<String, String>(null, applicationModel.getMessage(labelKey)));
            printField(printForm1, applicationModel, application, detail, bulkInfo);
        } else {
            for (FieldProperty paramFieldProperty : bulkInfo.getPrintForm(fieldProperty.getAttribute("formName"))) {
                Object param = applicationModel.getProperties().get(paramFieldProperty.getAttribute("property"));
                if (param == null)
                    param = application.getPropertyValue(paramFieldProperty.getAttribute("property"));
                if (param == null)
                    param = "";
                params.add(param);
            }
            message = message.concat(applicationModel.getMessage(labelKey, params.toArray()));
        }
    } else {
        message = message.concat(applicationModel.getMessage(labelKey));
    }
    return message;
}
Also used : FieldPropertySet(it.cnr.bulkinfo.BulkInfoImpl.FieldPropertySet) FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) PDImageXObject(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject) JSONObject(org.json.JSONObject) Pair(it.cnr.cool.util.Pair)

Example 2 with FieldProperty

use of it.cnr.bulkinfo.BulkInfoImpl.FieldProperty in project cool-jconon by consiglionazionaledellericerche.

the class ApplicationService method validateAspects.

protected List<JSONErrorPair> validateAspects(Map<String, Object> map, Folder call, Folder application, Session cmisSession) {
    List<JSONErrorPair> listError = new ArrayList<JSONErrorPair>();
    List<String> listAspect = getDichiarazioniList(call, application);
    for (String aspect : listAspect) {
        BulkInfo bulkInfoAspect = bulkInfoService.find(aspect);
        FieldProperty flag = null;
        if (bulkInfoAspect != null) {
            for (FieldProperty fieldProperty : bulkInfoAspect.getForm(aspect)) {
                if (fieldProperty.isRadioGroupType() || fieldProperty.isCheckboxType()) {
                    flag = fieldProperty;
                    break;
                }
            }
            for (FieldProperty fieldProperty : bulkInfoAspect.getForm(aspect)) {
                if (flag != null) {
                    if (!fieldProperty.equals(flag) && fieldProperty.getAttributes().get("class").contains(flag.getName() + '_' + map.get(flag.getProperty())) && !fieldProperty.isNullable() && !Optional.ofNullable(fieldProperty.getAttributes().get("class")).map(s -> s.contains("double_show")).orElse(Boolean.FALSE)) {
                        addError(listError, map, fieldProperty.getProperty(), cmisSession.getTypeDefinition(aspect).getPropertyDefinitions().get(fieldProperty.getProperty()).getDisplayName());
                    } else {
                        if (fieldProperty.equals(flag) && !fieldProperty.isNullable()) {
                            addError(listError, map, fieldProperty.getProperty(), cmisSession.getTypeDefinition(aspect).getPropertyDefinitions().get(fieldProperty.getProperty()).getDisplayName());
                        }
                    }
                } else {
                    if (!fieldProperty.isNullable()) {
                        addError(listError, map, fieldProperty.getProperty(), cmisSession.getTypeDefinition(aspect).getPropertyDefinitions().get(fieldProperty.getProperty()).getDisplayName());
                    }
                }
            }
        }
    }
    return listError;
}
Also used : JsonObject(com.google.gson.JsonObject) Order(it.cnr.si.opencmis.criteria.Order) LoggerFactory(org.slf4j.LoggerFactory) Autowired(org.springframework.beans.factory.annotation.Autowired) GroupService(it.cnr.cool.security.service.GroupService) BigDecimal(java.math.BigDecimal) JSONException(org.json.JSONException) CriteriaFactory(it.cnr.si.opencmis.criteria.CriteriaFactory) JSONObject(org.json.JSONObject) OperationContextUtils(org.apache.chemistry.opencmis.client.util.OperationContextUtils) CoolPropertyIds(it.cnr.cool.cmis.model.CoolPropertyIds) BigInteger(java.math.BigInteger) HttpStatus(org.apache.commons.httpclient.HttpStatus) PrintParameterModel(it.cnr.si.cool.jconon.model.PrintParameterModel) ContentStream(org.apache.chemistry.opencmis.commons.data.ContentStream) PropertyDefinition(org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition) it.cnr.cool.util(it.cnr.cool.util) CompetitionFolderService(it.cnr.si.cool.jconon.service.cache.CompetitionFolderService) Response(org.apache.chemistry.opencmis.client.bindings.spi.http.Response) PolicyType(it.cnr.cool.cmis.model.PolicyType) CMISApplicationException(it.cnr.cool.web.scripts.exception.CMISApplicationException) QueueService(it.cnr.si.cool.jconon.service.QueueService) ACLType(it.cnr.cool.cmis.model.ACLType) Collectors(java.util.stream.Collectors) ZoneId(java.time.ZoneId) CMISUser(it.cnr.cool.security.service.impl.alfresco.CMISUser) MailService(it.cnr.cool.mail.MailService) JsonArray(com.google.gson.JsonArray) Choice(org.apache.chemistry.opencmis.commons.definitions.Choice) Stream(java.util.stream.Stream) OperationContextImpl(org.apache.chemistry.opencmis.client.runtime.OperationContextImpl) PropertyIds(org.apache.chemistry.opencmis.commons.PropertyIds) LocalDate(java.time.LocalDate) Entry(java.util.Map.Entry) CoolUserFactoryException(it.cnr.cool.exception.CoolUserFactoryException) FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) it.cnr.si.cool.jconon.util(it.cnr.si.cool.jconon.util) java.util(java.util) LocalDateTime(java.time.LocalDateTime) ContentStreamImpl(org.apache.chemistry.opencmis.commons.impl.dataobjects.ContentStreamImpl) SimpleDateFormat(java.text.SimpleDateFormat) BaseTypeId(org.apache.chemistry.opencmis.commons.enums.BaseTypeId) Function(java.util.function.Function) InitializingBean(org.springframework.beans.factory.InitializingBean) PrintService(it.cnr.si.cool.jconon.service.PrintService) JsonElement(com.google.gson.JsonElement) Value(org.springframework.beans.factory.annotation.Value) it.cnr.cool.cmis.service(it.cnr.cool.cmis.service) GroupsEnum(it.cnr.cool.security.GroupsEnum) Criteria(it.cnr.si.opencmis.criteria.Criteria) Service(org.springframework.stereotype.Service) SiperService(it.cnr.si.cool.jconon.service.SiperService) StreamSupport(java.util.stream.StreamSupport) Restrictions(it.cnr.si.opencmis.criteria.restrictions.Restrictions) UrlBuilder(org.apache.chemistry.opencmis.commons.impl.UrlBuilder) IncludeRelationships(org.apache.chemistry.opencmis.commons.enums.IncludeRelationships) TypeService(it.cnr.si.cool.jconon.service.TypeService) org.apache.chemistry.opencmis.client.api(org.apache.chemistry.opencmis.client.api) UnfileObject(org.apache.chemistry.opencmis.commons.enums.UnfileObject) VersioningState(org.apache.chemistry.opencmis.commons.enums.VersioningState) org.apache.chemistry.opencmis.commons.exceptions(org.apache.chemistry.opencmis.commons.exceptions) Logger(org.slf4j.Logger) BindingSession(org.apache.chemistry.opencmis.client.bindings.spi.BindingSession) org.apache.poi.hssf.usermodel(org.apache.poi.hssf.usermodel) it.cnr.si.cool.jconon.cmis.model(it.cnr.si.cool.jconon.cmis.model) BulkInfo(it.cnr.bulkinfo.BulkInfo) ClientMessageException(it.cnr.cool.web.scripts.exception.ClientMessageException) Output(org.apache.chemistry.opencmis.client.bindings.spi.http.Output) ApplicationContext(org.springframework.context.ApplicationContext) CallService(it.cnr.si.cool.jconon.service.call.CallService) java.io(java.io) BulkInfoCoolService(it.cnr.cool.service.BulkInfoCoolService) UserService(it.cnr.cool.security.service.UserService) I18nService(it.cnr.cool.service.I18nService) FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) BulkInfo(it.cnr.bulkinfo.BulkInfo)

Example 3 with FieldProperty

use of it.cnr.bulkinfo.BulkInfoImpl.FieldProperty in project cool-jconon by consiglionazionaledellericerche.

the class ApplicationService method validateBaseTableMap.

protected List<JSONErrorPair> validateBaseTableMap(Map<String, Object> map, Folder call, Folder application, Session cmisSession) {
    List<JSONErrorPair> listError = new ArrayList<JSONErrorPair>();
    listError.addAll(validateAspects(map, call, application, cmisSession));
    List<String> listSezioniDomanda = getSezioniDomandaList(call);
    BulkInfo bulkInfo = bulkInfoService.find(JCONONFolderType.JCONON_APPLICATION.value().replace(":", "_"));
    for (String sezione : listSezioniDomanda) {
        for (FieldProperty fieldProperty : bulkInfo.getForm(sezione)) {
            if (Optional.ofNullable(fieldProperty.getProperty()).isPresent() && Optional.ofNullable(fieldProperty.getAttribute("visible")).filter(x -> x.equalsIgnoreCase("true")).isPresent()) {
                // TAB DATI ANAGRAFICI - Controlli particolari
                if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value())) {
                    addError(listError, map, fieldProperty.getProperty());
                    if (map.get(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value()) != null) {
                        if ((Boolean) map.get(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value())) {
                            addError(listError, map, JCONONPropertyIds.APPLICATION_CODICE_FISCALE.value());
                            Object codiceFiscale = map.get(JCONONPropertyIds.APPLICATION_CODICE_FISCALE.value());
                            if (codiceFiscale != null) {
                                // controllo formale della validita' del codice fiscale
                                controllaCodiceFiscale(map, application);
                            }
                        } else
                            addError(listError, map, JCONONPropertyIds.APPLICATION_NAZIONE_CITTADINANZA.value());
                    }
                } else if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_CODICE_FISCALE.value()) || fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_NAZIONE_CITTADINANZA.value())) {
                    LOGGER.debug("field " + fieldProperty.getProperty());
                } else if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_CAP_RESIDENZA.value())) {
                    if (map.get(JCONONPropertyIds.APPLICATION_NAZIONE_RESIDENZA.value()) != null && ((String) map.get(JCONONPropertyIds.APPLICATION_NAZIONE_RESIDENZA.value())).toUpperCase().equals("ITALIA"))
                        addError(listError, map, JCONONPropertyIds.APPLICATION_CAP_RESIDENZA.value());
                } else if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_CAP_COMUNICAZIONI.value())) {
                    if (map.get(JCONONPropertyIds.APPLICATION_NAZIONE_COMUNICAZIONI.value()) != null && ((String) map.get(JCONONPropertyIds.APPLICATION_NAZIONE_COMUNICAZIONI.value())).toUpperCase().equals("ITALIA"))
                        addError(listError, map, JCONONPropertyIds.APPLICATION_CAP_COMUNICAZIONI.value());
                } else if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_EMAIL_COMUNICAZIONI.value())) {
                    if (application == null || application.getPropertyValue(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value()) == null || application.getPropertyValue(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value()).equals(Boolean.FALSE))
                        addError(listError, map, JCONONPropertyIds.APPLICATION_EMAIL_COMUNICAZIONI.value());
                } else if (fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_EMAIL_PEC_COMUNICAZIONI.value())) {
                    if (application == null || application.getPropertyValue(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value()) == null || application.getPropertyValue(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value()).equals(Boolean.TRUE))
                        addError(listError, map, JCONONPropertyIds.APPLICATION_EMAIL_PEC_COMUNICAZIONI.value());
                } else
                    addError(listError, map, fieldProperty.getProperty(), application.getType().getPropertyDefinitions().get(fieldProperty.getProperty()).getDisplayName());
                if ((fieldProperty.isRadioGroupType() || fieldProperty.isCheckboxType()) && !fieldProperty.getProperty().equals(JCONONPropertyIds.APPLICATION_SESSO.value()) && map.get(fieldProperty.getProperty()) != null) {
                    Collection<FieldProperty> radioForm = bulkInfo.getForm(fieldProperty.getProperty() + ((Boolean) map.get(fieldProperty.getProperty()) ? "_true" : "_false").replace(":", "_"));
                    if (radioForm != null && !radioForm.isEmpty()) {
                        for (FieldProperty radioFieldProperty : bulkInfo.getForm(fieldProperty.getProperty() + ((Boolean) map.get(fieldProperty.getProperty()) ? "_true" : "_false").replace(":", "_"))) {
                            if (!radioFieldProperty.isNullable())
                                addError(listError, map, radioFieldProperty.getProperty(), application.getType().getPropertyDefinitions().get(radioFieldProperty.getProperty()).getDisplayName());
                        }
                    }
                }
            }
        }
    }
    List<String> properties = call.getPropertyValue(JCONONPropertyIds.CALL_ELENCO_FIELD_NOT_REQUIRED.value());
    if (properties != null) {
        for (String property : properties) {
            for (Iterator<JSONErrorPair> iterator = listError.iterator(); iterator.hasNext(); ) {
                JSONErrorPair error = iterator.next();
                if (error.getFirst().startsWith(property))
                    iterator.remove();
            }
        }
    }
    return listError;
}
Also used : FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) BulkInfo(it.cnr.bulkinfo.BulkInfo) JsonObject(com.google.gson.JsonObject) JSONObject(org.json.JSONObject) UnfileObject(org.apache.chemistry.opencmis.commons.enums.UnfileObject)

Example 4 with FieldProperty

use of it.cnr.bulkinfo.BulkInfoImpl.FieldProperty in project cool-jconon by consiglionazionaledellericerche.

the class PrintService method printField.

@SuppressWarnings("unchecked")
private void printField(FieldPropertySet printForm, ApplicationModel applicationModel, Folder application, PrintDetailBulk detail, BulkInfo bulkInfo) {
    for (FieldProperty printFieldProperty : printForm.getFieldProperties()) {
        if (printFieldProperty.getAttribute("formName") != null) {
            Object objValue = application.getPropertyValue(printFieldProperty.getAttribute("formName"));
            FieldPropertySet printFormDetail = bulkInfo.getPrintForms().get(printFieldProperty.getAttribute("formName"));
            for (FieldProperty printFieldPropertyDetail : printFormDetail.getFieldProperties()) {
                if (printFieldPropertyDetail.getAttribute("key") != null && printFieldPropertyDetail.getAttribute("key").equals(String.valueOf(objValue))) {
                    detail.addField(new Pair<String, String>(null, applicationModel.getMessage(printFieldPropertyDetail.getAttribute("label"))));
                }
            }
            final Optional<String> dichiarazioniEmptyMessage = getDichiarazioniEmptyMessage();
            if (dichiarazioniEmptyMessage.isPresent() && Optional.ofNullable(detail.getFields()).orElse(Collections.emptyList()).isEmpty()) {
                detail.addField(new Pair<String, String>(null, dichiarazioniEmptyMessage.get()));
            }
            continue;
        }
        String message = null;
        String label = printFieldProperty.getAttribute("label");
        if (label == null) {
            String labelJSON = printFieldProperty.getAttribute("jsonlabel");
            if (labelJSON != null) {
                JSONObject jsonLabel = new JSONObject(labelJSON);
                message = applicationModel.getMessage(jsonLabel.getString("key"));
                if (message == null || message.equalsIgnoreCase(jsonLabel.getString("key")))
                    message = jsonLabel.getString("default");
            } else {
                FieldProperty subProperty = printFieldProperty.getSubProperty("jsonlabel");
                label = subProperty.getAttribute("key");
                message = applicationModel.getMessage(label);
                if (message == null || message.equalsIgnoreCase(subProperty.getAttribute("key")))
                    message = subProperty.getAttribute("default");
            }
        } else {
            message = applicationModel.getMessage(label);
        }
        String value;
        Object objValue = application.getPropertyValue(printFieldProperty.getProperty());
        if (objValue == null && printFieldProperty.getProperty() != null) {
            final Optional<String> dichiarazioniEmptyMessage = getDichiarazioniEmptyMessage();
            if (dichiarazioniEmptyMessage.isPresent() && Optional.ofNullable(detail.getFields()).orElse(Collections.emptyList()).isEmpty()) {
                detail.addField(new Pair<String, String>(null, dichiarazioniEmptyMessage.get()));
            }
            continue;
        } else if (printFieldProperty.getProperty() == null) {
            detail.addField(new Pair<String, String>(null, message));
        } else {
            if (application.getProperty(printFieldProperty.getProperty()).isMultiValued()) {
                List<Object> values = (List<Object>) objValue;
                if (values.isEmpty()) {
                    final Optional<String> dichiarazioniEmptyMessage = getDichiarazioniEmptyMessage();
                    if (dichiarazioniEmptyMessage.isPresent() && Optional.ofNullable(detail.getFields()).orElse(Collections.emptyList()).isEmpty()) {
                        detail.addField(new Pair<String, String>(null, dichiarazioniEmptyMessage.get()));
                    }
                    return;
                }
                if (values.size() > 1) {
                    for (int k = 0; k < values.size(); k++) {
                        detail.addField(new Pair<String, String>(k == 0 ? (message + "<br>") : "", String.valueOf(values.get(k))));
                    }
                } else {
                    value = StringUtils.collectionToDelimitedString(((Collection<?>) objValue), ", ");
                    detail.addField(new Pair<String, String>(message, value));
                }
            } else {
                if (printFieldProperty.getAttribute("widget") != null) {
                    if (printFieldProperty.getAttribute("widget").contains("ui.datepicker")) {
                        value = StringUtil.DATEFORMAT.format(((Calendar) objValue).getTime());
                    } else if (printFieldProperty.getAttribute("widget").contains("ui.datetimepicker")) {
                        value = StringUtil.DATETIMEFORMAT.format(((Calendar) objValue).getTime());
                    } else {
                        if (objValue instanceof Boolean) {
                            if (printFieldProperty.getAttribute("generated") != null)
                                value = Boolean.valueOf(String.valueOf(objValue)) ? "" : "No";
                            else
                                value = "";
                        } else {
                            value = String.valueOf(objValue);
                        }
                    }
                } else {
                    value = String.valueOf(objValue);
                }
                if (Optional.ofNullable(label).isPresent()) {
                    final String finalLabel = label.concat("_").concat(value);
                    final Optional<String> message1 = Optional.ofNullable(applicationModel.getMessage(finalLabel));
                    if (message1.isPresent() && !message1.get().equals(finalLabel)) {
                        message = message1.get();
                        value = "";
                    }
                }
                detail.addField(new Pair<String, String>(message, value));
            }
        }
    }
}
Also used : FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) FieldPropertySet(it.cnr.bulkinfo.BulkInfoImpl.FieldPropertySet) JSONObject(org.json.JSONObject) PDImageXObject(org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject) JSONObject(org.json.JSONObject) List(java.util.List) Pair(it.cnr.cool.util.Pair)

Example 5 with FieldProperty

use of it.cnr.bulkinfo.BulkInfoImpl.FieldProperty in project cool-jconon by consiglionazionaledellericerche.

the class PrintService method getDichiarazioni.

/**
 * 1. Prendiamo tutte le associazioni della domanda (application)
 * 2. Per ogni associazione prendiamo il corrispondente PrintForm dal BulkInfo
 * (passato come parametro)
 * 3. Per ogni fieldProperty del PrintForm si costruisce una riga(?) dell'output
 *
 * @param bulkInfo
 * @param application
 * @param callProperty
 * @return
 */
protected List<PrintDetailBulk> getDichiarazioni(BulkInfo bulkInfo, Folder application, JCONONPropertyIds callProperty, ApplicationModel applicationModel, Dichiarazioni dichiarazione) {
    List<PrintDetailBulk> result = new ArrayList<PrintDetailBulk>();
    // Recupero il bando
    // chi e' il parent?
    Folder call = application.getParents().get(0);
    List<String> associations = call.getPropertyValue(callProperty.value());
    boolean isCittadinoItaliano = (boolean) Optional.ofNullable(application.getProperty(JCONONPropertyIds.APPLICATION_FL_CITTADINO_ITALIANO.value())).map(Property::getValue).orElse(Boolean.TRUE);
    if (isCittadinoItaliano) {
        associations.remove(P_JCONON_APPLICATION_ASPECT_GODIMENTO_DIRITTI);
    } else {
        associations.remove(P_JCONON_APPLICATION_ASPECT_ISCRIZIONE_LISTE_ELETTORALI);
    }
    for (int i = 0; i < associations.size(); i++) {
        String association = associations.get(i);
        FieldProperty fieldProperty = null;
        FieldPropertySet printForm = bulkInfoService.find(association).getPrintForms().get(association);
        if (printForm != null) {
            Property<?> property = application.getProperty(printForm.getKey());
            if (property != null) {
                fieldProperty = printForm.getFieldProperty(property.getValueAsString());
            }
            PrintDetailBulk detail = new PrintDetailBulk();
            detail.setTitle(getTitle(i, dichiarazione));
            if (printForm.getKey() == null) {
                printField(printForm, applicationModel, application, detail, bulkInfo);
            } else {
                String labelKey = fieldProperty != null ? fieldProperty.getAttribute("label") : null;
                if (application.getPropertyValue(printForm.getKey()) == null || fieldProperty == null || labelKey == null) {
                    final Optional<String> dichiarazioniEmptyMessage = getDichiarazioniEmptyMessage();
                    if (!dichiarazioniEmptyMessage.isPresent()) {
                        continue;
                    } else {
                        detail.addField(new Pair<String, String>(null, dichiarazioniEmptyMessage.get()));
                    }
                } else {
                    detail.addField(new Pair<String, String>(null, formNameMessage(fieldProperty, bulkInfo, detail, applicationModel, application, labelKey)));
                }
            }
            if (detail.getFields() != null && !detail.getFields().isEmpty())
                result.add(detail);
        }
    }
    return result;
}
Also used : FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty) FieldPropertySet(it.cnr.bulkinfo.BulkInfoImpl.FieldPropertySet) PrintDetailBulk(it.cnr.si.cool.jconon.model.PrintDetailBulk) FieldProperty(it.cnr.bulkinfo.BulkInfoImpl.FieldProperty)

Aggregations

FieldProperty (it.cnr.bulkinfo.BulkInfoImpl.FieldProperty)6 FieldPropertySet (it.cnr.bulkinfo.BulkInfoImpl.FieldPropertySet)4 JSONObject (org.json.JSONObject)4 BulkInfo (it.cnr.bulkinfo.BulkInfo)3 Pair (it.cnr.cool.util.Pair)3 JsonObject (com.google.gson.JsonObject)2 ACLType (it.cnr.cool.cmis.model.ACLType)2 CoolPropertyIds (it.cnr.cool.cmis.model.CoolPropertyIds)2 CoolUserFactoryException (it.cnr.cool.exception.CoolUserFactoryException)2 MailService (it.cnr.cool.mail.MailService)2 GroupsEnum (it.cnr.cool.security.GroupsEnum)2 GroupService (it.cnr.cool.security.service.GroupService)2 UserService (it.cnr.cool.security.service.UserService)2 CMISUser (it.cnr.cool.security.service.impl.alfresco.CMISUser)2 BulkInfoCoolService (it.cnr.cool.service.BulkInfoCoolService)2 I18nService (it.cnr.cool.service.I18nService)2 CMISApplicationException (it.cnr.cool.web.scripts.exception.CMISApplicationException)2 ClientMessageException (it.cnr.cool.web.scripts.exception.ClientMessageException)2 it.cnr.si.cool.jconon.cmis.model (it.cnr.si.cool.jconon.cmis.model)2 PrintDetailBulk (it.cnr.si.cool.jconon.model.PrintDetailBulk)2