/** * Returns true if the checked resource name can be exported depending on the include settings.<p> * * @param resourcename the absolute path of the resource * @return true if the checked resource name can be exported depending on the include settings */ protected boolean checkExportResource(String resourcename) { return (// other folder than "/system/" will be exported !resourcename.startsWith(CmsWorkplace.VFS_PATH_SYSTEM) // OR always export "/system/" || resourcename.equalsIgnoreCase(CmsWorkplace.VFS_PATH_SYSTEM) // OR always export "/system/galleries/" || resourcename.startsWith(CmsWorkplace.VFS_PATH_GALLERIES) // OR option "include system folder" selected || (m_parameters.isIncludeSystemFolder() // AND export folder is a system folder && resourcename.startsWith(CmsWorkplace.VFS_PATH_SYSTEM))); }
/** * Returns true if the checked resource name can be exported depending on the include settings.<p> * * @param resourcename the absolute path of the resource * @return true if the checked resource name can be exported depending on the include settings */ protected boolean checkExportResource(String resourcename) { return (// other folder than "/system/" will be exported !resourcename.startsWith(CmsWorkplace.VFS_PATH_SYSTEM) // OR always export "/system/" || resourcename.equalsIgnoreCase(CmsWorkplace.VFS_PATH_SYSTEM) // OR always export "/system/galleries/" || resourcename.startsWith(CmsWorkplace.VFS_PATH_GALLERIES) // OR option "include system folder" selected || (m_parameters.isIncludeSystemFolder() // AND export folder is a system folder && resourcename.startsWith(CmsWorkplace.VFS_PATH_SYSTEM))); }