Codota Logo
CmsSearchDocumentType.getName
Code IndexAdd Codota to your IDE (free)

How to use
getName
method
in
org.opencms.search.CmsSearchDocumentType

Best Java code snippets using org.opencms.search.CmsSearchDocumentType.getName (Showing top 16 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-solr

/**
 * Returns a document type config.<p>
 * 
 * @param name the name of the document type config
 * @return the document type config.
 */
public CmsSearchDocumentType getDocumentTypeConfig(String name) {
  // this is really used only for the search manager GUI, 
  // so performance is not an issue and no lookup map is generated
  for (int i = 0; i < m_documentTypeConfigs.size(); i++) {
    CmsSearchDocumentType type = m_documentTypeConfigs.get(i);
    if (type.getName().equals(name)) {
      return type;
    }
  }
  return null;
}
origin: org.opencms/opencms-core

/**
 * Returns a document type config.<p>
 *
 * @param name the name of the document type config
 * @return the document type config.
 */
public CmsSearchDocumentType getDocumentTypeConfig(String name) {
  // this is really used only for the search manager GUI,
  // so performance is not an issue and no lookup map is generated
  for (int i = 0; i < m_documentTypeConfigs.size(); i++) {
    CmsSearchDocumentType type = m_documentTypeConfigs.get(i);
    if (type.getName().equals(name)) {
      return type;
    }
  }
  return null;
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

/**
 * @see org.opencms.workplace.list.A_CmsListDialog#getListItems()
 */
@Override
protected List<CmsListItem> getListItems() {
  List<CmsListItem> result = new ArrayList<CmsListItem>();
  // get content
  List<CmsSearchDocumentType> doctypes = documentTypes();
  Iterator<CmsSearchDocumentType> itDoctypes = doctypes.iterator();
  CmsSearchDocumentType doctype;
  while (itDoctypes.hasNext()) {
    doctype = itDoctypes.next();
    CmsListItem item = getList().newItem(doctype.getName());
    item.set(LIST_COLUMN_NAME, doctype.getName());
    item.set(LIST_COLUMN_DOCCLASS, doctype.getClassName());
    result.add(item);
  }
  return result;
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

/**
 * @see org.opencms.workplace.list.A_CmsListDialog#getListItems()
 */
@Override
protected List<CmsListItem> getListItems() {
  List<CmsListItem> result = new ArrayList<CmsListItem>();
  // get content
  List<CmsSearchDocumentType> doctypes = documentTypes();
  Iterator<CmsSearchDocumentType> itDoctypes = doctypes.iterator();
  CmsSearchDocumentType doctype;
  while (itDoctypes.hasNext()) {
    doctype = itDoctypes.next();
    CmsListItem item = getList().newItem(doctype.getName());
    item.set(LIST_COLUMN_NAME, doctype.getName());
    item.set(LIST_COLUMN_DOCCLASS, doctype.getClassName());
    result.add(item);
  }
  return result;
}
origin: org.opencms/opencms-solr

/**
 * Adds a document type.<p>
 * 
 * @param documentType a document type
 */
public void addDocumentTypeConfig(CmsSearchDocumentType documentType) {
  m_documentTypeConfigs.add(documentType);
  if (CmsLog.INIT.isInfoEnabled()) {
    CmsLog.INIT.info(Messages.get().getBundle().key(
      Messages.INIT_SEARCH_DOC_TYPES_2,
      documentType.getName(),
      documentType.getClassName()));
  }
}
origin: org.opencms/opencms-core

/**
 * Adds a document type.<p>
 *
 * @param documentType a document type
 */
public void addDocumentTypeConfig(CmsSearchDocumentType documentType) {
  m_documentTypeConfigs.add(documentType);
  if (CmsLog.INIT.isInfoEnabled()) {
    CmsLog.INIT.info(
      Messages.get().getBundle().key(
        Messages.INIT_SEARCH_DOC_TYPES_2,
        documentType.getName(),
        documentType.getClassName()));
  }
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

/**
 * @see org.opencms.workplace.list.A_CmsListDialog#getListItems()
 */
@Override
protected List<CmsListItem> getListItems() {
  List<CmsListItem> result = new ArrayList<CmsListItem>();
  // get content
  List<CmsSearchDocumentType> doctypes = documentTypes();
  Iterator<CmsSearchDocumentType> itDoctypes = doctypes.iterator();
  CmsSearchDocumentType doctype;
  while (itDoctypes.hasNext()) {
    doctype = itDoctypes.next();
    CmsListItem item = getList().newItem(doctype.getName());
    item.set(LIST_COLUMN_NAME, doctype.getName());
    item.set(LIST_COLUMN_DOCCLASS, doctype.getClassName());
    result.add(item);
  }
  return result;
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

html.append("  <li>\n").append("  ").append(docType.getName()).append("\n");
html.append("  </li>");
origin: org.opencms/org.opencms.workplace.tools.searchindex

html.append("  <li>\n").append("  ").append(docType.getName()).append("\n");
html.append("  </li>");
origin: org.opencms/org.opencms.workplace.tools.searchindex

html.append("  <li>\n").append("  ").append(docType.getName()).append("\n");
html.append("  </li>");
origin: org.opencms/org.opencms.workplace.tools.searchindex

html.append("  <li>\n").append("  ").append(docType.getName()).append("\n");
html.append("  </li>");
origin: org.opencms/org.opencms.workplace.tools.searchindex

while (itDocTypes.hasNext()) {
  CmsSearchDocumentType docType = itDocTypes.next();
  systemDoctypeNames.add(docType.getName());
origin: org.opencms/opencms-solr

name = documenttype.getName();
origin: org.opencms/opencms-core

name = documenttype.getName();
origin: org.opencms/opencms-solr

documenttypeElement.addElement(N_NAME).addText(currSearchDocType.getName());
origin: org.opencms/opencms-core

documenttypeElement.addElement(N_NAME).addText(currSearchDocType.getName());
org.opencms.searchCmsSearchDocumentTypegetName

Javadoc

Returns the logical key/name of this document type.

Popular methods of CmsSearchDocumentType

  • getClassName
    Returns the name of the document factory class.
  • getMimeTypes
    Returns the mimetypes to trigger the document factory class.
  • getResourceTypes
    Returns the list of Cms resource types to trigger the document factory.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • InputStreamReader (java.io)
    An InputStreamReader is a bridge from byte streams to character streams: It reads bytes and decodes
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Reference (javax.naming)
  • JLabel (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now