Codota Logo
CmsExportPoint.getConfiguredDestination
Code IndexAdd Codota to your IDE (free)

How to use
getConfiguredDestination
method
in
org.opencms.db.CmsExportPoint

Best Java code snippets using org.opencms.db.CmsExportPoint.getConfiguredDestination (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
OutputStreamWriter o =
  • Codota IconOutputStream out;new OutputStreamWriter(out)
  • Codota IconOutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
  • Codota IconHttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
  • Smart code suggestions by Codota
}
origin: org.opencms/opencms-core

/**
 * Adds an export point to the module configuration.<p>
 *
 * @param uri the export point uri
 * @param destination the export point destination
 */
public void addExportPoint(String uri, String destination) {
  CmsExportPoint point = new CmsExportPoint(uri, destination);
  m_exportPoints.add(point);
  if (CmsLog.INIT.isInfoEnabled()) {
    CmsLog.INIT.info(
      Messages.get().getBundle().key(
        Messages.INIT_ADD_EXPORT_POINT_2,
        point.getUri(),
        point.getConfiguredDestination()));
  }
}
origin: org.opencms/org.opencms.workplace.tools.modules

/**
 * @see org.opencms.workplace.list.A_CmsListDialog#getListItems()
 */
@Override
protected List getListItems() {
  List ret = new ArrayList();
  String moduleName = getParamModule();
  CmsModule module = OpenCms.getModuleManager().getModule(moduleName);
  // get exportpoints
  List exportpoints = module.getExportPoints();
  Iterator i = exportpoints.iterator();
  while (i.hasNext()) {
    CmsExportPoint exportpoint = (CmsExportPoint)i.next();
    CmsListItem item = getList().newItem(exportpoint.getUri());
    // name
    item.set(LIST_COLUMN_URI, exportpoint.getUri());
    // destination
    item.set(LIST_COLUMN_DESTINATION, exportpoint.getConfiguredDestination());
    // server
    item.set(LIST_COLUMN_SERVERDESTINATION, exportpoint.getDestinationPath());
    ret.add(item);
  }
  return ret;
}
origin: org.opencms/opencms-core

resourceloadersElement.addElement(N_EXPORTPOINT).addAttribute(A_URI, point.getUri()).addAttribute(
  A_DESTINATION,
  point.getConfiguredDestination());
origin: org.opencms/opencms-core

if ((point.getUri().endsWith(module.getName() + "/lib/")
  || point.getUri().endsWith(module.getName() + "/lib"))
  && point.getConfiguredDestination().equals("WEB-INF/lib/")) {
  it.remove();
origin: org.opencms/opencms-solr

resourceloadersElement.addElement(N_EXPORTPOINT).addAttribute(A_URI, point.getUri()).addAttribute(
  A_DESTINATION,
  point.getConfiguredDestination());
origin: org.opencms/opencms-solr

exportpointsElement.addElement(I_CmsXmlConfiguration.N_EXPORTPOINT).addAttribute(
  I_CmsXmlConfiguration.A_URI,
  point.getUri()).addAttribute(I_CmsXmlConfiguration.A_DESTINATION, point.getConfiguredDestination());
origin: org.opencms/opencms-core

exportpointsElement.addElement(I_CmsXmlConfiguration.N_EXPORTPOINT).addAttribute(
  I_CmsXmlConfiguration.A_URI,
  point.getUri()).addAttribute(I_CmsXmlConfiguration.A_DESTINATION, point.getConfiguredDestination());
org.opencms.dbCmsExportPointgetConfiguredDestination

Javadoc

Returns the configured destination path.

The configured destination path is always relative to the web application path.

Popular methods of CmsExportPoint

  • <init>
    Creates a new export point.
  • getDestinationPath
    Returns the destination path in the "real" file system.
  • getUri
    Returns the uri of the OpenCms VFS folder to write as export point.
  • clone
  • setDestinationPath
    Dummy method to expose the destination path as bean property. This is required by the org.apache.com
  • setUri
    Sets the uri of the OpenCms VFS folder to write as export point.

Popular in Java

  • Reading from database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
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