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

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

Best Java code snippets using org.opencms.db.CmsExportPoint.getDestinationPath (Showing top 8 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

  /**
   * @see java.lang.Object#toString()
   */
  @Override
  public String toString() {

    return "[" + getClass().getName() + ", uri: " + m_uri + ", destination: " + getDestinationPath() + "]";
  }
}
origin: org.opencms/opencms-core

/**
 * Constructor for a CmsExportPointDriver.<p>
 *
 * @param exportpoints the list of export points
 */
public CmsExportPointDriver(Set<CmsExportPoint> exportpoints) {
  m_exportpoints = exportpoints;
  m_exportpointLookupMap = new HashMap<String, String>();
  Iterator<CmsExportPoint> i = m_exportpoints.iterator();
  while (i.hasNext()) {
    CmsExportPoint point = i.next();
    if (point.getDestinationPath() != null) {
      // otherwise this point is not valid, but must be kept for serializing the configuration
      m_exportpointLookupMap.put(point.getUri(), point.getDestinationPath());
    }
  }
}
origin: org.opencms/opencms-solr

/**
 * Constructor for a CmsExportPointDriver.<p>
 *
 * @param exportpoints the list of export points
 */
public CmsExportPointDriver(Set exportpoints) {
  m_exportpoints = exportpoints;
  m_exportpointLookupMap = new HashMap();
  Iterator i = m_exportpoints.iterator();
  while (i.hasNext()) {
    CmsExportPoint point = (CmsExportPoint)i.next();
    if (point.getDestinationPath() != null) {
      // otherwise this point is not valid, but must be kept for serializing the configuration
      m_exportpointLookupMap.put(point.getUri(), point.getDestinationPath());
    }
  }
}
origin: org.opencms/opencms-core

/**
 * @see java.lang.Object#clone()
 */
@Override
public Object clone() {
  CmsExportPoint clone = new CmsExportPoint(m_uri, m_configuredDestination);
  clone.setDestinationPath(getDestinationPath());
  return clone;
}
origin: org.opencms/opencms-solr

/**
 * 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() && (point.getDestinationPath() != null)) {
    CmsLog.INIT.info(Messages.get().getBundle().key(
      Messages.INIT_ADD_EXPORT_POINT_2,
      point.getUri(),
      point.getDestinationPath()));
  }
}
origin: org.opencms/opencms-solr

/**
 * Adds newly created export point to the workplace 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() && (point.getDestinationPath() != null)) {
    CmsLog.INIT.info(Messages.get().getBundle().key(
      Messages.INIT_ADD_EXPORT_POINT_2,
      point.getUri(),
      point.getDestinationPath()));
  }
}
origin: org.opencms/opencms-core

/**
 * Adds newly created export point to the workplace 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() && (point.getDestinationPath() != null)) {
    CmsLog.INIT.info(
      Messages.get().getBundle().key(
        Messages.INIT_ADD_EXPORT_POINT_2,
        point.getUri(),
        point.getDestinationPath()));
  }
}
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;
}
org.opencms.dbCmsExportPointgetDestinationPath

Javadoc

Returns the destination path in the "real" file system.

Popular methods of CmsExportPoint

  • <init>
    Creates a new export point.
  • getConfiguredDestination
    Returns the configured destination path. The configured destination path is always relative to the w
  • 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

  • Start an intent from android
  • setScale (BigDecimal)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • 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
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JFrame (javax.swing)
  • 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