Package org.alfresco.service.cmr.dictionary

Examples of org.alfresco.service.cmr.dictionary.TypeDefinition


    List<JsonModelEntry> model = new ArrayList<JsonModelEntry>();
    for (String type : spaceTypes) {
      try {
        ServiceRegistry serviceRegistry = AlfrescoUtil.getServiceRegistry();
        QName qName = QName.createQName(type, serviceRegistry.getNamespaceService());
        TypeDefinition td = serviceRegistry.getDictionaryService().getType(qName);
        if (td != null) {
          String title = td.getTitle();
          if (StringUtils.isEmpty(title)) {
            title = type;
          }
          model.add(new JsonModelEntry(type, title));
        } else {
View Full Code Here

TOP

Related Classes of org.alfresco.service.cmr.dictionary.TypeDefinition

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.