Package | Description |
---|---|
org.opencms.ade.configuration |
Contains the ade configuration classes.
|
org.opencms.ade.configuration.formatters | |
org.opencms.ade.containerpage |
Contains the container page editor service classes.
|
org.opencms.ade.containerpage.inherited | |
org.opencms.ade.contenteditor |
Contains server side classes for the XML content editor.
|
org.opencms.ade.detailpage |
Contains functions for the detail pages in OpenCms.
|
org.opencms.ade.galleries |
Contains server side classes for the gallery dialogs.
|
org.opencms.ade.publish |
This package contains the server-side classes for the publish module
|
org.opencms.ade.sitemap |
Server side of the sitemap view.
|
org.opencms.ade.upload | |
org.opencms.cache |
Implementations of specialized caches used in OpenCms.
|
org.opencms.cmis | |
org.opencms.configuration.preferences |
Classes to build the user preferences dialog.
|
org.opencms.db |
Low-level database connection and access functionality.
|
org.opencms.file |
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
|
org.opencms.file.collectors |
Collectors allow to gather lists of OpenCms resources from the OpenCms VFS using specific rules.
|
org.opencms.file.history |
This package contains the classes to deal with the OpenCms VFS history archive.
|
org.opencms.file.types |
The implementations of the core resource types for the VFS are located here.
|
org.opencms.file.wrapper |
This package contains classes and interfaces used to access OpenCms through a wrapped
CmsObject . |
org.opencms.flex |
Provides low-level JSP integration funtionality for OpenCms,
also implements the FlexCache, a declarative parameter-based cache.
|
org.opencms.gwt |
Provides core support for GWT.
|
org.opencms.i18n |
Classes to handle internalization (i18n) and locale selection in OpenCms.
|
org.opencms.importexport |
Contains functions to import and export resources from the OpenCms VFS.
|
org.opencms.jlan | |
org.opencms.jsp |
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
|
org.opencms.jsp.decorator |
HTML postprocessor, used to tag single words or phrases in the HTML output.
|
org.opencms.jsp.parse |
API classes for the <cms:parse> tag.
|
org.opencms.jsp.search.result |
API classes for the result of the search form support provided for server-side Solr search.
|
org.opencms.jsp.util |
Utility classes to be used for JSP pages.
|
org.opencms.loader |
Low-level functions to manage the loading of resources from the OpenCms VFS.
|
org.opencms.lock |
The lock state of the resources in the VFS is handled with these classes.
|
org.opencms.mail |
Provides utility classes to generate email messages using the OpenCms email configuration.
|
org.opencms.main |
Provides the main OpenCms "operating system".
|
org.opencms.module |
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
|
org.opencms.monitor |
Contains functions to monitor the OpenCms system status.
|
org.opencms.newsletter |
Contains classes to distribute newsletters.
|
org.opencms.notification |
Contains classes for the automatical notification of outdated, expiring or released content.
|
org.opencms.pdftools | |
org.opencms.publish |
Classes to handle the OpenCms publish process.
|
org.opencms.relations |
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
|
org.opencms.report |
Classes used to generate the OpenCms reports, which are displayed during publish, import, export etc.
|
org.opencms.repository |
Package contains all classes and interfaces needed to create or use a repository to
access the resources in the VFS.
|
org.opencms.scheduler |
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
|
org.opencms.scheduler.jobs |
Some predefined implementations for often used scheduled job tasks.
|
org.opencms.search |
Implements the main full text search and indexing functions available in OpenCms.
|
org.opencms.search.documents |
Handles indexing different sorts of document and resource type from the OpenCms VFS for the full text search.
|
org.opencms.search.fields |
These classes control the mapping of the OpenCms content to the Lucene search fields.
|
org.opencms.search.galleries |
Implements the search functions for the OpenCms Gallery search index,
which is used by the Advanced Direct Edit (ADE) functions.
|
org.opencms.search.solr | |
org.opencms.search.solr.spellchecking |
Contains the SOLR based spellcheck service classes.
|
org.opencms.security |
Access control and security classes for the OpenCms ACL permission system.
|
org.opencms.site |
Provides access to the multi-site configuration of OpenCms.
|
org.opencms.site.xmlsitemap | |
org.opencms.staticexport |
Contains the functionality for the static HTML page export.
|
org.opencms.synchronize |
Classes used to synchronize the OpenCms VFS with the real file system.
|
org.opencms.ugc | |
org.opencms.ui |
General code for the Vaadin UI
|
org.opencms.ui.actions |
Contains classes for workplace actions.
|
org.opencms.ui.apps |
Contains code for workplace apps
|
org.opencms.ui.apps.scheduler | |
org.opencms.ui.components |
Contains some reusable GUI components for Vaadin UI
|
org.opencms.ui.components.fileselect |
Contains components for selecting resources
|
org.opencms.ui.contextmenu |
Contains code for workplace context menu
|
org.opencms.ui.dialogs |
Contains code for workplace dialogs
|
org.opencms.ui.dialogs.history |
Contains code for the file history dialog
|
org.opencms.ui.dialogs.history.diff |
Contains code for the comparison view of the file history dialog
|
org.opencms.ui.error | |
org.opencms.ui.login |
Contains the user interface components for the Vaadin-based login dialog
|
org.opencms.ui.util |
Utilities for Vaadin workplace code
|
org.opencms.util |
Utility functions for String manipulation and other often used tasks.
|
org.opencms.widgets |
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
|
org.opencms.workflow | |
org.opencms.workplace |
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
|
org.opencms.workplace.comparison |
Utilities for comparing different versions of resources, used by both the classic workplace and the new Vaadin-based workplace.
|
org.opencms.workplace.editors |
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
|
org.opencms.workplace.editors.directedit |
Used to control the generation of the HTML for the "direct edit" buttons.
|
org.opencms.workplace.explorer |
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
|
org.opencms.workplace.explorer.menu |
Contains the functions that generate the Workplace "Explorer" context menu entries.
|
org.opencms.workplace.galleries |
Contains the various "Galleries" which are available in the editors and widgets of the OpenCms Workplace.
|
org.opencms.workplace.threads |
A collection of thread classes that are used in the OpenCms Workplace,
usually in connection with a report.
|
org.opencms.workplace.tools |
Contains the base classes for implementing a tool in the OpenCms Workplace "Administration" view.
|
org.opencms.xml |
Basic XML functionality and utilities used by OpenCms to maintain XML documents and content.
|
org.opencms.xml.containerpage |
Contains functions for the ADE main pages, commonly called "Container Pages" in OpenCms.
|
org.opencms.xml.content |
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
|
org.opencms.xml.page |
Contains functions for unstructured content storage using XML, commonly called "XML pages" in OpenCms.
|
org.opencms.xml.types |
Contains the basic XML content type definitions, used for XML content and XML pages.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsResourceTypeConfig.m_cms
The CMS object used for VFS operations.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsADEConfigCacheState.getCms()
Gets the CMS context used for VFS operations.
|
protected CmsObject |
CmsADEConfigData.getCms()
Gets the CMS object used for VFS operations.
|
protected CmsObject |
CmsADEConfigData.getCmsObject()
Gets the CMS object used for VFS operations.
|
protected CmsObject |
CmsResourceTypeConfig.rootCms(CmsObject cms)
Creates a new CMS object based on existing one and changes its site root to the site root.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CmsResourceTypeConfig.checkCreatable(CmsObject cms,
java.lang.String pageFolderRootPath)
Checks if this resource type is creatable.
|
void |
CmsResourceTypeConfig.checkOffline(CmsObject cms)
Checks whether the cms context is in the offline project and throws an exception otherwise.
|
boolean |
CmsResourceTypeConfig.checkViewable(CmsObject cms,
java.lang.String referenceUri)
Checks if a resource type is viewable for the current user.
|
void |
CmsResourceTypeConfig.configureCreateNewElement(CmsObject cms,
java.lang.String pageFolderRootPath,
CmsNewResourceBuilder builder)
Similar to createNewElement, but just sets parameters on a resource builder instead of actually creating the resource.
|
void |
CmsResourceTypeConfig.createFolder(CmsObject cms,
java.lang.String rootPath)
Creates a folder and its parent folders if they don't exist.
|
CmsResource |
CmsResourceTypeConfig.createNewElement(CmsObject userCms,
CmsResource modelResource,
java.lang.String pageFolderRootPath)
Creates a new element.
|
CmsResource |
CmsResourceTypeConfig.createNewElement(CmsObject userCms,
java.lang.String pageFolderRootPath)
Creates a new element.
|
static CmsADEConfigCacheState |
CmsADEConfigCacheState.emptyState(CmsObject cms)
Creates an empty ADE configuration cache state.
|
java.lang.String |
CmsADEManager.findEntryPoint(CmsObject cms,
java.lang.String openPath)
Finds the entry point to a sitemap.
|
java.util.List<CmsDetailPageInfo> |
CmsADEManager.getAllDetailPages(CmsObject cms)
Gets the complete list of beans for the currently configured detail pages.
|
java.util.List<CmsResourceTypeConfig> |
CmsADEConfigData.getCreatableTypes(CmsObject cms,
java.lang.String pageFolderRootPath)
Returns a list of the creatable resource types.
|
java.util.List<CmsADEConfigData.DetailInfo> |
CmsADEManager.getDetailInfo(CmsObject cms)
Gets the detail page information for everything.
|
java.util.List<CmsADEConfigData.DetailInfo> |
CmsADEConfigData.getDetailInfos(CmsObject cms)
Gets the detail information for this sitemap config data object.
|
java.util.List<CmsADEConfigData.DetailInfo> |
CmsADEConfigCacheState.getDetailInfosForSubsites(CmsObject cms)
Gets the detail page information for everything.
|
java.lang.String |
CmsADEManager.getDetailPage(CmsObject cms,
java.lang.String pageRootPath,
java.lang.String originPath)
Gets the detail page for a content element.
|
java.util.List<java.lang.String> |
CmsADEManager.getDetailPages(CmsObject cms,
java.lang.String type)
Returns the main detail pages for a type in all of the VFS tree.
|
java.util.Set<java.lang.String> |
CmsADEManager.getDetailPageTypes(CmsObject cms)
Gets the set of types for which detail pages are defined.
|
java.util.List<I_CmsFormatterBean> |
CmsADEConfigData.getDisplayFormatters(CmsObject cms)
Returns all available display formatters.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsADEManager.getElementSettings(CmsObject cms,
CmsResource resource)
Returns the element settings for a given resource.
|
java.util.Map<CmsUUID,CmsElementView> |
CmsADEManager.getElementViews(CmsObject cms)
Returns the available element views.
|
java.util.List<CmsContainerElementBean> |
CmsADEManager.getFavoriteList(CmsObject cms)
Returns the favorite list, or creates it if not available.
|
java.lang.String |
CmsResourceTypeConfig.getFolderPath(CmsObject cms,
java.lang.String pageFolderRootPath)
Computes the folder path for this resource type.
|
java.lang.String |
CmsContentFolderDescriptor.getFolderPath(CmsObject cms,
java.lang.String pageFolderPath)
Computes the folder root path.
|
CmsFormatterConfiguration |
CmsADEConfigData.getFormatters(CmsObject cms,
CmsResource res)
Gets the formatter configuration for a resource.
|
protected CmsFormatterConfiguration |
CmsADEConfigData.getFormatters(CmsObject cms,
I_CmsResourceType resType,
CmsFormatterConfiguration schemaFormatters)
Gets the formatter configuration for a resource type.
|
protected CmsFormatterConfiguration |
CmsADEConfigData.getFormattersFromSchema(CmsObject cms,
CmsResource res)
Gets the formatters from the schema.
|
CmsInheritedContainerState |
CmsADEManager.getInheritedContainerState(CmsObject cms,
CmsResource resource,
java.lang.String name)
Returns the inheritance state for the given inheritance name and resource.
|
CmsInheritedContainerState |
CmsADEManager.getInheritedContainerState(CmsObject cms,
java.lang.String rootPath,
java.lang.String name)
Returns the inheritance state for the given inheritance name and root path.
|
java.util.Map<java.lang.String,java.lang.String> |
CmsADEManager.getParameters(CmsObject cms)
Gets ADE parameters.
|
CmsPermissionInfo |
CmsADEManager.getPermissionInfo(CmsObject cms,
CmsResource resource,
java.lang.String contextPath)
Returns the permission info for the given resource.
|
java.util.List<CmsContainerElementBean> |
CmsADEManager.getRecentList(CmsObject cms)
Returns the favorite list, or creates it if not available.
|
java.util.Collection<CmsResourceTypeConfig> |
CmsADEConfigData.getSearchableTypes(CmsObject cms)
Gets the searchable resource type configurations.
|
static java.lang.String |
CmsConfigurationReader.getString(CmsObject cms,
I_CmsXmlContentValueLocation location)
Gets the string value of an XML content location.
|
java.util.List<java.lang.String> |
CmsADEManager.getSubSitePaths(CmsObject cms,
java.lang.String subSiteRoot)
Returns all sub sites below the given path.
|
java.lang.String |
CmsADEManager.getSubSiteRoot(CmsObject cms,
java.lang.String rootPath)
Tries to get the subsite root for a given resource root path.
|
protected CmsProject |
CmsADEManager.getTempfileProject(CmsObject cms)
Gets a tempfile project, creating one if it doesn't exist already.
|
java.lang.String |
CmsElementView.getTitle(CmsObject cms,
java.util.Locale locale)
Returns the element view title.
|
void |
CmsADEManager.handleHtmlRedirect(CmsObject userCms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String htmlRedirect)
Processes a HTML redirect content.
|
boolean |
CmsADEConfigData.hasFormatters(CmsObject cms,
I_CmsResourceType resType,
java.util.Collection<CmsContainer> containers)
Checks if there are any matching formatters for the given set of containers.
|
boolean |
CmsElementView.hasPermission(CmsObject cms,
CmsResource folder)
Checks whether the current user has permissions to use the element view.
|
void |
CmsResourceTypeConfig.initialize(CmsObject cms)
Initializes this instance.
|
protected CmsADEConfigData |
CmsADEManager.internalLookupConfiguration(CmsObject cms,
java.lang.String rootPath)
Internal configuration lookup method.
|
protected boolean |
CmsADEConfigCacheState.isDetailPage(CmsObject cms,
CmsResource resource)
Checks whether the given resource is configured as a detail page.
|
boolean |
CmsADEManager.isDetailPage(CmsObject cms,
CmsResource resource)
Checks whether the given resource is configured as a detail page.
|
boolean |
CmsADEManager.isShowEditorHelp(CmsObject cms)
Returns the show editor help flag.
|
CmsADEConfigData |
CmsADEManager.lookupConfiguration(CmsObject cms,
java.lang.String rootPath)
Looks up the configuration data for a given sitemap path.
|
static CmsPropertyConfig |
CmsConfigurationReader.parseProperty(CmsObject cms,
I_CmsXmlContentLocation field)
Helper method to parse a property.
|
protected CmsObject |
CmsResourceTypeConfig.rootCms(CmsObject cms)
Creates a new CMS object based on existing one and changes its site root to the site root.
|
boolean |
CmsADEManager.saveDetailPages(CmsObject cms,
java.lang.String rootPath,
java.util.List<CmsDetailPageInfo> detailPages,
CmsUUID newId)
Saves a list of detail pages.
|
void |
CmsADEManager.saveFavoriteList(CmsObject cms,
java.util.List<CmsContainerElementBean> favoriteList)
Saves the favorite list, user based.
|
void |
CmsADEManager.saveInheritedContainer(CmsObject cms,
CmsResource pageResource,
java.lang.String name,
boolean newOrder,
java.util.List<CmsContainerElementBean> elements)
Saves the inheritance container information.
|
void |
CmsADEManager.saveInheritedContainer(CmsObject cms,
java.lang.String sitePath,
java.lang.String name,
boolean newOrder,
java.util.List<CmsContainerElementBean> elements)
Saves the inheritance container information.
|
void |
CmsADEManager.saveRecentList(CmsObject cms,
java.util.List<CmsContainerElementBean> recentList)
Saves the favorite list, user based.
|
void |
CmsADEManager.setShowEditorHelp(CmsObject cms,
boolean showHelp)
Sets the show editor help flag.
|
protected void |
CmsResourceTypeConfig.tryToUnlock(CmsObject cms,
java.lang.String folderPath)
Tries to remove a lock on an ancestor of a given path owned by the current user.
|
Constructor and Description |
---|
CmsADEConfigCacheState(CmsObject cms,
java.util.Map<CmsUUID,CmsADEConfigDataInternal> siteConfigurations,
java.util.List<CmsADEConfigDataInternal> moduleConfigs,
java.util.Map<CmsUUID,CmsElementView> elementViews)
Creates a new configuration cache state.
|
CmsADEManager(CmsObject adminCms,
CmsMemoryMonitor memoryMonitor,
CmsSystemConfiguration systemConfiguration)
Creates a new ADE manager.
|
CmsConfigurationReader(CmsObject cms)
Creates a new configuration reader.
|
CmsDetailNameCache(CmsObject cms)
Creates a new instance.
|
CmsElementView(CmsObject cms,
CmsResource resource)
Constructor.
|
CmsGlobalConfigurationCacheEventHandler(CmsObject onlineCms)
Creates a new cache event handler.
|
Constructor and Description |
---|
CmsFormatterBeanParser(CmsObject cms)
Creates a new parser instance.
|
CmsFormatterConfigurationCache(CmsObject cms,
java.lang.String name)
Creates a new formatter configuration cache instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
I_CmsResourceTypeEnabledCheck.checkEnabled(CmsObject cms,
CmsADEConfigData config,
I_CmsResourceType resType)
Check whether the given type is enabled for a dialog.
|
static CmsResource |
CmsModelGroupHelper.createModelGroup(CmsObject cms,
CmsADEConfigData configData)
Creates a new model group resource.
|
static java.util.List<CmsModelResourceInfo> |
CmsContainerpageService.generateModelResourceList(CmsObject cms,
java.lang.String resourceType,
java.util.List<CmsResource> modelResources,
java.util.Locale contentLocale)
Generates the model resource data list.
|
java.util.List<CmsResourceTypeBean> |
CmsAddDialogTypeHelper.getResourceTypes(CmsObject cms,
java.lang.String folderRootPath,
java.lang.String checkViewableReferenceUri,
CmsElementView elementView,
I_CmsResourceTypeEnabledCheck checkEnabled)
Creates list of resource type beans for gallery or 'New' dialog.
|
static java.lang.String |
CmsContainerpageService.getSerializedElementInfo(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CmsContainerElementBean elementBean,
CmsContainerPageBean page)
Returns the serialized element data.
|
static boolean |
CmsContainerpageService.isEditingModelGroups(CmsObject cms,
CmsResource containerPage)
Checks whether the current page is a model group page.
|
void |
CmsAddDialogTypeHelper.precomputeTypeLists(CmsObject cms,
java.lang.String folderRootPath,
java.lang.String checkViewableReferenceUri,
java.util.List<CmsElementView> views,
I_CmsResourceTypeEnabledCheck check)
Precomputes type lists for multiple views.
|
Constructor and Description |
---|
CmsElementUtil(CmsObject cms,
java.lang.String currentPageUri,
CmsContainerPageBean containerPage,
CmsUUID detailContentId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
boolean isDragMode,
java.util.Locale locale)
Creates a new instance.
|
CmsElementUtil(CmsObject cms,
java.lang.String currentPageUri,
CmsUUID detailContentId,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.util.Locale locale)
Creates a new instance.
|
CmsElementUtil(CmsObject cms,
java.lang.String currentPageUri,
CmsUUID detailContentId,
java.lang.String requestParameters,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.util.Locale locale)
Creates a new instance.
|
CmsModelGroupHelper(CmsObject cms,
CmsADEConfigData configData,
CmsADESessionCache sessionCache,
boolean isEditingModelGroups)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static CmsResource |
CmsInheritanceGroupUtils.getInheritanceGroupContentByName(CmsObject cms,
java.lang.String name)
Finds the inheritance group content with a given internal name.
|
static java.util.Set<java.lang.String> |
CmsInheritanceGroupUtils.getNamesOfGroupsContainingResource(CmsObject cms,
CmsResource inheritanceConfig,
CmsResource target)
Parses an inheritance group configuration C and returns the names of inheritance groups in C in which a given resource
is defined as a new element.
|
protected java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsContainerConfigurationWriter.getSettingConfiguration(CmsObject cms,
CmsResource resource)
Gets the setting configuration of an element.
|
protected void |
CmsContainerConfigurationWriter.removeExistingEntry(CmsObject cms,
CmsXmlContent content,
java.util.Locale locale,
java.lang.String name)
Removes an existing inheritance container entry with a given name from the configuration file.
|
void |
CmsContainerConfigurationWriter.save(CmsObject cms,
java.lang.String name,
boolean newOrdering,
CmsResource pageResource,
java.util.List<CmsContainerElementBean> elements)
Saves a list of container element beans to a file in the VFS.
|
protected CmsXmlContent |
CmsContainerConfigurationWriter.saveInContentObject(CmsObject cms,
CmsXmlContent content,
java.util.Locale locale,
java.lang.String name,
CmsContainerConfiguration configuration)
Saves a single container configuration in an XML content object, but doesn't write it to the VFS.
|
org.dom4j.Element |
CmsContainerConfigurationWriter.serializeSingleConfiguration(CmsObject cms,
java.lang.String name,
CmsContainerConfiguration config,
org.dom4j.Element parentElement)
Serializes a single container configuration into an XML element.
|
Constructor and Description |
---|
CmsContainerConfigurationCache(CmsObject cms,
java.lang.String name)
Creates a new cache instance for inherited containers.
|
CmsContainerConfigurationParser(CmsObject cms)
Creates a new configuration parser.
|
CmsInheritanceReferenceParser(CmsObject cms)
Creates a new parser instance.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsContentService.getCmsObject() |
CmsObject |
CmsContentTypeVisitor.getCmsObject()
Gets the CMS context.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
CmsContentService.getFileEncoding(CmsObject cms,
CmsResource file)
Helper method to determine the encoding of the given file in the VFS,
which must be set using the "content-encoding" property.
|
CmsXmlContent |
CmsEditorChangeHandlerProperty.handleChange(CmsObject cms,
CmsXmlContent content,
java.util.Locale locale,
java.util.Collection<java.lang.String> changedPaths) |
Constructor and Description |
---|
CmsContentTypeVisitor(CmsObject cms,
CmsFile file,
java.util.Locale locale)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
CmsSitemapDetailPageFinder.getAllDetailPages(CmsObject cms,
int resType) |
java.util.Collection<java.lang.String> |
I_CmsDetailPageFinder.getAllDetailPages(CmsObject cms,
int restype)
Finds all detail pages for a given resource.
|
static java.util.List<java.lang.String> |
CmsDetailPageUtil.getAllDetailPagesWithUrlName(CmsObject cms,
CmsResource res)
Gets a list of detail page URIs for the given resource, with its URL name appended.
|
static java.lang.String |
CmsDetailPageUtil.getBestUrlName(CmsObject cms,
CmsUUID id)
Returns either the newest URL name for a structure id, or the structure id as a string if there is no URL name.
|
java.lang.String |
CmsSitemapDetailPageFinder.getDetailPage(CmsObject cms,
java.lang.String rootPath,
java.lang.String linkSource) |
java.lang.String |
I_CmsDetailPageFinder.getDetailPage(CmsObject cms,
java.lang.String rootPath,
java.lang.String linkSource)
Returns the detail page link for the given resource, or null if there is no detail page for the resource.
|
CmsResource |
CmsDetailPageResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
protected boolean |
CmsDetailPageResourceHandler.isValidDetailPage(CmsObject cms,
CmsResource page,
CmsResource detailRes)
Checks whether the given detail page is valid for the given resource.
|
static CmsResource |
CmsDetailPageUtil.lookupPage(CmsObject cms,
java.lang.String uri)
Looks up a page by URI (which may be a detail page URI, or a normal VFS uri).
|
Constructor and Description |
---|
CmsDetailPageConfigurationWriter(CmsObject cms,
CmsResource res)
Creates a new detail page configuration writer.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsGalleryService.getSearchCms(CmsGallerySearchBean searchObj)
Gets an initialized CmsObject to be used for the actual search for a given search bean.
|
Modifier and Type | Method and Description |
---|---|
protected abstract T |
A_CmsTreeTabDataPreloader.createEntry(CmsObject cms,
CmsResource resource)
Creates a tree entry bean from a resource.
|
static java.lang.String |
CmsPreviewService.getPreviewContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CmsObject cms,
CmsResource resource,
java.util.Locale locale)
Renders the preview content for the given resource and locale.
|
protected boolean |
CmsGalleryService.isSitemapEntry(CmsObject cms,
CmsResource resource)
Checks whether a given resource is a sitemap entry.
|
T |
A_CmsTreeTabDataPreloader.preloadData(CmsObject cms,
java.util.Collection<CmsResource> openResources)
Creates the preload data for a collection of resources which correspond to "opened" tree items.
|
void |
CmsPreviewService.readResourceInfo(CmsObject cms,
CmsResource resource,
CmsResourceInfoBean resInfo,
java.lang.String locale)
Retrieves the resource information and puts it into the provided resource info bean.
|
Constructor and Description |
---|
CmsSiteSelectorOptionBuilder(CmsObject cms)
Creates a new builder instance.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsPublish.m_cms
The current cms context.
|
Modifier and Type | Method and Description |
---|---|
static CmsObject |
CmsPublishListHelper.adjustCmsObject(CmsObject cms,
boolean online)
Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.
|
CmsObject |
CmsCollectorPublishListHelper.getCmsObject(boolean online)
Initializes a CmsObject.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CmsDirectPublishProject.addSubResources(CmsObject cms,
java.util.Set<CmsResource> resources)
Adds contents of folders to a list of resources.
|
static CmsObject |
CmsPublishListHelper.adjustCmsObject(CmsObject cms,
boolean online)
Initializes a CmsObject based on the given one, but with adjusted project information and configured, such that release and expiration date are ignored.
|
java.util.Set<CmsResource> |
CmsDummyRelatedResourceProvider.getAdditionalRelatedResources(CmsObject cms,
CmsResource res) |
java.util.Set<CmsResource> |
I_CmsPublishRelatedResourceProvider.getAdditionalRelatedResources(CmsObject cms,
CmsResource res)
Gets the set of additional related resources.
|
protected static java.lang.String |
CmsPublish.getOuAwareName(CmsObject cms,
java.lang.String name)
Returns the simple name if the ou is the same as the current user's ou.
|
CmsProjectBean |
I_CmsVirtualProject.getProjectBean(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params)
Gets the project bean.
|
CmsProjectBean |
CmsMyChangesProject.getProjectBean(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params) |
CmsProjectBean |
CmsCurrentPageProject.getProjectBean(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params) |
CmsProjectBean |
CmsDirectPublishProject.getProjectBean(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params) |
CmsProjectBean |
CmsRealProjectVirtualWrapper.getProjectBean(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params) |
CmsPublishData |
CmsPublishService.getPublishData(CmsObject cms,
java.util.HashMap<java.lang.String,java.lang.String> params,
java.lang.String workflowId,
java.lang.String projectParam,
java.util.List<java.lang.String> pathList,
java.lang.String closeLink,
boolean confirm)
Gets the publish data for the given parameters.
|
java.util.Set<CmsResource> |
CmsDefaultCollectorPublishListProvider.getPublishResources(CmsObject cms,
I_CmsContentLoadCollectorInfo info) |
I_CmsPublishRelatedResourceProvider |
I_CmsVirtualProject.getRelatedResourceProvider(CmsObject cmsObject,
CmsPublishOptions options)
Returns an object that can be queried for 'related' resources specific to this virtual project.
|
I_CmsPublishRelatedResourceProvider |
CmsMyChangesProject.getRelatedResourceProvider(CmsObject cmsObject,
CmsPublishOptions options) |
I_CmsPublishRelatedResourceProvider |
CmsCurrentPageProject.getRelatedResourceProvider(CmsObject cmsObject,
CmsPublishOptions options) |
I_CmsPublishRelatedResourceProvider |
CmsDirectPublishProject.getRelatedResourceProvider(CmsObject cmsObject,
CmsPublishOptions options) |
I_CmsPublishRelatedResourceProvider |
CmsRealProjectVirtualWrapper.getRelatedResourceProvider(CmsObject cmsObject,
CmsPublishOptions options) |
java.util.List<CmsResource> |
I_CmsVirtualProject.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId)
Gets the resources of the virtual project.
|
java.util.List<CmsResource> |
CmsMyChangesProject.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId) |
java.util.List<CmsResource> |
CmsCurrentPageProject.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId) |
java.util.List<CmsResource> |
CmsDirectPublishProject.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId) |
java.util.List<CmsResource> |
CmsRealProjectVirtualWrapper.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId) |
static java.lang.String |
CmsPublishService.wrapProjectName(CmsObject cms,
java.lang.String name)
Wraps the project name in a message string.
|
Constructor and Description |
---|
CmsCollectorPublishListHelper(CmsObject cms,
I_CmsContentLoadCollectorInfo collectorInfo,
int collectorLimit)
Creates a new instance.
|
CmsPublish(CmsObject cms)
Creates a new instance.
|
CmsPublish(CmsObject cms,
CmsPublishOptions options)
Constructor with options.
|
CmsPublish(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params)
Constructor with default options.
|
CmsPublishRelationFinder(CmsObject cms,
java.util.Collection<CmsResource> resources,
boolean keepOriginalUnchangedResources,
I_CmsPublishRelatedResourceProvider relProvider)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsVfsSitemapService.checkPermissions(CmsObject cms) |
void |
CmsAliasEditorLockTable.clear(CmsObject cms,
java.lang.String siteRoot)
Clears the entry for a given site root, but only if the user from the given CMS context matches the user in the entry.
|
CmsUser |
CmsAliasEditorLockTable.update(CmsObject cms,
java.lang.String siteRoot)
Tries to update or create an entry for the given user/site root combination.
|
Constructor and Description |
---|
CmsAliasBulkEditHelper(CmsObject cms)
Creates a new helper object.
|
CmsModelPageHelper(CmsObject cms,
CmsResource rootResource)
Creates a new instance.
|
CmsSitemapSessionCache(CmsObject cms)
Initializes the session cache.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CmsUploadBean.getNewResourceName(CmsObject cms,
java.lang.String fileName,
java.lang.String folder)
Returns the VFS path for the given filename and folder.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
CmsVfsMemoryObjectCache.getCachedObject(CmsObject cms,
java.lang.String rootPath)
Return an object from the cache.
|
java.lang.Object |
CmsVfsMemoryObjectCache.loadVfsObject(CmsObject cms,
java.lang.String rootPath,
org.apache.commons.collections.Transformer function)
Uses a transformer for loading an object from a path if it has not already been cached, and then caches it.
|
void |
CmsVfsMemoryObjectCache.putCachedObject(CmsObject cms,
java.lang.String rootPath,
java.lang.Object value)
Puts an object into the cache.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsCmisRepository.getCmsObject(CmsCmisCallContext context)
Initializes a CMS context for the authentication data contained in a call context.
|
Modifier and Type | Method and Description |
---|---|
static void |
CmsCmisUtil.addDynamicProperties(CmsObject cms,
CmsCmisTypeManager typeManager,
org.apache.chemistry.opencmis.commons.impl.dataobjects.PropertiesImpl props,
java.lang.String typeId,
CmsResource resource,
java.util.Set<java.lang.String> filter)
Helper method to add the dynamic properties for a resource.
|
protected org.apache.chemistry.opencmis.commons.data.Acl |
CmsCmisResourceHelper.collectAcl(CmsObject cms,
CmsResource resource,
boolean onlyBasic)
Compiles the ACL for a file or folder.
|
protected org.apache.chemistry.opencmis.commons.data.Acl |
CmsCmisRelationHelper.collectAcl(CmsObject cms,
CmsResource resource,
boolean onlyBasic)
Compiles the ACL for a relation.
|
protected org.apache.chemistry.opencmis.commons.data.AllowableActions |
CmsCmisResourceHelper.collectAllowableActions(CmsObject cms,
CmsResource file)
Compiles the allowable actions for a file or folder.
|
protected org.apache.chemistry.opencmis.commons.data.AllowableActions |
CmsCmisRelationHelper.collectAllowableActions(CmsObject cms,
CmsResource file,
CmsRelation relation)
Collects the allowable actions for a relation.
|
protected org.apache.chemistry.opencmis.commons.data.ObjectData |
CmsCmisRelationHelper.collectObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
CmsRelation relation,
java.util.Set<java.lang.String> filter,
boolean includeAllowableActions,
boolean includeAcl)
Fills in an ObjectData record.
|
protected org.apache.chemistry.opencmis.commons.data.ObjectData |
CmsCmisResourceHelper.collectObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
java.util.Set<java.lang.String> filter,
java.lang.String renditionFilter,
boolean includeAllowableActions,
boolean includeAcl,
org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships)
Fills in an ObjectData record.
|
protected org.apache.chemistry.opencmis.commons.data.Properties |
CmsCmisRelationHelper.collectProperties(CmsObject cms,
CmsResource resource,
CmsRelation relation,
java.util.Set<java.lang.String> orgfilter,
org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo)
Gathers all base properties of a file or folder.
|
protected org.apache.chemistry.opencmis.commons.data.Properties |
CmsCmisResourceHelper.collectProperties(CmsObject cms,
CmsResource resource,
java.util.Set<java.lang.String> orgfilter,
org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo)
Gathers all base properties of a file or folder.
|
protected java.util.List<org.apache.chemistry.opencmis.commons.data.RenditionData> |
CmsCmisResourceHelper.collectRenditions(CmsObject cms,
CmsResource resource,
java.lang.String renditionFilterString,
org.apache.chemistry.opencmis.commons.impl.server.ObjectInfoImpl objectInfo)
Collects renditions for a resource.
|
static boolean |
CmsCmisUtil.ensureLock(CmsObject cms,
CmsResource resource)
Tries to lock a resource and throws an exception if it can't be locked.
|
void |
CmsCmisRelationHelper.RelationKey.fillRelation(CmsObject cms)
Reads the actual resource and relation data from the OpenCms VFS.
|
protected java.lang.String |
A_CmsCmisRepository.getAcePrincipalName(CmsObject cms,
CmsUUID principalId)
Gets a user-readable name for a principal id read from an ACE.
|
static java.lang.String |
CmsCmisUtil.getAcePrincipalName(CmsObject cms,
CmsUUID principalId)
Gets a user-readable name for a principal id read from an ACE.
|
byte[] |
I_CmsCmisRenditionProvider.getContent(CmsObject cms,
CmsResource resource)
Gets the rendition content stream for the resource.
|
java.lang.String |
I_CmsPropertyProvider.getPropertyValue(CmsObject cms,
CmsResource resource)
Reads the property value.
|
protected java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectData> |
CmsCmisRepository.getRelationshipObjectData(CmsCmisCallContext context,
CmsObject cms,
CmsResource resource,
org.apache.chemistry.opencmis.commons.enums.RelationshipDirection relationshipDirection,
java.util.Set<java.lang.String> filterSet,
boolean includeAllowableActions)
Gets the relationship data for a given resource.
|
org.apache.chemistry.opencmis.commons.data.RenditionData |
I_CmsCmisRenditionProvider.getRendition(CmsObject cms,
CmsResource resource)
Gets the rendition data for a resource.
|
static boolean |
CmsCmisUtil.hasChildren(CmsObject cms,
CmsResource resource)
Checks whether the given resource has any children.
|
void |
CmsCmisRepository.initializeCms(CmsObject cms) |
void |
I_CmsPropertyProvider.setPropertyValue(CmsObject cms,
CmsResource resource,
java.lang.String valueToSet)
Writes the property value.
|
Constructor and Description |
---|
CmsCmisTypeManager(CmsObject adminCms,
java.util.List<I_CmsPropertyProvider> propertyProviders)
Creates a new type manager instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CmsLoginManager.canLockBecauseOfInactivity(CmsObject cms,
CmsUser user)
Checks whether a user account can be locked because of inactivity.
|
protected CmsResource |
CmsPublishList.checkContainsSubResources(CmsObject cms,
java.util.List<CmsResource> folders)
Checks whether the publish list contains all sub-resources of a list of folders.
|
protected void |
CmsAliasManager.checkPermissionsForMassEdit(CmsObject cms)
Checks whether the current user has the permissions to mass edit the alias table, and throws an
exception otherwise.
|
protected boolean |
CmsPublishList.containsSubResources(CmsObject cms,
CmsResource folder)
Checks if the publish list contains all sub-resources of a given folder.
|
protected void |
CmsDriverManager.ensureSubResourcesOfMovedFoldersPublished(CmsObject cms,
CmsDbContext dbc,
CmsPublishList pubList)
Tries to add sub-resources of moved folders to the publish list and throws an exception if the publish list still does
not contain some sub-resources of the moved folders.
|
static java.lang.String |
CmsUserSettings.getAdditionalPreference(CmsObject cms,
java.lang.String key,
boolean useDefault)
Gets a configured preference.
|
java.util.List<CmsAlias> |
CmsAliasManager.getAliasesForPath(CmsObject cms,
java.lang.String siteRoot,
java.lang.String aliasPath)
Gets the list of aliases for a path in a given site.
|
java.util.List<CmsAlias> |
CmsAliasManager.getAliasesForSite(CmsObject cms,
java.lang.String siteRoot)
Gets the list of aliases for a given site root.
|
java.util.List<CmsAlias> |
CmsAliasManager.getAliasesForStructureId(CmsObject cms,
CmsUUID structureId)
Gets the aliases for a given structure id.
|
long |
CmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms,
CmsUser user,
CmsResource resource)
Returns the date when the resource was last visited by the user.
|
long |
CmsSubscriptionManager.getDateLastVisitedBy(CmsObject cms,
CmsUser user,
java.lang.String resourcePath)
Returns the date when the resource was last visited by the user.
|
protected java.util.List<CmsResource> |
CmsPublishList.getMissingSubResources(CmsObject cms,
java.util.List<CmsResource> folders)
Gets the sub-resources of a list of folders which are missing from the publish list.
|
protected java.util.List<CmsResource> |
CmsPublishList.getMovedFolders(CmsObject cms)
Internal method to get the moved folders from the publish list.
|
java.util.List<CmsRewriteAlias> |
CmsAliasManager.getRewriteAliases(CmsObject cms,
java.lang.String siteRoot)
Reads the rewrite aliases for a given site root.
|
CmsRewriteAliasMatcher |
CmsAliasManager.getRewriteAliasMatcher(CmsObject cms,
java.lang.String siteRoot)
Gets the rewrite alias matcher for the given site.
|
java.lang.String |
CmsUserSettings.getStartGallery(java.lang.String galleryType,
CmsObject cms)
Returns the root site path to the start gallery of the user or the constant CmsPreferences.INPUT_DEFAULT.
|
java.util.List<CmsResource> |
CmsPublishList.getTopMovedFolders(CmsObject cms)
Gets the list of moved folders which are not subfolders of other moved folders in the publish list.
|
boolean |
CmsAliasManager.hasPermissionsForMassEdit(CmsObject cms,
java.lang.String siteRoot)
Checks whether the current user has permissions for mass editing the alias table.
|
protected CmsAliasImportResult |
CmsAliasManager.importAlias(CmsObject cms,
java.lang.String siteRoot,
java.lang.String aliasPath,
java.lang.String vfsPath,
CmsAliasMode mode)
Imports a single alias.
|
java.util.List<CmsAliasImportResult> |
CmsAliasManager.importAliases(CmsObject cms,
byte[] aliasData,
java.lang.String siteRoot,
java.lang.String separator)
Imports alias CSV data.
|
void |
CmsImportFolder.importFolder(java.lang.String importFolderName,
java.lang.String importPath,
CmsObject cms)
Import that will read from the real file system.
|
void |
CmsImportFolder.importZip(byte[] content,
java.lang.String importPath,
CmsObject cms,
boolean noSubFolder)
Import that will read from a ZIP file.
|
void |
CmsSubscriptionManager.initialize(CmsObject cms)
Initializes this subscription manager with the OpenCms system configuration.
|
CmsResource |
CmsUserTrackingResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms,
CmsResource resource,
CmsUser user)
Mark the given resource as visited by the user.
|
void |
CmsSubscriptionManager.markResourceAsVisitedBy(CmsObject cms,
java.lang.String resourcePath,
CmsUser user)
Mark the given resource as visited by the user.
|
protected CmsAliasImportResult |
CmsAliasManager.processAliasImport(CmsObject cms,
java.lang.String siteRoot,
java.lang.String aliasPath,
java.lang.String vfsPath,
CmsAliasMode mode)
Processes a single alias import operation which has already been parsed into fields.
|
protected CmsAliasImportResult |
CmsAliasManager.processAliasLine(CmsObject cms,
java.lang.String siteRoot,
java.lang.String line,
java.lang.String separator)
Processes a line from a CSV file containing the alias data to be imported.
|
void |
CmsDriverManager.publishJob(CmsObject cms,
CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report)
Publishes the given publish job.
|
void |
CmsDriverManager.publishProject(CmsObject cms,
CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report)
Publishes the resources of a specified publish list.
|
CmsUUID |
CmsSecurityManager.publishProject(CmsObject cms,
CmsPublishList publishList,
I_CmsReport report)
Publishes the resources of a specified publish list.
|
java.util.List<CmsResource> |
CmsSubscriptionManager.readAllSubscribedResources(CmsObject cms,
CmsPrincipal principal)
Returns all resources subscribed by the given user or group.
|
java.util.List<CmsResource> |
CmsSubscriptionManager.readResourcesVisitedBy(CmsObject cms,
CmsVisitedByFilter filter)
Returns the resources that were visited by a user set in the filter.
|
java.util.List<I_CmsHistoryResource> |
CmsSubscriptionManager.readSubscribedDeletedResources(CmsObject cms,
CmsUser user,
boolean includeGroups,
java.lang.String folderPath,
boolean includeSubFolders,
long deletedFrom)
Returns the subscribed history resources that were deleted.
|
java.util.List<CmsResource> |
CmsSubscriptionManager.readSubscribedResources(CmsObject cms,
CmsSubscriptionFilter filter)
Returns the resources that were subscribed by a user or group set in the filter.
|
void |
CmsLoginManager.removeLoginMessage(CmsObject cms)
Removes the current login message.
|
boolean |
CmsLoginManager.requiresPasswordChange(CmsObject cms,
CmsUser user)
Checks if a user is required to change his password now.
|
void |
CmsPublishList.revive(CmsObject cms)
Revives the publish list by populating the internal resource lists with
instances. |
void |
CmsUserSettings.save(CmsObject cms)
Saves the changed settings of the user to the users
CmsUser.getAdditionalInfo() map. |
void |
CmsAliasManager.saveAliases(CmsObject cms,
CmsUUID structureId,
java.util.List<CmsAlias> aliases)
Saves the aliases for a given structure id, completely replacing any existing aliases for the same structure id.
|
void |
CmsAliasManager.saveRewriteAliases(CmsObject cms,
java.lang.String siteRoot,
java.util.List<CmsRewriteAlias> newAliases)
Saves the rewrite alias for a given site root.
|
static void |
CmsUserSettings.setAdditionalPreference(CmsObject cms,
java.lang.String key,
java.lang.String value)
Sets a configured preference.
|
void |
CmsLoginManager.setLoginMessage(CmsObject cms,
CmsLoginMessage message)
Sets the login message to display if a user logs in.
|
void |
CmsSubscriptionManager.setSubscribedResourceAsDeleted(CmsObject cms,
CmsResource resource)
Marks a subscribed resource as deleted.
|
void |
CmsSubscriptionFilter.setUserGroups(CmsObject cms)
Sets the groups of the user currently set in this filter as the list of groups to check subscribed resources for.
|
void |
CmsSubscriptionManager.subscribeResourceFor(CmsObject cms,
CmsPrincipal principal,
CmsResource resource)
Subscribes the user or group to the resource.
|
void |
CmsSubscriptionManager.subscribeResourceFor(CmsObject cms,
CmsPrincipal principal,
java.lang.String resourcePath)
Subscribes the user or group to the resource.
|
void |
CmsLoginManager.unlockUser(CmsObject cms,
CmsUser user)
Unlocks a user who has exceeded his number of failed login attempts so that he can try to log in again.
|
void |
CmsSubscriptionManager.unsubscribeAllDeletedResources(CmsObject cms,
long deletedTo)
Unsubscribes all deleted resources that were deleted before the specified time stamp.
|
void |
CmsSubscriptionManager.unsubscribeAllResourcesFor(CmsObject cms,
CmsPrincipal principal)
Unsubscribes the user or group from all resources.
|
void |
CmsSubscriptionManager.unsubscribeResourceFor(CmsObject cms,
CmsPrincipal principal,
CmsResource resource)
Unsubscribes the principal from the resource.
|
void |
CmsSubscriptionManager.unsubscribeResourceFor(CmsObject cms,
CmsPrincipal principal,
java.lang.String resourcePath)
Unsubscribes the principal from the resource.
|
void |
CmsSubscriptionManager.unsubscribeResourceForAll(CmsObject cms,
CmsResource resource)
Unsubscribes all groups and users from the resource.
|
void |
CmsSubscriptionManager.unsubscribeResourceForAll(CmsObject cms,
java.lang.String resourcePath)
Unsubscribes all groups and users from the resource.
|
void |
CmsAliasManager.updateAliases(CmsObject cms,
java.util.Collection<CmsAlias> toDelete,
java.util.Collection<CmsAlias> toAdd)
Updates the aliases in the database.
|
Constructor and Description |
---|
CmsImportFolder(byte[] content,
java.lang.String importPath,
CmsObject cms,
boolean noSubFolder)
Constructor for a new CmsImportFolder that will read from a ZIP file.
|
CmsImportFolder(java.lang.String importFolderName,
java.lang.String importPath,
CmsObject cms)
Constructor for a new CmsImportFolder that will read from the real file system.
|
CmsSubscriptionFilter(CmsObject cms)
Constructor, setting the user to the current user from the context.
|
CmsSubscriptionFilter(CmsObject cms,
boolean addUserGroups)
Constructor, setting the user to the current user from the context.
|
CmsUserSettings(CmsObject cms)
Creates a user settings object with initialized settings of the current user.
|
CmsVisitedByFilter(CmsObject cms)
Constructor, setting the user to the current user from the context.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
CmsLinkRewriter.getConfiguredEncoding(CmsObject cms,
CmsResource resource)
Gets the encoding which is configured at the location of a given resource.
|
java.lang.String |
CmsUser.getDisplayName(CmsObject cms,
java.util.Locale locale) |
Constructor and Description |
---|
CmsLinkRewriter(CmsObject cms,
java.util.List<java.lang.String> sources,
java.lang.String target)
Creates a link rewriter for use after a multi-copy operation.
|
CmsLinkRewriter(CmsObject cms,
java.lang.String targetPath,
java.util.List<CmsPair<java.lang.String,java.lang.String>> sourceTargetPairs)
Creates a new link rewriter for a list of sources and corresponding targets.
|
CmsLinkRewriter(CmsObject cms,
java.lang.String source,
java.lang.String target)
Creates a link rewriter for use after a single copy operation.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<CmsResource> |
CmsChangedResourceCollector.allChangedInFolderDate(CmsObject cms,
java.lang.String param,
boolean tree,
boolean asc,
int numResults)
Returns a List of all changed resources in the folder pointed to by the parameter
sorted by the date attributes specified in the parameter.
|
protected java.util.List<CmsResource> |
CmsDateResourceCollector.allInFolderDate(CmsObject cms,
java.lang.String param,
boolean tree,
boolean asc,
int numResults)
Returns a List of all resources in the folder pointed to by the parameter
sorted by the selected dates.
|
protected java.util.List<CmsResource> |
CmsDefaultResourceCollector.allInFolderDateReleasedDesc(CmsObject cms,
java.lang.String param,
boolean tree,
int numResults)
Returns a List of all resources in the folder pointed to by the parameter
sorted by the release date, descending.
|
protected java.util.List<CmsResource> |
CmsDefaultResourceCollector.allInFolderNavPos(CmsObject cms,
java.lang.String param,
boolean readSubTree,
int numResults)
Collects all resources in a folder (or subtree) sorted by the NavPos property.
|
protected java.util.List<CmsResource> |
CmsPriorityResourceCollector.allInFolderPriorityDate(CmsObject cms,
java.lang.String param,
boolean tree,
boolean asc,
int numResults)
Returns a list of all resource in a specified folder sorted by priority, then date ascending or descending.
|
protected java.util.List<CmsResource> |
CmsPriorityResourceCollector.allInFolderPriorityTitle(CmsObject cms,
java.lang.String param,
boolean tree,
int numResults)
Returns a list of all resource in a specified folder sorted by priority descending, then Title ascending.
|
protected java.util.List<CmsResource> |
CmsCategoryResourceCollector.allKeyValuePairFiltered(CmsObject cms,
java.lang.String param,
int numResults)
Collects all resources for the given categories filtered and sorted by the given collector parameter.
|
protected java.util.List<CmsResource> |
CmsPriorityResourceCollector.allMappedToUriPriorityDate(CmsObject cms,
java.lang.String param,
boolean asc,
int numResults)
Returns a list of all resource from specified folder that have been mapped to
the currently requested uri, sorted by priority, then date ascending or descending.
|
static long |
CmsDateResourceComparator.calculateDate(CmsObject cms,
CmsResource resource,
java.util.List<java.lang.String> dateIdentifiers,
long defaultValue)
Calculates the date to use for comparison of this resource based on the given date identifiers.
|
static java.lang.String |
A_CmsResourceCollector.createResourceForCollector(CmsObject cms,
java.lang.String newLink,
java.util.Locale locale,
java.lang.String referenceResource,
java.lang.String modelFile,
java.lang.String mode,
java.lang.String postCreateHandlerClass)
Creates a new content collector resource.
|
protected java.util.List<CmsResource> |
CmsDefaultResourceCollector.getAllInFolder(CmsObject cms,
java.lang.String param,
boolean tree,
int numResults)
Returns all resources in the folder pointed to by the parameter.
|
protected java.lang.String |
A_CmsResourceCollector.getCreateInFolder(CmsObject cms,
CmsCollectorData data)
Returns the link to create a new XML content item in the folder pointed to by the parameter.
|
protected java.lang.String |
A_CmsResourceCollector.getCreateInFolder(CmsObject cms,
java.lang.String param)
Returns the link to create a new XML content item in the folder pointed to by the parameter.
|
java.lang.String |
A_CmsResourceCollector.getCreateLink(CmsObject cms) |
java.lang.String |
I_CmsResourceCollector.getCreateLink(CmsObject cms)
Returns the link that must be executed when a user clicks on the direct edit
"new" button on a list created by the default collector.
|
java.lang.String |
CmsSolrCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsCategoryResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsDefaultResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsPriorityResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
I_CmsResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param)
Returns the link that must be executed when a user clicks on the direct edit
"new" button on a list created by the named collector.
|
java.lang.String |
CmsSubscriptionCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsChangedResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsDateResourceCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsTimeFrameCategoryCollector.getCreateLink(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
A_CmsResourceCollector.getCreateParam(CmsObject cms) |
java.lang.String |
I_CmsResourceCollector.getCreateParam(CmsObject cms)
Returns the default parameter that must be passed to the
I_CmsResourceCollector.getCreateLink(CmsObject, String, String) method. |
java.lang.String |
CmsSolrCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsCategoryResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsDefaultResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsPriorityResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
I_CmsResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param)
Returns the parameter that must be passed to the
I_CmsResourceCollector.getCreateLink(CmsObject, String, String) method. |
java.lang.String |
CmsSubscriptionCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsChangedResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsDateResourceCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.lang.String |
CmsTimeFrameCategoryCollector.getCreateParam(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
CmsSolrCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
A_CmsResourceCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
CmsDefaultResourceCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
CmsPriorityResourceCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
I_CmsResourceCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param)
Returns the id of the resource type for new collector items.
|
int |
CmsDateResourceCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
int |
CmsTimeFrameCategoryCollector.getCreateTypeId(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.Set<CmsResource> |
A_CmsResourceCollector.getPublishResources(CmsObject cms,
I_CmsContentLoadCollectorInfo info) |
java.util.Set<CmsResource> |
I_CmsCollectorPublishListProvider.getPublishResources(CmsObject cms,
I_CmsContentLoadCollectorInfo info)
Gets the publish list for the collector.
|
java.util.List<CmsResource> |
A_CmsResourceCollector.getResults(CmsObject cms) |
java.util.List<CmsResource> |
I_CmsResourceCollector.getResults(CmsObject cms)
Returns a list of
CmsResource Objects that are
gathered in the VFS using the default collector name and parameter. |
java.util.List<CmsResource> |
CmsSolrCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsCategoryResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsDefaultResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsPriorityResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
I_CmsResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param)
Returns a list of
CmsResource Objects that are
gathered in the VFS using the named collector. |
java.util.List<CmsResource> |
CmsSubscriptionCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsChangedResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsDateResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsTimeFrameCategoryCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param) |
java.util.List<CmsResource> |
CmsSolrCollector.getResults(CmsObject cms,
java.lang.String name,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsCategoryResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsDefaultResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsPriorityResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
I_CmsResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String params,
int numResults)
Returns a list of
CmsResource Objects that are
gathered in the VFS using the named collector. |
java.util.List<CmsResource> |
CmsSubscriptionCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsChangedResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsDateResourceCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
java.util.List<CmsResource> |
CmsTimeFrameCategoryCollector.getResults(CmsObject cms,
java.lang.String collectorName,
java.lang.String param,
int numResults) |
protected java.util.List<CmsResource> |
CmsDefaultResourceCollector.getSingleFile(CmsObject cms,
java.lang.String param)
Returns a List containing the resources pointed to by the parameter.
|
protected java.util.List<CmsResource> |
CmsSubscriptionCollector.getSubscribedDeletedResources(CmsObject cms,
java.lang.String param,
int numResults)
Returns the subscribed deleted resources according to the collector parameter.
|
protected java.util.List<CmsResource> |
CmsSubscriptionCollector.getSubscribedResources(CmsObject cms,
java.lang.String param,
int numResults)
Returns the subscribed resources according to the collector parameter.
|
protected CmsSubscriptionFilter |
CmsSubscriptionCollector.getSubscriptionFilter(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params)
Returns the configured subscription filter to use.
|
protected CmsSubscriptionFilter |
CmsSubscriptionCollector.getSubscriptionFilter(CmsObject cms,
java.lang.String param)
Returns the configured subscription filter to use.
|
protected CmsVisitedByFilter |
CmsSubscriptionCollector.getVisitedByFilter(CmsObject cms,
java.lang.String param)
Returns the configured visited by filter to use.
|
protected java.util.List<CmsResource> |
CmsSubscriptionCollector.getVisitedResources(CmsObject cms,
java.lang.String param,
int numResults)
Returns the visited resources according to the collector parameter.
|
void |
CmsDefaultPostCreateHandler.onCreate(CmsObject cms,
CmsResource createdResource,
boolean copyMode) |
void |
I_CmsCollectorPostCreateHandler.onCreate(CmsObject cms,
CmsResource createdResource,
boolean copyMode)
This is called after the new content has been created (and possibly already been filled with content).
|
Constructor and Description |
---|
CmsDateResourceComparator(CmsObject cms,
java.util.List<java.lang.String> dateIdentifiers,
boolean asc)
Creates a new instance of this comparator key.
|
CmsPriorityDateResourceComparator(CmsObject cms,
boolean asc)
Creates a new instance of this comparator key.
|
CmsPriorityTitleResourceComparator(CmsObject cms)
Creates a new instance of this comparator key.
|
CmsPropertyResourceComparator(CmsObject cms,
java.lang.String property,
boolean asc)
Creates a new instance of this comparator key.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CmsHistoryProject.getGroupManagersName(CmsObject cms)
Returns the project manager group name.
|
java.lang.String |
CmsHistoryProject.getGroupUsersName(CmsObject cms)
Returns the projects user group name.
|
java.lang.String |
CmsHistoryProject.getOwnerName(CmsObject cms)
Returns the owner name.
|
java.lang.String |
CmsHistoryProject.getPublishedByName(CmsObject cms)
Returns the publishers name.
|
static CmsResource |
CmsHistoryResourceHandler.getResourceWithHistory(CmsObject cms,
java.lang.String resourceUri)
Returns the correct resource for the given URI, taken into account historical versions
marked by the
version parameter. |
java.lang.String |
CmsHistoryFolder.getUserCreatedName(CmsObject cms)
Returns the name of the user that created this resource.
|
java.lang.String |
CmsHistoryFile.getUserCreatedName(CmsObject cms)
Returns the name of the user that created this resource.
|
java.lang.String |
CmsHistoryFolder.getUserLastModifiedName(CmsObject cms)
Returns the name of the user that last modified this resource.
|
java.lang.String |
CmsHistoryFile.getUserLastModifiedName(CmsObject cms)
Returns the name of the user that last modified this resource.
|
CmsResource |
CmsHistoryResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
Modifier and Type | Method and Description |
---|---|
void |
A_CmsResourceType.changeLock(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource) |
void |
I_CmsResourceType.changeLock(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource)
Changes the lock of a resource to the current user,
that is "steals" the lock from another user.
|
void |
A_CmsResourceType.chflags(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int flags) |
void |
I_CmsResourceType.chflags(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int flags)
Changes the resource flags of a resource.
|
void |
A_CmsResourceType.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
I_CmsResourceType type) |
void |
I_CmsResourceType.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
I_CmsResourceType type)
Changes the resource type of a resource.
|
void |
A_CmsResourceType.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type)
Deprecated.
Use
A_CmsResourceType.chtype(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType) instead.
Resource types should always be referenced either by its type class (preferred) or by type name.
Use of int based resource type references will be discontinued in a future OpenCms release. |
void |
I_CmsResourceType.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type)
Deprecated.
Use
I_CmsResourceType.chtype(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType) instead.
Resource types should always be referenced either by this type class (preferred) or by type name.
Use of int based resource type references will be discontinued in a future OpenCms release. |
void |
A_CmsResourceTypeFolderBase.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource filename,
int newType) |
void |
CmsResourceTypePlain.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type) |
void |
CmsResourceTypeJsp.chtype(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type) |
void |
A_CmsResourceType.copyResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
void |
I_CmsResourceType.copyResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode)
Copies a resource.
|
void |
A_CmsResourceTypeFolderBase.copyResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
void |
A_CmsResourceType.copyResourceToProject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource) |
void |
I_CmsResourceType.copyResourceToProject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource)
Copies a resource to the current project of the user.
|
protected CmsResource |
A_CmsResourceType.createRelations(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourceName)
Creates the relation information for the resource with the given resource name.
|
CmsResource |
A_CmsResourceType.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceTypeXmlContainerPage.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceType.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsResourceTypeXmlContent.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceTypeFolderBase.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceTypeImage.createResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceType.createSibling(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceType.createSibling(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties)
Creates a new sibling of the source resource.
|
void |
A_CmsResourceType.deleteResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode) |
void |
I_CmsResourceType.deleteResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode)
Deletes a resource given its name.
|
void |
CmsResourceTypePlain.deleteResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode) |
void |
CmsResourceTypeJsp.deleteResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode) |
static CmsImageScaler |
CmsResourceTypeImage.getDownScaler(CmsObject cms,
java.lang.String rootPath)
Returns the image downscaler to use when writing an image resource to the given root path.
|
CmsFormatterConfiguration |
A_CmsResourceType.getFormattersForResource(CmsObject cms,
CmsResource res) |
CmsFormatterConfiguration |
I_CmsResourceType.getFormattersForResource(CmsObject cms,
CmsResource resource)
Returns the formatter configuration for the given resource.
|
CmsFormatterConfiguration |
CmsResourceTypeXmlContent.getFormattersForResource(CmsObject cms,
CmsResource resource) |
CmsFormatterConfiguration |
CmsResourceTypeJsp.getFormattersForResource(CmsObject cms,
CmsResource res) |
protected java.util.Locale |
CmsResourceTypeLocaleIndependentXmlContent.getLocaleForNewContent(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
java.util.List<CmsProperty> properties)
This overridden method ensures that configurations will always be created with an english locale node.
|
protected java.util.Locale |
CmsResourceTypeXmlContent.getLocaleForNewContent(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
java.util.List<CmsProperty> properties)
Gets the locale which should be used for creating an empty content.
|
protected java.util.Locale |
CmsResourceTypeXmlAdeConfiguration.getLocaleForNewContent(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
java.util.List<CmsProperty> properties)
This overridden method ensures that configurations will always be created with an english locale node.
|
protected CmsMacroResolver |
A_CmsResourceType.getMacroResolver(CmsObject cms,
java.lang.String resourcename)
Creates a macro resolver based on the current users OpenCms context and the provided resource name.
|
static java.util.List<CmsResource> |
CmsResourceTypeXmlContent.getModelFiles(CmsObject cms,
java.lang.String currentFolder,
java.lang.String newResourceTypeName)
Returns the possible model files for the new resource.
|
protected java.util.Set<java.lang.String> |
CmsResourceTypePlain.getReferencingStrongLinks(CmsObject cms,
CmsResource resource)
Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.
|
protected java.util.Set<java.lang.String> |
CmsResourceTypeJsp.getReferencingStrongLinks(CmsObject cms,
CmsResource resource)
Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.
|
protected CmsLink |
CmsResourceTypeXmlContent.getXsdLink(CmsObject cms,
CmsXmlContent xmlContent)
Creates a new link object for the schema definition.
|
CmsResource |
A_CmsResourceType.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceType.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties)
Imports a resource to the OpenCms VFS.
|
CmsResource |
CmsResourceTypeImage.importResource(CmsObject cms,
CmsSecurityManager securityManager,
java.lang.String resourcename,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
A_CmsResourceType.initialize(CmsObject cms) |
void |
I_CmsResourceType.initialize(CmsObject cms)
Initializes this resource type.
|
void |
CmsResourceTypeXmlContent.initialize(CmsObject cms) |
void |
CmsResourceTypePlain.initialize(CmsObject cms) |
void |
CmsResourceTypeJsp.initialize(CmsObject cms) |
void |
A_CmsResourceType.lockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsLockType type) |
void |
I_CmsResourceType.lockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsLockType type)
Locks a resource.
|
void |
A_CmsResourceType.moveResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.lang.String destination) |
void |
I_CmsResourceType.moveResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.lang.String destination)
Moves a resource to the given destination.
|
void |
A_CmsResourceTypeFolderBase.moveResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.lang.String destination) |
void |
CmsResourceTypePlain.moveResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.lang.String destination) |
void |
CmsResourceTypeJsp.moveResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.lang.String destination) |
java.util.List<CmsLink> |
CmsResourceTypeXmlContainerPage.parseLinks(CmsObject cms,
CmsFile file) |
java.util.List<CmsLink> |
CmsResourceTypeXmlContent.parseLinks(CmsObject cms,
CmsFile file) |
java.util.List<CmsLink> |
CmsResourceTypeJsp.parseLinks(CmsObject cms,
CmsFile file) |
java.util.List<CmsLink> |
CmsResourceTypeXmlPage.parseLinks(CmsObject cms,
CmsFile file) |
protected void |
A_CmsResourceType.processCopyResources(CmsObject cms,
java.lang.String resourcename,
CmsMacroResolver resolver)
Processes the copy resources of this resource type.
|
void |
A_CmsResourceType.removeResourceFromProject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource) |
void |
I_CmsResourceType.removeResourceFromProject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource)
Removes a resource from the current project of the user.
|
void |
A_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
I_CmsResourceType type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
I_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
I_CmsResourceType type,
byte[] content,
java.util.List<CmsProperty> properties)
Replaces the content, type and properties of a resource.
|
void |
A_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Deprecated.
Use
A_CmsResourceType.replaceResource(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType, byte[], List) instead.
Resource types should always be referenced either by its type class (preferred) or by type name.
Use of int based resource type references will be discontinued in a future OpenCms release. |
void |
I_CmsResourceType.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Deprecated.
Use
I_CmsResourceType.replaceResource(CmsObject, CmsSecurityManager, CmsResource, I_CmsResourceType, byte[], List) instead.
Resource types should always be referenced either by this type class (preferred) or by type name.
Use of int based resource type references will be discontinued in a future OpenCms release. |
void |
A_CmsResourceTypeFolderBase.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypePlain.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypeJsp.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
CmsResourceTypeImage.replaceResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
void |
A_CmsResourceType.restoreResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int version) |
void |
I_CmsResourceType.restoreResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int version)
Restores a resource in the current project with a version from the historical archive.
|
void |
CmsResourceTypePlain.restoreResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int version) |
void |
CmsResourceTypeJsp.restoreResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
int version) |
void |
A_CmsResourceType.setDateExpired(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateExpired,
boolean recursive) |
void |
I_CmsResourceType.setDateExpired(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateExpired,
boolean recursive)
Changes the "expire" date of a resource.
|
void |
A_CmsResourceTypeFolderBase.setDateExpired(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
CmsResourceTypePlain.setDateExpired(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateExpired,
boolean recursive) |
void |
CmsResourceTypeJsp.setDateExpired(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateExpired,
boolean recursive) |
void |
A_CmsResourceType.setDateLastModified(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
I_CmsResourceType.setDateLastModified(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive)
Changes the "last modified" date of a resource.
|
void |
A_CmsResourceTypeFolderBase.setDateLastModified(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
CmsResourceTypePlain.setDateLastModified(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
CmsResourceTypeJsp.setDateLastModified(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
A_CmsResourceType.setDateReleased(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateReleased,
boolean recursive) |
void |
I_CmsResourceType.setDateReleased(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateReleased,
boolean recursive)
Changes the "release" date of a resource.
|
void |
A_CmsResourceTypeFolderBase.setDateReleased(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateLastModified,
boolean recursive) |
void |
CmsResourceTypePlain.setDateReleased(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateReleased,
boolean recursive) |
void |
CmsResourceTypeJsp.setDateReleased(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
long dateReleased,
boolean recursive) |
void |
A_CmsResourceType.undelete(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
boolean recursive) |
void |
I_CmsResourceType.undelete(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
boolean recursive)
Undeletes a resource.
|
void |
A_CmsResourceTypeFolderBase.undelete(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
boolean recursive) |
void |
A_CmsResourceType.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
I_CmsResourceType.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode)
Undos all changes in the resource by restoring the version from the
online project to the current offline project.
|
void |
A_CmsResourceTypeFolderBase.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
CmsResourceTypePlain.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
CmsResourceTypeJsp.undoChanges(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
void |
A_CmsResourceType.unlockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource) |
void |
I_CmsResourceType.unlockResource(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource)
Unlocks a resource.
|
protected void |
A_CmsResourceType.updateRelationForUndo(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource)
Update the relations after an undo changes operation.
|
CmsFile |
A_CmsResourceType.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
CmsResourceTypeXmlContainerPage.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
I_CmsResourceType.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource)
Writes a resource, including it's content.
|
CmsFile |
CmsResourceTypeXmlContent.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
CmsResourceTypePlain.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
CmsResourceTypeJsp.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
CmsResourceTypeImage.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
CmsFile |
CmsResourceTypeXmlPage.writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource) |
void |
A_CmsResourceType.writePropertyObject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsProperty property) |
void |
I_CmsResourceType.writePropertyObject(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
CmsProperty property)
Writes a property for a specified resource.
|
void |
A_CmsResourceType.writePropertyObjects(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.util.List<CmsProperty> properties) |
void |
I_CmsResourceType.writePropertyObjects(CmsObject cms,
CmsSecurityManager securityManager,
CmsResource resource,
java.util.List<CmsProperty> properties)
Writes a list of properties for a specified resource.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CmsResourceWrapperUtils.addFileExtension(CmsObject cms,
java.lang.String resourcename,
java.lang.String extension)
Adds a file extension to the resource name.
|
java.util.List<CmsResource> |
CmsResourceWrapperXmlPage.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
java.util.List<CmsResource> |
CmsResourceWrapperSystemFolder.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
java.util.List<CmsResource> |
A_CmsResourceWrapper.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
java.util.List<CmsResource> |
CmsResourceWrapperPropertyFile.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
java.util.List<CmsResource> |
I_CmsResourceWrapper.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter)
Here it is possible to add additional (virtual) child resources to those already existing
in the VFS.
|
java.util.List<CmsResource> |
CmsResourceWrapperModules.addResourcesToFolder(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
boolean |
A_CmsResourceExtensionWrapper.copyResource(CmsObject cms,
java.lang.String source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
boolean |
CmsResourceWrapperXmlPage.copyResource(CmsObject cms,
java.lang.String source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
boolean |
A_CmsResourceWrapper.copyResource(CmsObject cms,
java.lang.String source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
boolean |
I_CmsResourceWrapper.copyResource(CmsObject cms,
java.lang.String source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode)
Copies a resource.
|
static CmsFile |
CmsResourceWrapperUtils.createPropertyFile(CmsObject cms,
CmsResource res,
java.lang.String path)
Creates a virtual CmsFile with the individual and shared properties as content.
|
CmsResource |
A_CmsResourceExtensionWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperXmlPage.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
A_CmsResourceWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperPropertyFile.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperReplaceDeleted.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
CmsResourceWrapperPreventCreateNameCI.createResource(CmsObject cms,
java.lang.String resourcepath,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
CmsResource |
I_CmsResourceWrapper.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties)
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsResourceWrapperModules.createResource(CmsObject cms,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
boolean |
A_CmsResourceExtensionWrapper.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode) |
boolean |
CmsResourceWrapperXmlPage.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode) |
boolean |
A_CmsResourceWrapper.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode) |
boolean |
CmsResourceWrapperPropertyFile.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode) |
boolean |
I_CmsResourceWrapper.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode)
Deletes a resource given its name.
|
boolean |
CmsResourceWrapperModules.deleteResource(CmsObject cms,
java.lang.String resourcename,
CmsResource.CmsResourceDeleteMode siblingMode) |
CmsLock |
A_CmsResourceExtensionWrapper.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
CmsResourceWrapperXmlPage.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
A_CmsResourceWrapper.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
CmsResourceWrapperPropertyFile.getLock(CmsObject cms,
CmsResource resource) |
CmsLock |
I_CmsResourceWrapper.getLock(CmsObject cms,
CmsResource resource)
Returns the lock for the resource.
|
CmsLock |
CmsResourceWrapperModules.getLock(CmsObject cms,
CmsResource resource) |
protected java.lang.String |
CmsResourceWrapperXmlPage.getUriStyleSheet(CmsObject cms,
CmsResource res)
Returns the OpenCms VFS uri of the style sheet of the resource.
|
protected java.lang.String |
CmsResourceWrapperXmlPage.getUriTemplate(CmsObject cms,
CmsResource res)
Returns the OpenCms VFS uri of the template of the resource.
|
boolean |
A_CmsResourceExtensionWrapper.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
CmsResourceWrapperXmlPage.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
CmsResourceWrapperSystemFolder.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
CmsResourceWrapperPropertyFile.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
CmsResourceWrapperReplaceDeleted.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
CmsResourceWrapperPreventCreateNameCI.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
I_CmsResourceWrapper.isWrappedResource(CmsObject cms,
CmsResource res)
Is called to check if the given resource is handled by this wrapper.
|
boolean |
CmsResourceWrapperModules.isWrappedResource(CmsObject cms,
CmsResource res) |
boolean |
A_CmsResourceExtensionWrapper.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary) |
boolean |
CmsResourceWrapperXmlPage.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary) |
boolean |
A_CmsResourceWrapper.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary) |
boolean |
CmsResourceWrapperPropertyFile.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary) |
boolean |
I_CmsResourceWrapper.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary)
Locks a resource.
|
boolean |
CmsResourceWrapperModules.lockResource(CmsObject cms,
java.lang.String resourcename,
boolean temporary) |
boolean |
A_CmsResourceExtensionWrapper.moveResource(CmsObject cms,
java.lang.String source,
java.lang.String destination) |
boolean |
CmsResourceWrapperXmlPage.moveResource(CmsObject cms,
java.lang.String source,
java.lang.String destination) |
boolean |
A_CmsResourceWrapper.moveResource(CmsObject cms,
java.lang.String source,
java.lang.String destination) |
boolean |
CmsResourceWrapperPreventCreateNameCI.moveResource(CmsObject cms,
java.lang.String source,
java.lang.String destination) |
boolean |
I_CmsResourceWrapper.moveResource(CmsObject cms,
java.lang.String source,
java.lang.String destination)
Moves a resource to the given destination.
|
protected java.lang.String |
CmsResourceWrapperXmlPage.prepareContent(java.lang.String content,
CmsObject cms,
CmsResource xmlPage,
java.lang.String path)
Prepare the content of a xml page before returning.
|
CmsFile |
A_CmsResourceExtensionWrapper.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsFile |
CmsResourceWrapperXmlPage.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsFile |
A_CmsResourceWrapper.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsFile |
CmsResourceWrapperPropertyFile.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsFile |
I_CmsResourceWrapper.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter)
Reads a file resource (including it's binary content) from the VFS,
using the specified resource filter.
|
CmsFile |
CmsResourceWrapperModules.readFile(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
A_CmsResourceExtensionWrapper.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
CmsResourceWrapperXmlPage.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
CmsResourceWrapperSystemFolder.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
A_CmsResourceWrapper.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
CmsResourceWrapperPropertyFile.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter) |
CmsResource |
I_CmsResourceWrapper.readResource(CmsObject cms,
java.lang.String resourcename,
CmsResourceFilter filter)
Reads a resource from the VFS, using the specified resource filter.
|
CmsResource |
CmsResourceWrapperModules.readResource(CmsObject cms,
java.lang.String resourcepath,
CmsResourceFilter filter) |
static java.lang.String |
CmsResourceWrapperUtils.removeFileExtension(CmsObject cms,
java.lang.String resourcename,
java.lang.String extension)
Removes an added file extension from the resource name.
|
java.lang.String |
A_CmsResourceExtensionWrapper.restoreLink(CmsObject cms,
java.lang.String uri) |
java.lang.String |
CmsResourceWrapperXmlPage.restoreLink(CmsObject cms,
java.lang.String uri) |
java.lang.String |
A_CmsResourceWrapper.restoreLink(CmsObject cms,
java.lang.String uri) |
java.lang.String |
CmsResourceWrapperPropertyFile.restoreLink(CmsObject cms,
java.lang.String uri) |
java.lang.String |
I_CmsResourceWrapper.restoreLink(CmsObject cms,
java.lang.String uri)
Returns the link to a existing resource in the VFS for the uri.
|
java.lang.String |
A_CmsResourceExtensionWrapper.rewriteLink(CmsObject cms,
CmsResource res) |
java.lang.String |
CmsResourceWrapperXmlPage.rewriteLink(CmsObject cms,
CmsResource res) |
java.lang.String |
A_CmsResourceWrapper.rewriteLink(CmsObject cms,
CmsResource res) |
java.lang.String |
I_CmsResourceWrapper.rewriteLink(CmsObject cms,
CmsResource res)
Returns the link how it is for the resource after using this resource wrapper.
|
boolean |
A_CmsResourceExtensionWrapper.unlockResource(CmsObject cms,
java.lang.String resourcename) |
boolean |
CmsResourceWrapperXmlPage.unlockResource(CmsObject cms,
java.lang.String resourcename) |
boolean |
A_CmsResourceWrapper.unlockResource(CmsObject cms,
java.lang.String resourcename) |
boolean |
CmsResourceWrapperPropertyFile.unlockResource(CmsObject cms,
java.lang.String resourcename) |
boolean |
I_CmsResourceWrapper.unlockResource(CmsObject cms,
java.lang.String resourcename)
Unlocks a resource.
|
boolean |
CmsResourceWrapperModules.unlockResource(CmsObject cms,
java.lang.String resourcename) |
CmsResource |
A_CmsResourceExtensionWrapper.wrapResource(CmsObject cms,
CmsResource res) |
CmsResource |
CmsResourceWrapperXmlPage.wrapResource(CmsObject cms,
CmsResource res) |
CmsResource |
A_CmsResourceWrapper.wrapResource(CmsObject cms,
CmsResource resource) |
CmsResource |
I_CmsResourceWrapper.wrapResource(CmsObject cms,
CmsResource resource)
Changes the given resource based on the implementation of this wrapper.
|
CmsFile |
A_CmsResourceExtensionWrapper.writeFile(CmsObject cms,
CmsFile resource) |
CmsFile |
CmsResourceWrapperXmlPage.writeFile(CmsObject cms,
CmsFile resource) |
CmsFile |
A_CmsResourceWrapper.writeFile(CmsObject cms,
CmsFile resource) |
CmsFile |
CmsResourceWrapperPropertyFile.writeFile(CmsObject cms,
CmsFile resource) |
CmsFile |
I_CmsResourceWrapper.writeFile(CmsObject cms,
CmsFile resource)
Writes a resource, including it's content.
|
CmsFile |
CmsResourceWrapperModules.writeFile(CmsObject cms,
CmsFile resource) |
static void |
CmsResourceWrapperUtils.writePropertyFile(CmsObject cms,
java.lang.String resourcename,
byte[] content)
Takes the content which should be formatted as a property file and set them
as properties to the resource.
|
Constructor and Description |
---|
CmsObjectWrapper(CmsObject cms,
java.util.List<I_CmsResourceWrapper> wrappers)
Constructor with the CmsObject to wrap and the resource wrappers to use.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsFlexController.getCmsObject()
Returns the wrapped CmsObject.
|
static CmsObject |
CmsFlexController.getCmsObject(javax.servlet.ServletRequest req)
Returns the wrapped CmsObject form the provided request, or
null if the
request is not running inside OpenCms. |
Modifier and Type | Method and Description |
---|---|
CmsFlexCacheKey |
CmsFlexCache.getCachedKey(java.lang.String key,
CmsObject cms)
Returns the CmsFlexCacheKey data structure for a given
key (i.e. resource name).
|
java.util.Set<java.lang.String> |
CmsFlexCache.getCachedResources(CmsObject cms)
Returns a set of all cached resource names.
|
java.util.Set<java.lang.String> |
CmsFlexCache.getCachedVariations(java.lang.String key,
CmsObject cms)
Returns all variations in the cache for a given resource name.
|
Constructor and Description |
---|
CmsFlexController(CmsObject cms,
CmsFlexController base)
Creates a new controller form the old one, exchanging just the provided OpenCms user context.
|
CmsFlexController(CmsObject cms,
CmsResource resource,
CmsFlexCache cache,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
boolean streaming,
boolean top)
Default constructor.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsTemplateFinder.m_cms
The cms context.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsTemplateFinder.getCmsObject()
Gets the CMS context to use.
|
CmsObject |
CmsGwtService.getCmsObject()
Returns the current cms context.
|
Modifier and Type | Method and Description |
---|---|
static CmsListInfoBean |
CmsVfsService.addLockInfo(CmsObject cms,
CmsResource resource,
CmsListInfoBean resourceInfo)
Adds the lock state information to the resource info bean.
|
protected static CmsListInfoBean |
CmsVfsService.addPageInfo(CmsObject cms,
CmsResource resource,
CmsListInfoBean listInfo)
Gets page information of a resource and adds it to the given list info bean.
|
static java.util.List<CmsCategoryTreeEntry> |
CmsCoreService.buildCategoryTree(CmsObject cms,
java.util.List<CmsCategory> categories)
Builds the tree structure for the given categories.
|
void |
CmsGwtService.checkPermissions(CmsObject cms)
Checks the permissions of the current user to match the required security level.
|
java.lang.String |
CmsAliasHelper.exportAliasesAsCsv(CmsObject cms)
Returns the comma separated alias data.
|
static java.lang.String |
CmsGwtActionElement.exportCommon(CmsObject cms,
CmsCoreData coreData,
java.lang.String iconCssClassPrefix)
Returns the serialized data for the core provider wrapped into a script tag.
|
static java.lang.String |
CmsVfsService.formatDateTime(CmsObject cms,
long date)
Formats a date given the current user's workplace locale.
|
static CmsAvailabilityInfoBean |
CmsVfsService.getAvailabilityInfoStatic(CmsObject cms,
CmsResource res)
Gets the availability dialog information for the given resource.
|
static java.util.List<CmsCategoryTreeEntry> |
CmsCoreService.getCategoriesForSitePathStatic(CmsObject cms,
java.lang.String sitePath)
Helper method for getting the category beans for the given site path.
|
static java.util.List<CmsCategoryTreeEntry> |
CmsCoreService.getCategoriesForSitePathStatic(CmsObject cms,
java.lang.String sitePath,
java.lang.String localCategoryRepositoryPath)
Helper method for getting the category beans for the given site path.
|
static CmsRelationTargetListBean |
CmsDefaultResourceStatusProvider.getContainerpageRelationTargets(CmsObject cms,
CmsUUID source,
java.util.List<CmsUUID> additionalIds,
boolean cancelIfChanged)
Gets the relation targets for a resource.
|
static java.util.List<CmsContextMenuEntryBean> |
CmsCoreService.getContextMenuEntries(CmsObject cms,
CmsUUID structureId,
CmsCoreData.AdeContext context)
Returns the context menu entries for the given URI.
|
static java.lang.String |
CmsVfsService.getNoPreviewReason(CmsObject cms,
CmsResource resource)
Returns the no preview reason if there is any.
|
static CmsListInfoBean |
CmsVfsService.getPageInfo(CmsObject cms,
CmsResource res)
Gets page information of a resource.
|
static CmsListInfoBean |
CmsVfsService.getPageInfoWithLock(CmsObject cms,
CmsResource resource)
Returns a bean to display the
org.opencms.gwt.client.ui.CmsListItemWidget including the lock state. |
CmsResourceStatusBean |
CmsDefaultResourceStatusProvider.getResourceStatus(CmsObject cms,
CmsUUID structureId,
java.lang.String contentLocale,
boolean includeTargets,
CmsUUID detailContentId,
java.util.List<CmsUUID> additionalStructureIds)
Collects all the data to display in the resource status dialog.
|
static java.util.Map<CmsPrincipalBean,java.lang.String> |
CmsVfsService.getResponsiblesStatic(CmsObject cms,
java.lang.String vfsPath)
Gets the responsible principals for a resource with a given path.
|
protected com.google.gwt.user.server.rpc.SerializationPolicy |
CmsGwtServiceContext.getSerializationPolicy(CmsObject cms,
java.lang.String moduleBaseURL,
java.lang.String strongName)
Returns the serialization policy for the service.
|
protected java.util.List<CmsResourceStatusRelationBean> |
CmsDefaultResourceStatusProvider.getSiblings(CmsObject cms,
java.lang.String locale,
CmsResource resource)
Gets beans which represents the siblings of a resource.
|
protected java.util.List<CmsResourceStatusRelationBean> |
CmsDefaultResourceStatusProvider.getTargets(CmsObject cms,
java.lang.String locale,
CmsResource resource,
java.util.List<CmsUUID> additionalStructureIds)
Gets the list of relation targets for a resource.
|
static java.lang.String |
CmsCoreService.getVaadinWorkplaceLink(CmsObject cms,
CmsUUID structureId) |
static java.lang.String |
CmsCoreService.getVaadinWorkplaceLink(CmsObject cms,
java.lang.String resourceRootFolder) |
static CmsReturnLinkInfo |
CmsCoreService.internalGetLinkForReturnCode(CmsObject cms,
java.lang.String returnCode)
Implementation method for getting the link for a given return code.
|
protected boolean |
CmsPropertyEditorHelper.isWritable(CmsObject cms,
CmsResource resource)
Returns whether the current user has write permissions, the resource is lockable or already locked by the current user and is in the current project.
|
static java.lang.String |
CmsVfsService.prepareFileNameForEditor(CmsObject cms,
CmsResource res,
java.lang.String pathWithMacros)
Processes a file path, which may have macros in it, so it can be opened by the XML content editor.
|
void |
CmsVfsService.setCms(CmsObject cms)
Sets the current cms context.
|
void |
CmsAliasHelper.setCms(CmsObject cms)
Sets the CMS object.
|
void |
CmsGwtService.setCms(CmsObject cms)
Sets the current cms context.
|
void |
CmsDefaultResourceStatusProvider.sortOtherSiteRelations(CmsObject cms,
CmsResourceStatusBean resStatus)
Sorts relation beans from other sites by site order.
|
java.util.Map<java.lang.String,CmsValidationResult> |
CmsDefaultFormValidator.validate(CmsObject cms,
java.util.Map<java.lang.String,CmsValidationQuery> queries,
java.util.Map<java.lang.String,java.lang.String> values,
java.lang.String config) |
java.util.Map<java.lang.String,CmsValidationResult> |
I_CmsFormValidator.validate(CmsObject cms,
java.util.Map<java.lang.String,CmsValidationQuery> queries,
java.util.Map<java.lang.String,java.lang.String> values,
java.lang.String config)
Validates the form and returns the validation result.
|
CmsValidationResult |
I_CmsValidationService.validate(CmsObject cms,
java.lang.String value,
java.lang.String config)
Validates a single form field value.
|
CmsValidationResult |
CmsUrlNameValidationService.validate(CmsObject cms,
java.lang.String value,
java.lang.String config) |
Constructor and Description |
---|
CmsBrokenLinkRenderer(CmsObject cms)
Creates a new broken link renderer instance.
|
CmsClientUserSettingConverter(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a new instance.
|
CmsPropertyEditorHelper(CmsObject cms)
Creates a new instance.
|
CmsQuickLaunchProvider(CmsObject cms)
Creates a new instance.
|
CmsTemplateFinder(CmsObject cms)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected static CmsObject |
CmsVfsResourceBundle.m_cms
The CMS context to use.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Locale> |
CmsLocaleManager.getAvailableLocales(CmsObject cms,
CmsResource resource)
Returns an array of available locale names for the given resource.
|
java.util.List<java.util.Locale> |
CmsLocaleManager.getAvailableLocales(CmsObject cms,
java.lang.String resourceName)
Returns an array of available locale names for the given resource.
|
java.util.Locale |
CmsLocaleManager.getDefaultLocale(CmsObject cms,
CmsResource resource)
Returns the "the" default locale for the given resource.
|
java.util.Locale |
CmsLocaleManager.getDefaultLocale(CmsObject cms,
java.lang.String resourceName)
Returns the "the" default locale for the given resource.
|
java.util.List<java.util.Locale> |
CmsLocaleManager.getDefaultLocales(CmsObject cms,
CmsResource resource)
Returns an array of default locales for the given resource.
|
java.util.List<java.util.Locale> |
CmsLocaleManager.getDefaultLocales(CmsObject cms,
java.lang.String resourceName)
Returns an array of default locales for the given resource.
|
static java.util.Locale |
CmsLocaleManager.getMainLocale(CmsObject cms,
CmsResource res)
Utility method to get the primary locale for a given resource.
|
static java.lang.String |
CmsLocaleManager.getResourceEncoding(CmsObject cms,
CmsResource res)
Returns the content encoding set for the given resource.
|
void |
I_CmsLocaleHandler.initHandler(CmsObject cms)
Will be called during system startup.
|
void |
CmsDefaultLocaleHandler.initHandler(CmsObject cms) |
void |
CmsLocaleManager.initialize(CmsObject cms)
Initializes this locale manager with the OpenCms system configuration.
|
java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>> |
CmsVfsResourceBundle.I_Loader.loadData(CmsObject cms,
CmsVfsBundleParameters params)
Loads the data from the VFS.
|
java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>> |
CmsVfsBundleLoaderProperties.loadData(CmsObject cms,
CmsVfsBundleParameters params) |
static void |
CmsVfsResourceBundle.setCmsObject(CmsObject cms)
Sets the CMS context used by this class.
|
Constructor and Description |
---|
CmsVfsBundleManager(CmsObject cms)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsImport.m_cms
The cms context.
|
protected CmsObject |
A_CmsImport.m_cms
Deprecated.
The cms context to do the import operations with.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsImportVersion10.getCms()
Returns the cms object.
|
protected CmsObject |
CmsExport.getCms()
Returns the OpenCms context object this export was initialized with.
|
CmsObject |
CmsImportVersion7.getCms()
Deprecated.
Returns the cms object.
|
Modifier and Type | Method and Description |
---|---|
static CmsXmlPage |
CmsXmlPageConverter.convertToXmlPage(CmsObject cms,
byte[] content,
java.util.Locale locale,
java.lang.String encoding)
Deprecated.
Converts the contents of a page into an xml page.
|
void |
CmsImportExportManager.exportData(CmsObject cms,
I_CmsImportExportHandler handler,
I_CmsReport report)
Checks if the current user has permissions to export Cms data of a specified export handler,
and if so, triggers the handler to write the export.
|
void |
CmsVfsImportExportHandler.exportData(CmsObject cms,
I_CmsReport report) |
void |
I_CmsImportExportHandler.exportData(CmsObject cms,
I_CmsReport report)
Exports the data from the Cms.
|
void |
CmsVfsImportExportHandler.importData(CmsObject cms,
I_CmsReport report) |
void |
I_CmsImportExportHandler.importData(CmsObject cms,
I_CmsReport report)
Imports the data into the Cms.
|
void |
CmsImportVersion10.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters) |
void |
CmsImportExportManager.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters)
Checks if the current user has permissions to import data into the Cms,
and if so, creates a new import handler instance that imports the data.
|
void |
CmsImportVersion2.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
Deprecated.
|
void |
CmsImportVersion7.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters)
Deprecated.
|
void |
CmsImportVersion3.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
Deprecated.
|
void |
I_CmsImport.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters parameters)
Imports the data.
|
void |
CmsImportVersion4.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
Deprecated.
|
void |
CmsImportVersion5.importData(CmsObject cms,
I_CmsReport report,
CmsImportParameters params)
Deprecated.
|
void |
CmsVfsImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
Deprecated.
|
void |
CmsImportExportManager.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
Deprecated.
|
void |
I_CmsImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
Deprecated.
|
void |
CmsImportVersion10.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
CmsImportVersion2.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
CmsImportVersion7.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
CmsImportVersion3.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
I_CmsImport.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
CmsImportVersion4.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
void |
CmsImportVersion5.importResources(CmsObject cms,
java.lang.String importPath,
I_CmsReport report,
java.io.File importResource,
java.util.zip.ZipFile importZip,
org.dom4j.Document docXml)
Deprecated.
|
Constructor and Description |
---|
CmsExport(CmsObject cms,
I_CmsReport report)
Constructs a new export.
|
CmsImport(CmsObject cms,
I_CmsReport report)
Constructs a new import object which imports the resources from an OpenCms
export zip file or a folder in the "real" file system.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsJlanRepository.initializeCms(CmsObject cms) |
static void |
CmsJlanUsers.setAdminCms(CmsObject cms)
Sets the CMS context.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsJspTagNavigation.m_cms
The CmsObject for the current user.
|
protected CmsObject |
CmsJspTagSearch.m_cms
The CmsObject for the current user.
|
protected CmsObject |
CmsJspTagResourceLoad.m_cms
The CmsObject for the current user.
|
protected CmsObject |
CmsJspTagFormatter.m_cms
The CmsObject for the current user.
|
protected CmsObject |
CmsJspNavBuilder.m_cms
The current CMS context.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsJspBean.getCmsObject()
Returns the CmsObject from the wrapped request.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CmsJspTagHeadIncludes.collectHeadIncludesForContainerElement(CmsObject cms,
javax.servlet.ServletRequest req,
CmsJspStandardContextBean standardContext,
CmsContainerPageBean containerPage,
java.lang.String includeType,
java.util.Set<java.lang.String> headincludes,
java.util.Map<java.lang.String,java.lang.String> inline)
Collects the head includes for a given container element.
|
static java.lang.String |
CmsJspTagEdit.createResource(CmsObject cmsObject,
java.lang.String newLink,
java.util.Locale locale,
java.lang.String sitePath,
java.lang.String modelFileName,
java.lang.String mode,
java.lang.String postCreateHandler)
Creates a new resource.
|
static I_CmsFormatterBean |
CmsJspTagContainer.ensureValidFormatterSettings(CmsObject cms,
CmsContainerElementBean element,
CmsADEConfigData adeConfig,
java.lang.String containerName,
java.lang.String containerType,
int containerWidth,
boolean allowNested)
Ensures the appropriate formatter configuration ID is set in the element settings.
|
protected java.lang.String |
CmsJspTagContainer.getContainerData(CmsObject cms,
int maxElements,
boolean isDetailView,
boolean isDetailOnly)
Returns the serialized data of the given container.
|
static java.lang.String |
CmsJspNavBuilder.getDefaultFile(CmsObject cms,
java.lang.String folder)
Deprecated.
use
readDefaultFile(String) instead |
static CmsContainerPageBean |
CmsJspTagContainer.getDetailOnlyPage(CmsObject cms,
javax.servlet.ServletRequest req)
Returns the detail only container page bean or
null if none available. |
static I_CmsFormatterBean |
CmsJspTagContainer.getFormatterConfigurationForElement(CmsObject cms,
CmsContainerElementBean element,
CmsADEConfigData adeConfig,
java.lang.String containerName,
java.lang.String containerType,
int containerWidth,
boolean allowNested)
Returns the formatter configuration for the given element.
|
static java.util.List<CmsContainerElementBean> |
CmsJspTagContainer.getGroupContainerElements(CmsObject cms,
CmsContainerElementBean element,
javax.servlet.ServletRequest req,
java.lang.String containerType)
Returns the element group elements.
|
static java.util.List<CmsContainerElementBean> |
CmsJspTagContainer.getInheritedContainerElements(CmsObject cms,
CmsContainerElementBean element)
Reads elements from an inherited container.
|
static java.lang.String |
Messages.getLocalizedMessage(CmsMessageContainer container,
CmsObject cms)
Returns the String for the given CmsMessageContainer localized to the current user's locale
if available or to the default locale else.
|
static java.util.List<CmsJspNavElement> |
CmsJspNavBuilder.getNavigationForFolder(CmsObject cms,
java.lang.String folder)
Deprecated.
use
CmsJspNavBuilder.getNavigationForFolder(String) instead |
static java.util.List<CmsJspNavElement> |
CmsJspNavBuilder.getNavigationForFolder(CmsObject cms,
java.lang.String folder,
int level)
Deprecated.
|
static CmsJspNavElement |
CmsJspNavBuilder.getNavigationForResource(CmsObject cms,
java.lang.String resource)
Deprecated.
|
static java.util.List<CmsJspNavElement> |
CmsJspNavBuilder.getNavigationTreeForFolder(CmsObject cms,
java.lang.String folder,
int startlevel,
int endlevel)
Deprecated.
|
java.util.Set<CmsResource> |
CmsJspTagSearch.getPublishResources(CmsObject cms,
I_CmsContentLoadCollectorInfo info) |
static java.util.Set<CmsResource> |
CmsJspTagSearch.getPublishResourcesInternal(CmsObject cms,
I_CmsContentLoadCollectorInfo info) |
protected static java.lang.String |
CmsJspTagResourceLoad.getResourceName(CmsObject cms,
I_CmsResourceContainer contentContainer)
Returns the resource name currently processed.
|
static java.util.List<CmsJspNavElement> |
CmsJspNavBuilder.getSiteNavigation(CmsObject cms,
java.lang.String folder,
int endLevel)
Deprecated.
|
void |
CmsJspNavBuilder.init(CmsObject cms)
Initializes this bean.
|
static boolean |
CmsJspTagEdit.insertDirectEditStart(CmsObject cms,
javax.servlet.jsp.PageContext pageContext,
CmsResource resource,
boolean canCreate,
boolean canDelete,
java.lang.String createType,
java.lang.String creationSitemap,
java.lang.String postCreateHandler)
Inserts the opening direct edit tag.
|
static boolean |
CmsJspTagContainer.isDetailContainersPage(CmsObject cms,
java.lang.String detailContainersPage)
Checks whether the given resource path is of a detail containers page.
|
protected boolean |
CmsJspTagContainer.isEditable(CmsObject cms)
Returns if the container is editable by the current user.
|
static boolean |
CmsJspNavBuilder.isNavLevelFolder(CmsObject cms,
CmsResource resource)
Returns whether the given resource is a folder and is marked to be a navigation level folder.
|
protected static boolean |
CmsJspTagUserTracking.isResourceSubscribed(CmsObject cms,
java.lang.String fileName,
boolean subFolder,
CmsUser user,
java.util.List<CmsGroup> groups,
javax.servlet.http.HttpServletRequest req)
Returns if the given resource is subscribed to the user or groups.
|
protected static boolean |
CmsJspTagUserTracking.isResourceVisited(CmsObject cms,
java.lang.String fileName,
boolean subFolder,
CmsUser user,
javax.servlet.http.HttpServletRequest req)
Returns if the given resource was visited by the user.
|
protected void |
CmsJspTagContainer.printElementWrapperTagStart(boolean isOnline,
CmsObject cms,
CmsContainerElementBean elementBean,
CmsContainerPageBean page,
boolean isGroupContainer)
Prints the opening element wrapper tag for the container page editor if we are in Offline mode.
|
void |
CmsJspTagHeadIncludes.tagCssAction(CmsObject cms,
javax.servlet.ServletRequest req)
Action to include the CSS resources.
|
void |
CmsJspTagHeadIncludes.tagJSAction(CmsObject cms,
javax.servlet.ServletRequest req)
Action to include the java-script resources.
|
Constructor and Description |
---|
CmsJspNavBuilder(CmsObject cms)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsDecoratorConfiguration.getCms()
Returns the cms.
|
Modifier and Type | Method and Description |
---|---|
CmsDecorationBundle |
CmsDecorationDefintion.createDecorationBundle(CmsObject cms,
java.util.Locale locale)
Creates a CmsDecorationBundle of text decoration to be used by the decorator.
|
static java.util.List<java.lang.String> |
CmsDecorationDefintion.getDecorationDefinitionNames(CmsObject cms)
Returns all different decoration configuration names (like "abbr" or "acronym") that
are in the config file pointed to by module parameter "configfile".
|
void |
CmsDecoratorConfiguration.init(CmsObject cms,
java.lang.String configFile,
java.util.Locale locale) |
void |
I_CmsDecoratorConfiguration.init(CmsObject cms,
java.lang.String configFile,
java.util.Locale locale)
Initialises the configuration.
|
void |
CmsDecoratorConfiguration.setCms(CmsObject cms)
Sets the cms.
|
Constructor and Description |
---|
CmsDecorationMap(CmsObject cms,
CmsResource res,
CmsDecorationDefintion decDef)
Constructor, creates a new CmsDecorationMap.
|
CmsDecoratorConfiguration(CmsObject cms)
Constructor, creates a new, empty CmsDecoratorConfiguration.
|
CmsDecoratorConfiguration(CmsObject cms,
java.lang.String configFile)
Constructor, creates a new, CmsDecoratorConfiguration with a given config file.
|
CmsDecoratorConfiguration(CmsObject cms,
java.lang.String configFile,
java.util.Locale locale)
Constructor, creates a new, CmsDecoratorConfiguration with a given config file and locale.
|
CmsHtmlDecorator(CmsObject cms)
Constructor, creates a new, empty CmsHtmlDecorator.
|
CmsHtmlDecorator(CmsObject cms,
I_CmsDecoratorConfiguration config)
Constructor, creates a new CmsHtmlDecorator with a given configuration.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
A_CmsConfiguredHtmlParser.getCmsObject()
Returns the internal cms object for accessing core functionality.
|
Modifier and Type | Method and Description |
---|---|
void |
A_CmsConfiguredHtmlParser.setCmsObject(CmsObject cmsObject)
Sets the internal cms object for accessing core functionality.
|
Constructor and Description |
---|
CmsSearchResourceBean(CmsSearchResource searchResource,
CmsObject cms)
Constructor taking the search resource to wrap.
|
CmsSearchResultWrapper(I_CmsSearchControllerMain controller,
CmsSolrResultList resultList,
CmsSolrQuery query,
CmsObject cms,
CmsSearchException exception)
Constructor taking the main search form controller and the result list as normally returned.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsJspResourceLoadBean.m_cms
The OpenCms context of the current user.
|
protected CmsObject |
CmsDynamicFunctionBeanWrapper.m_cms
The internal CMS object to use.
|
protected CmsObject |
CmsJspContentLoadBean.m_cms
The OpenCms context of the current user.
|
protected CmsObject |
CmsJspStandardContextBean.m_cms
OpenCms user context.
|
protected CmsObject |
CmsJspNavigationBean.m_cms
The OpenCms user context.
|
Modifier and Type | Method and Description |
---|---|
static CmsObject |
CmsJspElFunctions.convertCmsObject(java.lang.Object input)
Returns an OpenCms user context created from an Object.
|
CmsObject |
CmsJspContentAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.
|
CmsObject |
CmsJspResourceLoadBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.
|
CmsObject |
CmsJspResourceAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.
|
CmsObject |
CmsJspContentLoadBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.
|
CmsObject |
CmsJspVfsAccessBean.getCmsObject()
Returns the OpenCms user context this bean was initialized with.
|
static CmsObject |
CmsJspElFunctions.getCmsObject(java.lang.Object input)
Returns the current OpenCms user context from the given page context.
|
CmsObject |
CmsJspContentAccessValueWrapper.obtainCmsObject()
Returns the wrapped OpenCms user context.
|
Modifier and Type | Method and Description |
---|---|
static CmsResource |
CmsJspElFunctions.convertResource(CmsObject cms,
java.lang.Object input)
Returns a resource created from an Object.
|
static java.util.List<CmsJspContentAccessBean> |
CmsJspContentLoadBean.convertResourceList(CmsObject cms,
java.util.List<CmsResource> resources)
Converts a list of
CmsResource objects to a list of CmsJspContentAccessBean objects,
using the current request context locale. |
static java.util.List<CmsJspContentAccessBean> |
CmsJspContentLoadBean.convertResourceList(CmsObject cms,
java.util.Locale locale,
java.util.List<CmsResource> resources)
Converts a list of
CmsResource objects to a list of CmsJspContentAccessBean objects,
using the given locale. |
static CmsJspVfsAccessBean |
CmsJspVfsAccessBean.create(CmsObject cms)
Creates a new instance of the JSP VFS access utility bean.
|
static CmsJspContentAccessValueWrapper |
CmsJspContentAccessValueWrapper.createWrapper(CmsObject cms,
I_CmsXmlContentValue value)
Factory method to create a new XML content value wrapper.
|
void |
CmsJspResourceAccessBean.init(CmsObject cms,
CmsResource resource)
Initialize this instance.
|
void |
CmsJspResourceLoadBean.init(CmsObject cms,
java.util.List<CmsResource> resources)
Initialize this instance.
|
void |
CmsJspContentAccessBean.init(CmsObject cms,
java.util.Locale locale,
I_CmsXmlDocument content,
CmsResource resource)
Initialize this instance.
|
void |
CmsJspContentLoadBean.init(CmsObject cms,
java.util.Locale locale,
java.util.List<CmsResource> content)
Initialize this instance.
|
void |
CmsJspStandardContextBean.CmsContainerElementWrapper.initResource(CmsObject cms) |
void |
CmsJspStandardContextBean.CmsContainerElementWrapper.initSettings(CmsObject cms,
I_CmsFormatterBean formatterBean) |
boolean |
CmsJspStandardContextBean.CmsContainerElementWrapper.isGroupContainer(CmsObject cms) |
boolean |
CmsJspStandardContextBean.CmsContainerElementWrapper.isInheritedContainer(CmsObject cms) |
void |
CmsJspStandardContextBean.updateCmsObject(CmsObject cms)
Updates the internally stored OpenCms user context.
|
Constructor and Description |
---|
CmsDynamicFunctionBeanWrapper(CmsObject cms,
CmsDynamicFunctionBean functionBean)
Creates a new wrapper instance.
|
CmsDynamicFunctionFormatWrapper(CmsObject cms,
CmsDynamicFunctionBean.Format format)
Creates a new wrapper instance for a given format.
|
CmsErrorBean(CmsObject cms,
java.lang.Throwable throwable)
Constructs a new error bean.
|
CmsJspContentAccessBean(CmsObject cms,
CmsResource resource)
Creates a content access bean based on a Resource, using the current request context locale.
|
CmsJspContentAccessBean(CmsObject cms,
java.util.Locale locale,
CmsResource resource)
Creates a content access bean based on a Resource.
|
CmsJspContentAccessBean(CmsObject cms,
java.util.Locale locale,
I_CmsXmlDocument content)
Creates a content access bean based on an XML content object.
|
CmsJspContentLoadBean(CmsObject cms,
java.util.List<CmsResource> content)
Creates a new context bean using the OpenCms context of the current user.
|
CmsJspContentLoadBean(CmsObject cms,
java.util.Locale locale,
java.util.List<CmsResource> content)
Creates a new context bean using the OpenCms context of the current user with the given locale.
|
CmsJspLinkMacroResolver(CmsObject cms,
java.lang.String jspRootPath,
boolean forRfs)
Default constructor.
|
CmsJspNavigationBean(CmsObject cms,
CmsJspTagNavigation.Type type,
int startLevel,
int endLevel,
java.lang.String resource,
java.lang.String param)
Base constructor.
|
CmsJspResourceAccessBean(CmsObject cms,
CmsResource resource)
Creates a content access bean based on a Resource.
|
CmsJspResourceLoadBean(CmsObject cms,
java.util.List<CmsResource> resources)
Creates a new context bean using the OpenCms context of the current user.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CmsPointerLoader.dump(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsRedirectLoader.dump(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsJspLoader.dump(CmsObject cms,
CmsResource file,
java.lang.String element,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsMacroFormatterLoader.dump(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale selectedLocale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
I_CmsResourceLoader.dump(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Dumps the processed content of the the requested file (and it's sub-elements) to a byte array.
|
byte[] |
CmsDumpLoader.dump(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
java.lang.String |
I_CmsResourceStringDumpLoader.dumpAsString(CmsObject cms,
CmsResource resource,
java.lang.String element,
java.util.Locale locale,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
Dumps the processed content of the the requested file (and it's sub-elements) to a String.
|
byte[] |
CmsPointerLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsRedirectLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsJspLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
CmsMacroFormatterLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
byte[] |
I_CmsResourceLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Static exports the contents of the requested file and it's sub-elements.
|
byte[] |
CmsDumpLoader.export(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
java.util.Map<java.lang.String,CmsDefaultSet<java.lang.String>> |
CmsResourceManager.getAllowedContextMap(CmsObject cms)
Gets the map of forbidden contexts for resource types.
|
CmsTemplateContextInfo |
CmsTemplateContextManager.getContextInfoBean(CmsObject cms,
javax.servlet.http.HttpServletRequest request)
Creates a bean with information about the current template context, for use in the client-side code.
|
protected CmsFlexController |
CmsRedirectLoader.getController(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
boolean streaming,
boolean top)
Delivers a Flex controller, either by creating a new one, or by re-using an existing one.
|
protected CmsFlexController |
CmsJspLoader.getController(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
boolean streaming,
boolean top)
Delivers a Flex controller, either by creating a new one, or by re-using an existing one.
|
java.lang.String |
I_CmsFileNameGenerator.getCopyFileName(CmsObject cms,
java.lang.String parentFolder,
java.lang.String baseName)
Returns a unique copy filename for the given base name and the parent folder.
|
java.lang.String |
CmsDefaultFileNameGenerator.getCopyFileName(CmsObject cms,
java.lang.String parentFolder,
java.lang.String baseName) |
java.lang.String |
I_CmsTemplateContextProvider.getEditorStyleSheet(CmsObject cms,
java.lang.String editedResourcePath)
Returns the style sheet to be used for the editor.
|
java.lang.String |
CmsDefaultTemplateContextProvider.getEditorStyleSheet(CmsObject cms,
java.lang.String editedResourcePath) |
java.lang.String |
I_CmsFileNameGenerator.getNewFileName(CmsObject cms,
java.lang.String namePattern,
int defaultDigits)
Generates a new file name based on the provided OpenCms user context and name pattern.
|
java.lang.String |
CmsDefaultFileNameGenerator.getNewFileName(CmsObject cms,
java.lang.String namePattern,
int defaultDigits) |
java.lang.String |
I_CmsFileNameGenerator.getNewFileName(CmsObject cms,
java.lang.String namePattern,
int defaultDigits,
boolean explorerMode)
Generates a new file name based on the provided OpenCms user context and name pattern.
|
java.lang.String |
CmsDefaultFileNameGenerator.getNewFileName(CmsObject cms,
java.lang.String namePattern,
int defaultDigits,
boolean explorerMode)
Returns a new resource name based on the provided OpenCms user context and name pattern.
|
void |
CmsJspLoader.getReferencingStrongLinks(CmsObject cms,
CmsResource resource,
java.util.Set<java.lang.String> referencingPaths)
Returns a set of root paths of files that are including the given resource using the 'link.strong' macro.
|
protected CmsFile |
CmsImageLoader.getScaledImage(CmsObject cms,
CmsResource resource,
CmsImageScaler scaler)
Returns a scaled version of the given OpenCms VFS image resource.
|
CmsTemplateContext |
I_CmsTemplateContextProvider.getTemplateContext(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
CmsResource resource)
Determines the template context from the current CMS context, request, and resource.
|
CmsTemplateContext |
CmsDefaultTemplateContextProvider.getTemplateContext(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
CmsResource resource) |
CmsTemplateContext |
CmsTemplateContextManager.getTemplateContext(java.lang.String providerName,
CmsObject cms,
javax.servlet.http.HttpServletRequest request,
CmsResource resource)
Gets the template context to use.
|
I_CmsTemplateContextProvider |
CmsTemplateContextManager.getTemplateContextProvider(CmsObject cms,
java.lang.String path)
Gets the template context provider for a given path.
|
protected CmsTemplateLoaderFacade |
CmsSeoFileLoader.getTemplateLoaderFacade(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req) |
CmsTemplateLoaderFacade |
CmsResourceManager.getTemplateLoaderFacade(CmsObject cms,
CmsResource resource,
java.lang.String templateProperty)
Returns a template loader facade for the given file.
|
CmsTemplateLoaderFacade |
CmsResourceManager.getTemplateLoaderFacade(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
CmsResource resource,
java.lang.String templateProperty)
Returns a template loader facade for the given file.
|
java.lang.String |
I_CmsFileNameGenerator.getUniqueFileName(CmsObject cms,
java.lang.String parentFolder,
java.lang.String baseName)
Returns a unique filename for the given base name and the parent folder.
|
java.lang.String |
CmsDefaultFileNameGenerator.getUniqueFileName(CmsObject cms,
java.lang.String parentFolder,
java.lang.String baseName) |
void |
CmsResourceManager.initialize(CmsObject cms)
Initializes all additional resource types stored in the modules.
|
void |
I_CmsTemplateContextProvider.initialize(CmsObject cms,
java.lang.String config)
Initializes the context provider using a CMS object.
|
void |
CmsDefaultTemplateContextProvider.initialize(CmsObject cms,
java.lang.String config) |
void |
CmsImageLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsPointerLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsRedirectLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsJspLoader.load(CmsObject cms,
CmsResource file,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsMacroFormatterLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
I_CmsResourceLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Basic top-page processing method for a I_CmsResourceLoader,
this method is called if the page is called as a sub-element
on a page not already loaded with a I_CmsResourceLoader.
|
void |
CmsDumpLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsXmlContainerPageLoader.load(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
void |
CmsResourceManager.loadResource(CmsObject cms,
CmsResource resource,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Loads the requested resource and writes the contents to the response stream.
|
java.lang.String |
I_CmsTemplateContextProvider.readCommonProperty(CmsObject cms,
java.lang.String propertyName,
java.lang.String fallbackValue)
Gets the value which should be used instead of a property which was read from the template resource.
|
java.lang.String |
CmsDefaultTemplateContextProvider.readCommonProperty(CmsObject cms,
java.lang.String propertyName,
java.lang.String fallbackValue) |
java.lang.String |
CmsTemplateContextManager.readPropertyFromTemplate(CmsObject cms,
CmsResource res,
java.lang.String propertyName,
java.lang.String fallbackValue)
Utility method which either reads a property from the template used for a specific resource, or from the template context provider used for the resource if available.
|
void |
CmsPointerLoader.service(CmsObject cms,
CmsResource file,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
void |
CmsRedirectLoader.service(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
void |
CmsJspLoader.service(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
void |
CmsMacroFormatterLoader.service(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
void |
I_CmsResourceLoader.service(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
Does the job of including the requested resource,
this method is called directly if the element is
called as a sub-element from another I_CmsResourceLoader.
|
void |
CmsDumpLoader.service(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res) |
protected void |
CmsJspLoader.showSource(CmsObject cms,
CmsResource file,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Delivers the plain uninterpreted resource with escaped XML.
|
protected I_CmsXmlDocument |
CmsSeoFileLoader.unmarshalXmlDocument(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req) |
protected I_CmsXmlDocument |
CmsXmlPageLoader.unmarshalXmlDocument(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req) |
protected I_CmsXmlDocument |
CmsXmlContentLoader.unmarshalXmlDocument(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req) |
protected CmsXmlContainerPage |
CmsXmlContainerPageLoader.unmarshalXmlDocument(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req) |
Constructor and Description |
---|
CmsImageScaler(CmsObject cms,
CmsResource res)
Creates a new image scaler by reading the property
from the given resource. |
CmsTemplateContextManager(CmsObject cms)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static CmsLockActionRecord |
CmsLockUtil.ensureLock(CmsObject cms,
CmsResource resource)
Static helper method to lock a resource.
|
boolean |
CmsLock.isDirectlyOwnedInProjectBy(CmsObject cms)
Returns
true if this is an exclusive, temporary exclusive, or
directly inherited lock, and the current user is the owner of this lock,
checking also the project of the lock. |
Constructor and Description |
---|
CmsVfsDataSource(CmsObject cms,
CmsResource resource)
Creates a new data source for the given VFS resource.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsShell.m_cms
The OpenCms context object.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsUIServlet.getCmsObject()
Returns the current cms context.
|
protected CmsObject |
OpenCmsSolrHandler.getCmsObject(javax.servlet.http.HttpServletRequest req)
Returns the CMS object.
|
protected CmsObject |
OpenCmsSpellcheckHandler.getCmsObject(javax.servlet.http.HttpServletRequest req)
Returns the CMS object.
|
static CmsObject |
OpenCms.initCmsObject(CmsObject cms)
Returns an independent copy of the provided CmsObject.
|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject cms)
Returns an independent copy of the provided CmsObject.
|
static CmsObject |
OpenCms.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
static CmsObject |
OpenCms.initCmsObject(java.lang.String user)
Returns an initialized CmsObject (OpenCms user context) with the user initialized as provided,
with the "Online" project selected and "/" set as the current site root.
|
protected CmsObject |
OpenCmsCore.initCmsObject(java.lang.String user)
Returns an initialized CmsObject with the user initialized as provided,
with the "Online" project selected and "/" set as the current site root.
|
protected CmsObject |
OpenCmsCore.initCmsObjectFromSession(javax.servlet.http.HttpServletRequest req)
Initializes a new cms object from the session data of the request.
|
protected CmsObject |
A_CmsAuthorizationHandler.initCmsObjectFromSession(javax.servlet.http.HttpServletRequest request)
Initializes a new cms object from the session data of the request.
|
protected CmsObject |
A_CmsAuthorizationHandler.registerSession(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Registers the current session with OpenCms.
|
protected CmsObject |
OpenCmsCore.updateContext(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
This method updates the request context information.
|
Modifier and Type | Method and Description |
---|---|
static CmsObject |
OpenCms.initCmsObject(CmsObject cms)
Returns an independent copy of the provided CmsObject.
|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject cms)
Returns an independent copy of the provided CmsObject.
|
static CmsObject |
OpenCms.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
protected CmsObject |
OpenCmsCore.initCmsObject(CmsObject adminCms,
CmsContextInfo contextInfo)
Returns an initialized CmsObject with the user and context initialized as provided.
|
static CmsResource |
OpenCms.initResource(CmsObject cms,
java.lang.String resourceName,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Reads the requested resource from the OpenCms VFS,
and in case a directory name is requested, the default files of the
directory will be looked up and the first match is returned.
|
protected CmsResource |
OpenCmsCore.initResource(CmsObject cms,
java.lang.String resourceName,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Reads the requested resource from the OpenCms VFS,
in case a directory name is requested, the default files of the
directory will be looked up and the first match is returned.
|
CmsResource |
CmsAliasResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
CmsResource |
CmsPermalinkResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
CmsResource |
I_CmsResourceInit.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Possibility to modify or change the CmsFile with the CmsObject.
|
void |
I_CmsShellCommands.initShellCmsObject(CmsObject cms,
CmsShell shell)
Provides access to the shell CmsObject and the shell itself.
|
void |
CmsSessionManager.killSession(CmsObject cms,
CmsUser user)
Kills all sessions for the given user.
|
void |
CmsSessionManager.killSession(CmsObject cms,
CmsUUID sessionid)
Destroys a session given the session id.
|
protected CmsObject |
A_CmsAuthorizationHandler.registerSession(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Registers the current session with OpenCms.
|
void |
CmsSessionManager.sendBroadcast(CmsObject cms,
java.lang.String message)
Sends a broadcast to all sessions of all currently authenticated users.
|
void |
CmsSessionManager.sendBroadcast(CmsObject cms,
java.lang.String message,
java.lang.String sessionId)
Sends a broadcast to the specified user session.
|
void |
CmsUIServlet.setCms(CmsObject cms)
Sets the current cms context.
|
void |
CmsSessionManager.switchUser(CmsObject cms,
javax.servlet.http.HttpServletRequest req,
CmsUser user)
Switches the current user to the given user.
|
protected CmsObject |
OpenCmsCore.updateContext(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
This method updates the request context information.
|
void |
CmsSessionManager.updateSessionInfo(CmsObject cms,
javax.servlet.http.HttpServletRequest req)
Updates the the OpenCms session data used for quick authentication of users.
|
void |
CmsSessionManager.updateSessionInfo(CmsObject cms,
javax.servlet.http.HttpSession session)
Updates the the OpenCms session data used for quick authentication of users.
|
void |
CmsSessionManager.updateSessionInfos(CmsObject cms)
Updates all session info objects, so that invalid projects
are replaced by the Online project.
|
Constructor and Description |
---|
CmsShell(CmsObject cms,
java.lang.String prompt,
I_CmsShellCommands additionalShellCommands,
java.io.PrintStream out,
java.io.PrintStream err)
Creates a new CmsShell.
|
Modifier and Type | Method and Description |
---|---|
static void |
CmsModule.addCalculatedModuleResources(java.util.List<CmsResource> result,
CmsObject cms,
java.util.List<CmsResource> moduleResources,
java.util.List<java.lang.String> excludeResources)
Determines the resources that are:
accessible with the provided
CmsObject ,
part of the moduleResources (or in a folder of these resources) and
not contained in excludedResources (or a folder of these resources). |
void |
CmsModuleManager.addModule(CmsObject cms,
CmsModule module)
Adds a new module to the module manager.
|
static java.util.List<java.lang.String> |
CmsModule.calculateModuleResourceNames(CmsObject cms,
CmsModule module)
Calculates the resources belonging to the module, taking excluded resources and readability of resources into account,
and returns site paths of the module resources.
|
static java.util.List<CmsResource> |
CmsModule.calculateModuleResources(CmsObject cms,
CmsModule module)
Calculates and returns the resources belonging to the module, taking excluded resources and readability of resources into account.
|
void |
CmsModule.checkResources(CmsObject cms)
Checks if all resources of the module are present.
|
void |
CmsModuleManager.deleteModule(CmsObject cms,
java.lang.String moduleName,
boolean replace,
boolean preserveLibs,
I_CmsReport report)
Deletes a module from the configuration.
|
void |
CmsModuleManager.deleteModule(CmsObject cms,
java.lang.String moduleName,
boolean replace,
I_CmsReport report)
Deletes a module from the configuration.
|
void |
CmsModuleImportExportHandler.exportData(CmsObject cms,
I_CmsReport report) |
static CmsModuleImportExportHandler |
CmsModuleImportExportHandler.getExportHandler(CmsObject cms,
CmsModule module,
java.lang.String handlerDescription)
Gets the module export handler containing all resources used in the module export.
|
void |
CmsModuleImportExportHandler.importData(CmsObject cms,
I_CmsReport report) |
void |
CmsModuleImportExportHandler.importData(CmsObject cms,
java.lang.String importFile,
java.lang.String importPath,
I_CmsReport report)
Deprecated.
|
protected void |
CmsModule.initialize(CmsObject cms)
Initializes this module, also freezing the module configuration.
|
void |
CmsModuleImportExportRepository.initialize(CmsObject adminCms)
Initializes the CMS context.
|
void |
CmsModuleManager.initialize(CmsObject cms,
CmsConfigurationManager configurationManager)
Initializes all module instance classes managed in this module manager.
|
void |
A_CmsModuleAction.initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module) |
void |
I_CmsModuleAction.initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module)
Will be called by the OpenCms system during server startup.
|
void |
A_CmsModuleAction.publishProject(CmsObject cms,
CmsPublishList publishList,
int publishTag,
I_CmsReport report) |
void |
I_CmsModuleAction.publishProject(CmsObject cms,
CmsPublishList publishList,
int publishTag,
I_CmsReport report)
Will be called during a the publish process after the resources have been published,
but before the publish event is fired.
|
void |
CmsModuleManager.updateModule(CmsObject cms,
CmsModule module)
Updates a already configured module with new values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CmsMemoryMonitor.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
Modifier and Type | Method and Description |
---|---|
void |
I_CmsNewsletter.addAttachment(CmsObject cms,
CmsResource resource)
Adds a OpenCms resource as an attachment to the newsletter.
|
void |
CmsNewsletter.addAttachment(CmsObject cms,
CmsResource resource) |
void |
CmsNewsletterDistributor.distribute(CmsObject cms,
java.util.List<I_CmsNewsletterRecipient> recipients,
I_CmsNewsletter newsletter)
Sends a
I_CmsNewsletter to a list of I_CmsNewsletterRecipient objects. |
org.apache.commons.mail.Email |
I_CmsNewsletter.getEmail(CmsObject cms,
I_CmsNewsletterRecipient recipient)
Returns the newsletter as an e-mail to be sent.
|
org.apache.commons.mail.Email |
CmsNewsletter.getEmail(CmsObject cms,
I_CmsNewsletterRecipient recipient)
Returns the e-mail for the newsletter.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
A_CmsNotification.getCmsObject()
Returns the CmsObject.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CmsContentNotificationJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
Constructor and Description |
---|
A_CmsNotification(CmsObject cms,
CmsUser receiver)
Creates a new A_CmsNotification.
|
CmsNotificationCandidates(CmsObject cms)
Collects all resources that will expire in short time, or will become valid, or are not modified since a long time.
|
CmsPublishNotification(CmsObject cms,
CmsUser receiver,
I_CmsReport report)
Creates a new CmsPublishNotification.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CmsPdfConverter.convertXhtmlToPdf(CmsObject cms,
byte[] xhtmlData,
java.lang.String uri)
Converts XHTML data to a PDF document.
|
static byte[] |
CmsPdfFormatterUtils.executeJsp(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
CmsResource jsp,
CmsResource content)
Executes a JSP with a given content as input and returns the output of the JSP.
|
protected void |
CmsPdfResourceHandler.handlePdfLink(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String uri)
Handles a link for generating a PDF.
|
CmsResource |
CmsPdfResourceHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Constructor and Description |
---|
CmsPdfLink(CmsObject cms,
CmsResource formatter,
CmsResource content)
Creates a new PDF link object based on the formatter and content resources and the locale of the current CMS context.
|
CmsPdfLink(CmsObject cms,
java.lang.String link)
Creates a PDF link object by parsing it from a link string.
|
CmsPdfThumbnailLink(CmsObject cms,
CmsResource pdfResource,
int width,
int height,
java.lang.String format)
Creates a new thumbnail link for the given resource and options.
|
CmsPdfThumbnailLink(CmsObject cms,
java.lang.String link,
java.lang.String options)
Parses a thumbnail link object from the given link path and options.
|
CmsPdfUserAgent(CmsObject cms)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsPublishJobInfoBean.getCmsObject()
Returns the cms object, will be set to
null after publishing. |
Modifier and Type | Method and Description |
---|---|
void |
CmsPublishManager.abortPublishJob(CmsObject cms,
CmsPublishJobEnqueued publishJob,
boolean removeJob)
Aborts the given publish job.
|
void |
CmsPublishEngine.enqueuePublishJob(CmsObject cms,
CmsPublishList publishList,
I_CmsReport report)
Enqueues a new publish job with the given information in publish queue.
|
CmsPublishList |
CmsPublishManager.getPublishList(CmsObject cms)
Returns a publish list with all new/changed/deleted resources of the current (offline)
project that actually get published.
|
CmsPublishList |
CmsPublishManager.getPublishList(CmsObject cms,
CmsResource directPublishResource,
boolean directPublishSiblings)
Returns a publish list with all new/changed/deleted resources of the current (offline)
project that actually get published for a direct publish of a single resource.
|
CmsPublishList |
CmsPublishManager.getPublishList(CmsObject cms,
java.util.List<CmsResource> directPublishResources,
boolean directPublishSiblings)
Returns a publish list with all new/changed/deleted resources of the current (offline)
project that actually get published for a direct publish of a List of resources.
|
CmsPublishList |
CmsPublishManager.getPublishList(CmsObject cms,
java.util.List<CmsResource> directPublishResources,
boolean directPublishSiblings,
boolean publishSubResources)
Returns a publish list with all new/changed/deleted resources of the current (offline)
project that actually get published for a direct publish of a List of resources.
|
CmsPublishList |
CmsPublishManager.getPublishListAll(CmsObject cms,
java.util.List<CmsResource> directPublishResources,
boolean directPublishSiblings,
boolean isUserPublishList)
Returns a publish list with all the given resources, filtered only by state.
|
CmsPublishList |
CmsPublishManager.getRelatedResourcesToPublish(CmsObject cms,
CmsPublishList publishList)
Returns a new publish list that contains the unpublished resources related
to all resources in the given publish list, the related resources exclude
all resources in the given publish list and also locked (by other users) resources.
|
java.lang.String |
CmsPublishJobBase.getUserName(CmsObject cms)
Returns the name of the user who initialized this publish job.
|
java.util.List<CmsResource> |
CmsPublishManager.getUsersPubList(CmsObject cms)
Returns the current user's publish list.
|
void |
CmsPublishManager.initialize(CmsObject cms)
Initializes the publish manager and the publish engine finally.
|
protected void |
CmsPublishQueue.initialize(CmsObject adminCms,
boolean revive)
Initializes the internal FIFO queue with publish jobs from the database.
|
protected void |
CmsPublishEngine.initialize(CmsObject adminCms,
boolean publishQueuePersistance,
int publishQueueShutdowntime)
Initializes the publish engine.
|
CmsPublishList |
CmsPublishManager.mergePublishLists(CmsObject cms,
CmsPublishList pubList1,
CmsPublishList pubList2)
Returns a new publish list that contains all resources of both given publish lists.
|
CmsUUID |
CmsPublishManager.publishProject(CmsObject cms)
Publishes the current project, printing messages to a shell report.
|
CmsUUID |
CmsPublishManager.publishProject(CmsObject cms,
I_CmsReport report)
Publishes the current project.
|
CmsUUID |
CmsPublishManager.publishProject(CmsObject cms,
I_CmsReport report,
CmsPublishList publishList)
Publishes the resources of a specified publish list.
|
CmsUUID |
CmsPublishManager.publishProject(CmsObject cms,
I_CmsReport report,
CmsResource directPublishResource,
boolean directPublishSiblings)
Direct publishes a specified resource.
|
CmsUUID |
CmsPublishManager.publishResource(CmsObject cms,
java.lang.String resourcename)
Publishes a single resource, printing messages to a shell report.
|
CmsUUID |
CmsPublishManager.publishResource(CmsObject cms,
java.lang.String resourcename,
boolean publishSiblings,
I_CmsReport report)
Publishes a single resource.
|
void |
CmsPublishManager.removeResourceFromUsersPubList(CmsObject cms,
java.util.Collection<CmsUUID> structureIds)
Removes the given resource to the given user's publish list.
|
void |
CmsPublishJobInfoBean.revive(CmsObject adminCms,
CmsPublishList publishList)
Revives this publish job.
|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsPublishManager.validateRelations(CmsObject cms,
CmsPublishList publishList,
I_CmsReport report)
Validates the relations for the given resources.
|
Constructor and Description |
---|
CmsPublishJobInfoBean(CmsObject cms,
CmsPublishList publishList,
I_CmsReport report)
The Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsCategoryService.addResourceToCategory(CmsObject cms,
java.lang.String resourceName,
CmsCategory category)
Adds a resource identified by the given resource name to the given category.
|
void |
CmsCategoryService.addResourceToCategory(CmsObject cms,
java.lang.String resourceName,
java.lang.String categoryPath)
Adds a resource identified by the given resource name to the category
identified by the given category path.
|
void |
CmsLink.checkConsistency(CmsObject cms)
Checks and updates the structure id or the path of the target.
|
static boolean |
CmsExternalLinksValidator.checkUrl(CmsObject cms,
java.lang.String check)
Checks if the given url is valid.
|
void |
CmsCategoryService.clearCategoriesForResource(CmsObject cms,
java.lang.String resourcePath)
Removes the given resource from all categories.
|
CmsCategory |
CmsCategoryService.createCategory(CmsObject cms,
CmsCategory parent,
java.lang.String name,
java.lang.String title,
java.lang.String description,
java.lang.String referencePath)
Creates a new category.
|
void |
CmsCategoryService.deleteCategory(CmsObject cms,
java.lang.String categoryPath,
java.lang.String referencePath)
Deletes the category identified by the given path.
|
CmsCategory |
CmsCategoryService.getCategory(CmsObject cms,
CmsResource resource)
Creates a category from the given resource.
|
CmsCategory |
CmsCategoryService.getCategory(CmsObject cms,
java.lang.String categoryRootPath)
Creates a category from the given category root path.
|
java.util.List<java.lang.String> |
CmsCategoryService.getCategoryRepositories(CmsObject cms,
java.lang.String referencePath)
Returns all category repositories for the given reference path.
|
java.lang.String |
CmsLink.getLink(CmsObject cms)
Returns the processed link.
|
java.lang.String |
CmsLink.getLink(CmsObject cms,
boolean processEditorLinks)
Deprecated.
use
CmsLink.getLink(CmsObject) instead,
the process editor option is set using the OpenCms request context attributes |
java.lang.String |
CmsCategoryService.getRepositoryBaseFolderName(CmsObject cms)
Returns the category repositories base folder name.
|
CmsResource |
CmsRelation.getSource(CmsObject cms,
CmsResourceFilter filter)
Returns the source resource when possible to read with the given filter.
|
CmsResource |
CmsRelation.getTarget(CmsObject cms,
CmsResourceFilter filter)
Returns the target resource when possible to read with the given filter.
|
java.lang.String |
CmsExternalLinksValidator.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters)
This method is called by the cron scheduler.
|
java.lang.String |
CmsInternalRelationsValidationJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
void |
CmsCategoryService.moveCategory(CmsObject cms,
java.lang.String oldCatPath,
java.lang.String newCatPath,
java.lang.String referencePath)
Renames/Moves a category from the old path to the new one.
|
java.util.List<CmsLink> |
I_CmsLinkParseable.parseLinks(CmsObject cms,
CmsFile file)
Returns a list of all links from the specified file.
|
java.util.List<CmsCategory> |
CmsCategoryService.readCategories(CmsObject cms,
java.lang.String parentCategoryPath,
boolean includeSubCats,
java.lang.String referencePath)
Returns all categories given some search parameters.
|
java.util.List<CmsCategory> |
CmsCategoryService.readCategoriesForRepositories(CmsObject cms,
java.lang.String parentCategoryPath,
boolean includeSubCats,
java.util.List<java.lang.String> repositories)
Returns all categories given some search parameters.
|
CmsCategory |
CmsCategoryService.readCategory(CmsObject cms,
java.lang.String categoryPath,
java.lang.String referencePath)
Reads all categories identified by the given category path for the given reference path.
|
java.util.List<CmsResource> |
CmsCategoryService.readCategoryResources(CmsObject cms,
java.lang.String categoryPath,
boolean recursive,
java.lang.String referencePath)
Reads the resources for a category identified by the given category path.
|
java.util.List<CmsResource> |
CmsCategoryService.readCategoryResources(CmsObject cms,
java.lang.String categoryPath,
boolean recursive,
java.lang.String referencePath,
CmsResourceFilter resFilter)
Reads the resources for a category identified by the given category path.
|
java.util.List<CmsCategory> |
CmsCategoryService.readResourceCategories(CmsObject cms,
CmsResource resource)
Reads the categories for a resource.
|
java.util.List<CmsCategory> |
CmsCategoryService.readResourceCategories(CmsObject cms,
java.lang.String resourceName)
Reads the categories for a resource identified by the given resource name.
|
void |
CmsCategoryService.removeResourceFromCategory(CmsObject cms,
java.lang.String resourceName,
CmsCategory category)
Removes a resource identified by the given resource name from the given category.
|
void |
CmsCategoryService.removeResourceFromCategory(CmsObject cms,
java.lang.String resourceName,
java.lang.String categoryPath)
Removes a resource identified by the given resource name from the category
identified by the given category path.
|
void |
CmsCategoryService.repairRelations(CmsObject cms,
CmsResource resource)
Repairs broken category relations.
|
void |
CmsCategoryService.repairRelations(CmsObject cms,
java.lang.String resourceName)
Repairs broken category relations.
|
void |
CmsExternalLinksValidator.validateLinks(CmsObject cms)
Validate all links.
|
Constructor and Description |
---|
CmsInternalLinksValidator(CmsObject cms,
java.util.List<java.lang.String> resourceNames)
Creates a new helper object.
|
CmsRelationDeleteValidator(CmsObject cms,
java.util.List<java.lang.String> resourceNames,
boolean includeSiblings)
Creates a new helper object.
|
CmsRelationPublishValidator(CmsObject cms,
CmsPublishList publishList)
Creates a new helper object.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
A_CmsReportThread.getCms()
Returns the OpenCms context object this Thread is initialized with.
|
Constructor and Description |
---|
A_CmsReportThread(CmsObject cms,
java.lang.String name)
Constructs a new report Thread with the given name.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsRepositoryManager.initializeCms(CmsObject cms)
Initializes repositories using an admin CMS object.
|
void |
CmsRepository.initializeCms(CmsObject cms) |
void |
I_CmsRepository.initializeCms(CmsObject cms)
Initializes this repository with an admin CMS object.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsScheduleManager.initialize(CmsObject adminCms)
Initializes the OpenCms scheduler.
|
java.lang.String |
I_CmsScheduledJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters)
This method will be called when this scheduled job is executed.
|
void |
CmsScheduleManager.scheduleJob(CmsObject cms,
CmsScheduledJobInfo jobInfo)
Adds a new job to the scheduler.
|
CmsScheduledJobInfo |
CmsScheduleManager.unscheduleJob(CmsObject cms,
java.lang.String jobId)
Removes a currently scheduled job from the scheduler.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
CmsSearchIndexOptimizeJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsPublishScheduledJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsUnsubscribeDeletedResourcesJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsHistoryClearJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsStaticExportJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsCreateImageSizeJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsPublishJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsImageCacheCleanupJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsRemoveOldDbLogEntriesJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
java.lang.String |
CmsDeleteExpiredResourcesJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsSearchManager.m_adminCms
The administrator OpenCms user context to access OpenCms VFS resources.
|
protected CmsObject |
CmsVfsIndexer.m_cms
The OpenCms user context to use when reading resources from the VFS during indexing.
|
protected CmsObject |
CmsSearch.m_cms
The cms object.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsVfsIndexer.getCms()
Returns the OpenCms user context used by this indexer.
|
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.queries.BooleanFilter |
CmsSearchIndex.appendCategoryFilter(CmsObject cms,
org.apache.lucene.queries.BooleanFilter filter,
java.util.List<java.lang.String> categories)
Appends the a category filter to the given filter clause that matches all given categories.
|
protected org.apache.lucene.queries.BooleanFilter |
CmsSearchIndex.appendPathFilter(CmsObject cms,
org.apache.lucene.queries.BooleanFilter filter,
java.util.List<java.lang.String> roots)
Appends the a VFS path filter to the given filter clause that matches all given root paths.
|
protected org.apache.lucene.queries.BooleanFilter |
CmsSearchIndex.appendResourceTypeFilter(CmsObject cms,
org.apache.lucene.queries.BooleanFilter filter,
java.util.List<java.lang.String> resourceTypes)
Appends the a resource type filter to the given filter clause that matches all given resource types.
|
boolean |
CmsSearchIndex.checkConfiguration(CmsObject cms)
Checks is this index has been configured correctly.
|
static java.util.List<java.lang.String> |
CmsSearchUtil.computeScopeFolders(CmsObject cms,
CmsGallerySearchParameters params)
Computes the search root folders for the given search parameters based on the search scope.
|
protected I_CmsSearchDocument |
CmsIndexingThread.createIndexDocument(CmsObject cms,
CmsResource res,
CmsSearchIndex index,
int count,
I_CmsReport report)
Creates the search index document.
|
protected boolean |
CmsSearchIndex.excludeFromIndex(CmsObject cms,
CmsResource resource)
Checks if the provided resource should be excluded from this search index.
|
protected java.util.List<CmsPublishedResource> |
CmsSearchManager.findRelatedContainerPages(CmsObject adminCms,
java.util.List<CmsPublishedResource> updateResources)
Collects the related containerpages to the resources that have been published.
|
static CmsSolrIndex |
CmsSearchManager.getIndexSolr(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> params)
Returns the Solr index configured with the parameters name.
|
java.util.Locale |
CmsSearchIndex.getLocaleForResource(CmsObject cms,
CmsResource resource,
java.util.List<java.util.Locale> availableLocales)
Returns the language locale for the given resource in this index.
|
protected CmsResource |
CmsSearchIndex.getResource(CmsObject cms,
I_CmsSearchDocument doc)
Checks if the OpenCms resource referenced by the result document can be read
by the user of the given OpenCms context.
|
protected CmsResource |
CmsSearchIndex.getResource(CmsObject cms,
I_CmsSearchDocument doc,
CmsResourceFilter filter)
Checks if the OpenCms resource referenced by the result document can be read
by the user of the given OpenCms context.
|
CmsSolrSpellchecker |
CmsSearchManager.getSolrDictionary(CmsObject cms)
Return singleton instance of the OpenCms spellchecker.
|
protected boolean |
CmsSearchIndex.hasReadPermission(CmsObject cms,
I_CmsSearchDocument doc)
Checks if the OpenCms resource referenced by the result document can be read
be the user of the given OpenCms context.
|
void |
CmsSearch.init(CmsObject cms)
Initializes the bean with the cms object.
|
void |
CmsSearchManager.initialize(CmsObject cms)
Initializes the search manager.
|
java.lang.String |
CmsSearchManager.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters)
Updates the indexes from as a scheduled job.
|
I_CmsIndexer |
I_CmsIndexer.newInstance(CmsObject cms,
I_CmsReport report,
CmsSearchIndex index)
Creates and initializes a new instance of this indexer implementation.
|
I_CmsIndexer |
CmsVfsIndexer.newInstance(CmsObject cms,
I_CmsReport report,
CmsSearchIndex index) |
CmsSearchResultList |
CmsSearchIndex.search(CmsObject cms,
CmsSearchParameters params)
Performs a search on the index within the given fields.
|
protected void |
CmsSearchManager.updateAllIndexes(CmsObject adminCms,
CmsUUID publishHistoryId,
I_CmsReport report)
Incrementally updates all indexes that have their rebuild mode set to
"auto"
after resources have been published. |
protected void |
CmsSearchManager.updateIndexIncremental(CmsObject cms,
CmsSearchIndex index,
I_CmsReport report,
java.util.List<CmsPublishedResource> resourcesToIndex)
Incrementally updates the given index.
|
Constructor and Description |
---|
CmsIndexingThread(CmsObject cms,
CmsResource res,
CmsSearchIndex index,
int count,
I_CmsReport report)
Create a new indexing thread.
|
Modifier and Type | Method and Description |
---|---|
I_CmsSearchDocument |
I_CmsDocumentFactory.createDocument(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Creates the Lucene Document for the given VFS resource and the given search index.
|
I_CmsSearchDocument |
CmsDocumentContainerPage.createDocument(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Generates a new lucene document instance from contents of the given resource for the provided index.
|
I_CmsSearchDocument |
A_CmsVfsDocument.createDocument(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Generates a new lucene document instance from contents of the given resource for the provided index.
|
I_CmsSearchDocument |
CmsDocumentXmlContent.createDocument(CmsObject cms,
CmsResource resource,
CmsSearchIndex index) |
I_CmsExtractionResult |
CmsDocumentContainerPage.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a VFS resource of type
CmsResourceTypeContainerPage . |
I_CmsExtractionResult |
CmsDocumentPdf.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing Adobe PDF data.
|
I_CmsExtractionResult |
CmsDocumentMsOfficeOLE2.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentRtf.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing RTF data.
|
I_CmsExtractionResult |
CmsDocumentOpenOffice.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentGeneric.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Just returns an empty extraction result since the content can't be extracted form a generic resource.
|
I_CmsExtractionResult |
CmsDocumentMsOfficeOOXML.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing MS Word data.
|
I_CmsExtractionResult |
CmsDocumentPlainText.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource containing plain text data.
|
I_CmsExtractionResult |
CmsDocumentXmlPage.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given vfs resource of type
CmsResourceTypeXmlPage . |
I_CmsExtractionResult |
CmsDocumentHtml.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given VFS resource containing HTML data.
|
I_CmsExtractionResult |
I_CmsSearchExtractor.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Extracts the content of a given index resource according to the resource file type and the
configuration of the given index.
|
I_CmsExtractionResult |
CmsDocumentXmlContent.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a given VFS resource of type
CmsResourceTypeXmlContent . |
static CmsDocumentDependency |
CmsDocumentDependency.load(CmsObject cms,
CmsPublishedResource pubRes)
Loads or creates a dependency object for the given parameters.
|
static CmsDocumentDependency |
CmsDocumentDependency.load(CmsObject cms,
CmsResource res)
Loads or creates a dependency object for the given parameters.
|
static CmsDocumentDependency |
CmsDocumentDependency.load(CmsObject cms,
CmsResource res,
java.util.List<CmsResource> resources)
Loads or creates a dependency object for the given parameters.
|
void |
CmsDocumentDependency.readDependencies(CmsObject cms)
Reads all dependencies that exist for this main resource in the OpenCms VFS.
|
void |
CmsDocumentDependency.readDependencies(CmsObject cms,
java.util.List<CmsResource> folderContent)
Reads all dependencies that exist for this main resource in provided list of resources.
|
protected CmsFile |
A_CmsVfsDocument.readFile(CmsObject cms,
CmsResource resource)
Upgrades the given resource to a
CmsFile with content. |
protected static void |
CmsDocumentDependency.removeFromContext(CmsObject cms,
CmsPublishedResource pubRes)
Removes the dependency object for a published resource from the OpenCms
runtime context.
|
void |
CmsDocumentDependency.storeInContext(CmsObject cms)
Stores this dependency object for a published resource in the OpenCms runtime context.
|
java.lang.String |
CmsDocumentDependency.toDependencyString(CmsObject cms)
Creates the String representation of this dependency object.
|
JSONObject |
CmsDocumentDependency.toJSON(CmsObject cms,
boolean includeLang)
Returns a JSON object describing this dependency document.
|
Modifier and Type | Method and Description |
---|---|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendAdditionalValuesToDcoument(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Overriding this method allows to append some 'extra' values/fields to a document
without overriding the
CmsSearchFieldConfiguration.createDocument(org.opencms.file.CmsObject, org.opencms.file.CmsResource, org.opencms.search.CmsSearchIndex, org.opencms.search.extractors.I_CmsExtractionResult) method itself. |
protected I_CmsSearchDocument |
CmsSearchFieldConfigurationOldCategories.appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by resource category information based on properties.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendCategories(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by resource category information based on properties.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendContentBlob(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by a field that contains the extracted content blob.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendDates(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by fields for date of creation, content and last modification.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document,
CmsSearchField field,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the mappings for the given field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the configured field mappings.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendFileSize(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the "size" field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendLocales(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by the "res_locales" field.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendPath(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by fields for VFS path lookup.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendProperties(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Appends all direct properties, that are not empty or white space only to the document.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.appendType(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document by a field that contains the resource type name.
|
I_CmsSearchDocument |
CmsSearchFieldConfiguration.createDocument(CmsObject cms,
CmsResource resource,
CmsSearchIndex index,
I_CmsExtractionResult extraction)
Creates the Lucene Document with this field configuration for the provided VFS resource, search index and content.
|
java.lang.String |
CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
java.lang.String |
I_CmsSearchFieldMapping.getStringValue(CmsObject cms,
CmsResource res,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Returns the String value extracted form the provided data according to the rules of this mapping type.
|
protected I_CmsSearchDocument |
CmsSearchFieldConfiguration.setBoost(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched)
Extends the given document with a boost factor.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsGallerySearch.m_cms
The OpenCms object used for the search.
|
Modifier and Type | Method and Description |
---|---|
CmsSolrQuery |
CmsGallerySearchParameters.getQuery(CmsObject cms)
Returns a CmsSolrQuery representation of this class.
|
void |
CmsGallerySearch.init(CmsObject cms)
Initializes the bean with the provided OpenCms context object.
|
protected void |
CmsGallerySearchResult.initializeMissingFieldsFromVfs(CmsObject cms,
CmsUUID structureId)
Initializes missing fields by reading the information from the VFS.
|
boolean |
CmsGallerySearchResult.isReleaseAndNotExpired(CmsObject cms)
Returns if the related resource is released and not expired.
|
static CmsGallerySearchResult |
CmsGallerySearch.searchById(CmsObject cms,
CmsUUID structureId,
java.util.Locale locale)
Searches by structure id.
|
static CmsGallerySearchResult |
CmsGallerySearch.searchByPath(CmsObject cms,
java.lang.String rootPath,
java.util.Locale locale)
Searches by structure id.
|
Constructor and Description |
---|
CmsGalleryNameMacroResolver(CmsObject cms,
A_CmsXmlDocument content,
java.util.Locale locale)
Creates a new instance.
|
CmsGallerySearchResult(CmsObject cms,
CmsResource res)
Creates a fake gallery search result by reading the necessary data from a VFS resource.
|
CmsGallerySearchResult(I_CmsSearchDocument doc,
CmsObject cms,
int score,
java.util.Locale locale)
Creates a new gallery search result.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsSolrDocument.addDocumentDependency(CmsObject cms,
CmsDocumentDependency resDeps)
Adds the given document dependency to this document.
|
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendAdditionalValuesToDcoument(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendDates(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMapping(I_CmsSearchDocument document,
CmsSearchField sfield,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMappings(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extractionResult,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendFieldMappingsFromElementsOnThePage(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource)
Adds search fields from elements on a container page to a container page's document.
|
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendLocales(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
protected I_CmsSearchDocument |
CmsSolrFieldConfiguration.appendProperties(I_CmsSearchDocument document,
CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction,
java.util.List<CmsProperty> properties,
java.util.List<CmsProperty> propertiesSearched) |
static void |
CmsSolrDocumentXmlContent.collectSchemaXpathsForSimpleValues(CmsObject cms,
CmsXmlContentDefinition def,
java.lang.String path,
java.util.Set<java.lang.String> result)
Collects a list of all possible XPaths for a content definition.
|
protected boolean |
CmsSolrIndex.excludeFromIndex(CmsObject cms,
CmsResource resource) |
I_CmsExtractionResult |
CmsSolrDocumentContainerPage.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Returns the raw text content of a VFS resource of type
CmsResourceTypeContainerPage . |
I_CmsExtractionResult |
CmsSolrDocumentXmlContent.extractContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index) |
static CmsExtractionResult |
CmsSolrDocumentXmlContent.extractXmlContent(CmsObject cms,
CmsResource resource,
CmsSearchIndex index)
Extracts the content of a single XML content resource.
|
CmsGallerySearchResultList |
CmsSolrIndex.gallerySearch(CmsObject cms,
CmsGallerySearchParameters params)
Performs a search with according to the gallery search parameters.
|
protected java.util.List<java.util.Locale> |
CmsSolrFieldConfiguration.getContentLocales(CmsObject cms,
CmsResource resource,
I_CmsExtractionResult extraction)
Retrieves the locales for an content, that is whether an XML content nor an XML page.
|
java.util.Locale |
CmsSolrIndex.getLocaleForResource(CmsObject cms,
CmsResource resource,
java.util.List<java.util.Locale> availableLocales)
Returns the language locale for the given resource in this index.
|
static java.lang.String |
CmsSolrIndex.getType(CmsObject cms,
java.lang.String rootPath)
Returns the resource type for the given root path.
|
protected java.util.Set<CmsSearchField> |
CmsSolrFieldConfiguration.getXSDMappings(CmsObject cms,
CmsResource resource)
Returns the search field mappings declared within the XSD.
|
protected java.util.Set<CmsSearchField> |
CmsSolrFieldConfiguration.getXSDMappingsForPage(CmsObject cms,
CmsResource resource)
Returns the search field mappings declared within the XSD that should be applied to the container page.
|
boolean |
CmsSolrDocumentXmlContent.hasDetailContainers(CmsObject cms,
CmsResource resource)
Checks whether the resource has associated detail containers.
|
org.apache.solr.common.SolrDocument |
I_CmsSolrPostSearchProcessor.process(CmsObject searchCms,
CmsResource resource,
org.apache.solr.common.SolrInputDocument document)
Performs the post processing.
|
org.apache.solr.common.SolrDocument |
CmsSolrLinkProcessor.process(CmsObject cms,
CmsResource resource,
org.apache.solr.common.SolrInputDocument document) |
CmsSearchResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSearchParameters params)
Deprecated.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSolrQuery query)
Default search method.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
CmsSolrQuery query,
boolean ignoreMaxRows)
Performs a search.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
org.apache.solr.client.solrj.SolrQuery query)
Default search method.
|
CmsSolrResultList |
CmsSolrIndex.search(CmsObject cms,
java.lang.String solrQuery)
Performs a search.
|
void |
CmsSolrIndex.select(javax.servlet.ServletResponse response,
CmsObject cms,
CmsSolrQuery query,
boolean ignoreMaxRows)
Writes the response into the writer.
|
void |
CmsSolrIndex.spellCheck(javax.servlet.ServletResponse res,
CmsObject cms,
CmsSolrQuery q)
Executes a spell checking Solr query and returns the Solr query response.
|
Constructor and Description |
---|
CmsSolrQuery(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> queryParams)
Public constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsSolrSpellchecker.getSpellcheckingResult(javax.servlet.http.HttpServletResponse res,
javax.servlet.ServletRequest servletRequest,
CmsObject cms)
Performs spellchecking using Solr and returns the spellchecking results using JSON.
|
void |
CmsSpellcheckingModuleAction.initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module) |
static void |
CmsSpellcheckDictionaryIndexer.parseAndAddDictionaries(org.apache.solr.client.solrj.SolrClient client,
CmsObject cms)
Adds all dictionaries that are available in the default directory.
|
static void |
CmsSpellcheckDictionaryIndexer.parseAndAddZippedDictionaries(org.apache.solr.client.solrj.SolrClient client,
CmsObject cms) |
void |
CmsSpellcheckingModuleAction.publishProject(CmsObject cms,
CmsPublishList publishList,
int publishTag,
I_CmsReport report) |
static boolean |
CmsSpellcheckDictionaryIndexer.updatingIndexNecessesary(CmsObject cms)
Checks whether a built of the indices is necessary.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsDefaultAuthorizationHandler.checkBasicAuthorization(javax.servlet.http.HttpServletRequest req)
Checks if the current request contains HTTP basic authentication information in
the headers, if so the user is tried to log in with this data, and on success a
session is generated.
|
CmsObject |
I_CmsAuthorizationHandler.I_PrivilegedLoginAction.doLogin(javax.servlet.http.HttpServletRequest request,
java.lang.String principal)
Performs a privileged login action and returns a cms object initialized for the principal.
|
CmsObject |
I_CmsLoginAction.doLogin(java.lang.String principal)
Returns a cms object initialized for the passed principal.
|
CmsObject |
I_CmsAuthorizationHandler.I_PrivilegedLoginAction.getCmsObject()
Returns the cms object.
|
CmsObject |
I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request)
Creates a new cms object from the given request object.
|
CmsObject |
CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request) |
CmsObject |
I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request,
I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction)
Creates a new cms object from the given request object.
|
CmsObject |
CmsPersistentLoginAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request,
I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) |
CmsObject |
CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request,
I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction) |
CmsObject |
I_CmsAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request,
java.lang.String userName,
java.lang.String pwd)
Authenticates the current request with additional user information.
|
CmsObject |
CmsDefaultAuthorizationHandler.initCmsObject(javax.servlet.http.HttpServletRequest request,
java.lang.String userName,
java.lang.String pwd) |
CmsObject |
CmsPersistentLoginAuthorizationHandler.initCmsObjectFromToken(javax.servlet.http.HttpServletRequest request,
I_CmsAuthorizationHandler.I_PrivilegedLoginAction loginAction)
Tries to initialize the CmsObject from a login token given as a cookie in the request.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsOrgUnitManager.addResourceToOrgUnit(CmsObject cms,
java.lang.String ouFqn,
java.lang.String resourceName)
Adds a resource to the given organizational unit.
|
void |
CmsRoleManager.addUserToRole(CmsObject cms,
CmsRole role,
java.lang.String username)
Adds a user to the given role.
|
void |
CmsRoleManager.checkRole(CmsObject cms,
CmsRole role)
Checks if the user of this OpenCms context is a member of the given role
for the given organizational unit.
|
void |
CmsRoleManager.checkRoleForResource(CmsObject cms,
CmsRole role,
java.lang.String resourceName)
Checks if the user of this OpenCms context is a member of the given role
for the given resource.
|
long |
CmsOrgUnitManager.countUsers(CmsObject cms,
CmsUserSearchParameters params)
Counts the users which fit the given search criteria.
|
CmsOrganizationalUnit |
CmsOrgUnitManager.createOrganizationalUnit(CmsObject cms,
java.lang.String ouFqn,
java.lang.String description,
int flags,
java.lang.String resourceName)
Creates a new organizational unit.
|
java.lang.String |
CmsPersistentLoginTokenHandler.createToken(CmsObject cms)
Generates a new login token for a given user and registers the token in the user's additional info.
|
void |
CmsOrgUnitManager.deleteOrganizationalUnit(CmsObject cms,
java.lang.String ouFqn)
Deletes an organizational unit.
|
java.util.List<CmsProject> |
CmsOrgUnitManager.getAllAccessibleProjects(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all accessible projects of the given organizational unit.
|
java.util.List<CmsProject> |
CmsOrgUnitManager.getAllManageableProjects(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all manageable projects of the given organizational unit.
|
java.lang.String |
CmsRole.getDisplayName(CmsObject cms,
java.util.Locale locale)
Returns the display name of this role including the organizational unit.
|
java.lang.String |
CmsPrincipal.getDisplayName(CmsObject cms,
java.util.Locale locale)
Returns the display name of this principal including the organizational unit.
|
java.lang.String |
CmsPrincipal.getDisplayName(CmsObject cms,
java.util.Locale locale,
I_CmsGroupNameTranslation translation)
Returns the translated display name of this principal if it is a group and the display name otherwise.
|
java.util.List<CmsGroup> |
CmsOrgUnitManager.getGroups(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all groups of the given organizational unit.
|
java.util.List<CmsGroup> |
CmsRoleManager.getManageableGroups(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all groups of organizational units for which the current user
has the
CmsRole.ACCOUNT_MANAGER role. |
java.util.List<CmsOrganizationalUnit> |
CmsRoleManager.getManageableOrgUnits(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus,
boolean includeWebusers)
Returns a list of those organizational units whose members can be managed by the current user.
|
java.util.List<CmsResource> |
CmsRoleManager.getManageableResources(CmsObject cms,
CmsRole role)
Returns all resources of organizational units for which the current user has
the given role role.
|
java.util.List<CmsUser> |
CmsRoleManager.getManageableUsers(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all users of organizational units for which the current user has
the
CmsRole.ACCOUNT_MANAGER role. |
java.util.List<CmsUser> |
CmsRoleManager.getManageableUsers(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus,
boolean includeWebusers)
Returns all users of organizational units for which the current user has
the
CmsRole.ACCOUNT_MANAGER role. |
java.util.List<CmsOrganizationalUnit> |
CmsOrgUnitManager.getOrganizationalUnits(CmsObject cms,
java.lang.String ouFqn,
boolean includeChildren)
Returns all child organizational units of the given parent organizational unit including
hierarchical deeper organization units if needed.
|
java.util.List<CmsOrganizationalUnit> |
CmsRoleManager.getOrgUnitsForRole(CmsObject cms,
CmsRole role,
boolean includeSubOus)
Returns all the organizational units for which the current user has the given role.
|
java.util.List<CmsResource> |
CmsOrgUnitManager.getResourcesForOrganizationalUnit(CmsObject cms,
java.lang.String ouFqn)
Returns all resources of the given organizational unit.
|
java.util.Set<CmsGroup> |
CmsRoleManager.getRoleGroups(CmsObject cms,
CmsRole role,
boolean directUsersOnly)
Returns the groups which constitute a given role, i.e. the set of groups such that a member of any of them
has the given role.
|
java.util.List<CmsRole> |
CmsRoleManager.getRoles(CmsObject cms,
java.lang.String ouFqn,
boolean includeSubOus)
Returns all roles, in the given organizational unit.
|
java.util.List<CmsRole> |
CmsRoleManager.getRolesForResource(CmsObject cms,
CmsUser user,
CmsResource resource)
Returns all roles the given user has over the given resource.
|
java.util.List<CmsRole> |
CmsRoleManager.getRolesForResource(CmsObject cms,
java.lang.String userFqn,
java.lang.String resourceName)
Returns all roles the given user has over the given resource.
|
java.util.List<CmsRole> |
CmsRoleManager.getRolesOfUser(CmsObject cms,
java.lang.String username,
java.lang.String ouFqn,
boolean includeChildOus,
boolean directRolesOnly,
boolean recursive)
Returns all roles the given user belongs to, in the given organizational unit.
|
java.util.List<CmsUser> |
CmsOrgUnitManager.getUsers(CmsObject cms,
java.lang.String ouFqn,
boolean recursive)
Returns all users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsRoleManager.getUsersOfRole(CmsObject cms,
CmsRole role,
boolean includeOtherOuUsers,
boolean directUsersOnly)
Returns all direct users of a given role, in the given organizational unit.
|
java.util.List<CmsUser> |
CmsOrgUnitManager.getUsersWithoutAdditionalInfo(CmsObject cms,
java.lang.String ouFqn,
boolean recursive)
Returns all users of the given organizational unit, without their additional info.
|
boolean |
CmsRoleManager.hasRole(CmsObject cms,
CmsRole role)
Checks if the given context user has the given role in the given organizational unit.
|
boolean |
CmsRoleManager.hasRole(CmsObject cms,
java.lang.String userName,
CmsRole role)
Checks if the given user has the given role in the given organizational unit.
|
boolean |
CmsRoleManager.hasRoleForResource(CmsObject cms,
CmsRole role,
java.lang.String resourceName)
Checks if the given context user has the given role for the given resource.
|
boolean |
CmsRoleManager.hasRoleForResource(CmsObject cms,
java.lang.String userName,
CmsRole role,
java.lang.String resourceName)
Checks if the given context user has the given role for the given resource.
|
void |
CmsOrgUnitManager.initialize(CmsObject cms)
Initializes the organizational units.
|
CmsOrganizationalUnit |
CmsOrgUnitManager.readOrganizationalUnit(CmsObject cms,
java.lang.String ouFqn)
Reads an organizational Unit based on its fully qualified name.
|
static I_CmsPrincipal |
CmsPrincipal.readPrefixedPrincipal(CmsObject cms,
java.lang.String name)
Utility function to read a prefixed principal from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipal(CmsObject cms,
CmsUUID id)
Utility function to read a principal by its id from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipal(CmsObject cms,
java.lang.String type,
java.lang.String name)
Utility function to read a principal of the given type from the OpenCms database using the
provided OpenCms user context.
|
static I_CmsPrincipal |
CmsPrincipal.readPrincipalIncludingHistory(CmsObject cms,
CmsUUID id)
Utility function to read a principal by its id from the OpenCms database using the
provided OpenCms user context.
|
void |
CmsOrgUnitManager.removeResourceFromOrgUnit(CmsObject cms,
java.lang.String ouFqn,
java.lang.String resourceName)
Removes a resource from the given organizational unit.
|
void |
CmsRoleManager.removeUserFromRole(CmsObject cms,
CmsRole role,
java.lang.String username)
Removes a user from a role, in the given organizational unit.
|
java.util.List<CmsUser> |
CmsOrgUnitManager.searchUsers(CmsObject cms,
CmsUserSearchParameters params)
Searches users which fit the given search parameters.
|
static void |
CmsPersistentLoginTokenHandler.setAdminCms(CmsObject adminCms)
Static method used to give this class access to an admin cms context.
|
void |
I_CmsAuthorizationHandler.I_PrivilegedLoginAction.setCmsObject(CmsObject cms)
Used to provide an initial cms object.
|
void |
CmsOrgUnitManager.setUsersOrganizationalUnit(CmsObject cms,
java.lang.String ouFqn,
java.lang.String userName)
Moves an user to the given organizational unit.
|
void |
CmsOrgUnitManager.writeOrganizationalUnit(CmsObject cms,
CmsOrganizationalUnit organizationalUnit)
Writes an already existing organizational unit.
|
Constructor and Description |
---|
CmsPasswordInfo(CmsObject cms)
Use this Constructor if you need to check the old password of the current logged in user.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsSiteManagerImpl.addSite(CmsObject cms,
CmsSite site)
Adds a site.
|
java.util.List<CmsSite> |
CmsSiteManagerImpl.getAvailableSites(CmsObject cms,
boolean workplaceMode)
Returns a list of all sites available (visible) for the current user.
|
java.util.List<CmsSite> |
CmsSiteManagerImpl.getAvailableSites(CmsObject cms,
boolean workplaceMode,
boolean showShared,
java.lang.String ouFqn)
Returns a list of all
CmsSite instances that are compatible to the given organizational unit. |
java.util.List<CmsSite> |
CmsSiteManagerImpl.getAvailableSites(CmsObject cms,
boolean workplaceMode,
java.lang.String ouFqn)
Returns a list of all
CmsSite instances that are compatible to the given organizational unit. |
CmsSite |
CmsSiteManagerImpl.getCurrentSite(CmsObject cms)
Returns the current site for the provided OpenCms user context object.
|
java.lang.String |
CmsSite.getServerPrefix(CmsObject cms,
CmsResource resource)
Returns the server prefix for the given resource in this site, used to distinguish between
secure (https) and non-secure (http) sites.
|
java.lang.String |
CmsSite.getServerPrefix(CmsObject cms,
java.lang.String resourceName)
Returns the server prefix for the given resource in this site, used to distinguish between
secure (https) and non-secure (http) sites.
|
java.lang.String |
CmsSiteManagerImpl.getSiteTitle(CmsObject cms,
CmsResource resource)
Returns the site title.
|
void |
CmsSiteManagerImpl.initialize(CmsObject cms)
Initializes the site manager with the OpenCms system configuration.
|
boolean |
CmsSiteManagerImpl.isMatchingCurrentSite(CmsObject cms,
CmsSiteMatcher matcher)
Returns
true if the given site matcher matches the current site. |
void |
CmsSiteManagerImpl.removeSite(CmsObject cms,
CmsSite site)
Removes a site from the list of configured sites.
|
void |
CmsSiteManagerImpl.updateGeneralSettings(CmsObject cms,
java.lang.String defaulrUri,
java.lang.String workplaceServer,
java.lang.String sharedFolder)
Updates the general settings.
|
void |
CmsSiteManagerImpl.updateSite(CmsObject cms,
CmsSite oldSite,
CmsSite newSite)
Updates an existing site.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsXmlSitemapGenerator.m_guestCms
A CMS context with guest privileges.
|
protected CmsObject |
CmsXmlSitemapGenerator.m_siteGuestCms
A guest user CMS object with the site root of the base folder.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsXmlSeoConfiguration.load(CmsObject cms,
CmsResource resource)
Loads the bean data from the given resource.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<CmsPublishedResource> |
A_CmsStaticExportHandler.addMovedLinkSources(CmsObject cms,
java.util.List<CmsPublishedResource> publishedResources)
Add the link sources of moved resources to the list of published resources.
|
int |
CmsStaticExportManager.export(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
CmsObject cms,
CmsStaticExportData data)
Exports the requested uri and at the same time writes the uri to the response output stream
if required.
|
protected boolean |
CmsAfterPublishStaticExportHandler.exportNonTemplateResources(CmsObject cms,
java.util.List<CmsPublishedResource> publishedResources,
I_CmsReport report)
Exports all non template resources found in a list of published resources.
|
protected void |
CmsAfterPublishStaticExportHandler.exportTemplateResources(CmsObject cms,
java.util.List<java.lang.String> publishedTemplateResources,
I_CmsReport report)
Exports all template resources found in a list of published resources.
|
java.util.List<CmsPublishedResource> |
CmsAfterPublishStaticExportHandler.getAllResources(CmsObject cms)
Returns all resources within the current OpenCms site that are not marked as internal.
|
CmsStaticExportData |
CmsStaticExportManager.getExportData(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Returns the export data for the request, if null is returned no export is required.
|
java.util.Set<CmsPublishedResource> |
CmsStaticExportExportRule.getExportResources(CmsObject cms)
Returns a set of
objects containing all resources specified by the
<export-resources> node of this rule. |
java.lang.String |
CmsDefaultLinkSubstitutionHandler.getLink(CmsObject cms,
java.lang.String link,
java.lang.String siteRoot,
boolean forceSecure)
Returns the resource root path in the OpenCms VFS for the given link, or
null in
case the link points to an external site. |
java.lang.String |
CmsAdvancedLinkSubstitutionHandler.getLink(CmsObject cms,
java.lang.String link,
java.lang.String siteRoot,
boolean forceSecure) |
java.lang.String |
I_CmsLinkSubstitutionHandler.getLink(CmsObject cms,
java.lang.String link,
java.lang.String siteRoot,
boolean forceSecure)
Returns a link from the URI stored in the provided OpenCms user context
to the VFS resource indicated by the given
link and siteRoot ,
for use on web pages. |
java.lang.String |
CmsLinkManager.getOnlineLink(CmsObject cms,
java.lang.String resourceName)
Returns the online link for the given resource, with full server prefix.
|
java.lang.String |
CmsLinkManager.getOnlineLink(CmsObject cms,
java.lang.String resourceName,
boolean forceSecure)
Returns the online link for the given resource, with full server prefix.
|
java.lang.String |
CmsLinkManager.getPermalink(CmsObject cms,
java.lang.String resourceName)
Returns the perma link for the given resource.
|
java.lang.String |
CmsLinkManager.getPermalink(CmsObject cms,
java.lang.String resourceName,
CmsUUID detailContentId)
Returns the perma link for the given resource and optional detail content.
|
java.lang.String |
CmsLinkManager.getPermalinkForCurrentPage(CmsObject cms)
Returns the perma link for the current page based on the URI and detail content id stored in the CmsObject passed as a parameter.
|
java.util.Set<CmsPublishedResource> |
CmsStaticExportExportRule.getRelatedResources(CmsObject cms,
CmsPublishedResource publishedResource)
Returns a set of
objects specified by the
<export-resources> node of this rule, if the publishedResource
matches a modified Resource regular expression. |
protected java.util.List<CmsPublishedResource> |
CmsAfterPublishStaticExportHandler.getRelatedResources(CmsObject cms,
java.util.List<CmsPublishedResource> publishedResources)
Creates a list of
objects containing all related resources of the VFS tree. |
protected CmsStaticExportData |
CmsStaticExportManager.getRfsExportData(CmsObject cms,
java.lang.String uri)
Returns the export data for a requested resource, if null is returned no export is required.
|
java.lang.String |
CmsStaticExportManager.getRfsName(CmsObject cms,
java.lang.String vfsName)
Returns the static export rfs name for a given vfs resource.
|
java.lang.String |
CmsStaticExportManager.getRfsName(CmsObject cms,
java.lang.String vfsName,
java.lang.String parameters)
Returns the static export rfs name for a given vfs resource where the link to the
resource includes request parameters.
|
protected java.lang.String |
CmsStaticExportManager.getRfsNameWithExportName(CmsObject cms,
java.lang.String vfsName)
Returns the rfs name for a given vfs name with consideration of the export name.
|
java.lang.String |
CmsLinkManager.getRootPath(CmsObject cms,
java.lang.String targetUri)
Returns the resource root path in the OpenCms VFS for the given target URI link, or
null in
case the link points to an external site. |
java.lang.String |
CmsLinkManager.getRootPath(CmsObject cms,
java.lang.String targetUri,
java.lang.String basePath)
Returns the resource root path in the OpenCms VFS for the given target URI link, or
null in
case the link points to an external site. |
java.lang.String |
CmsDefaultLinkSubstitutionHandler.getRootPath(CmsObject cms,
java.lang.String targetUri,
java.lang.String basePath) |
java.lang.String |
CmsAdvancedLinkSubstitutionHandler.getRootPath(CmsObject cms,
java.lang.String targetUri,
java.lang.String basePath) |
java.lang.String |
I_CmsLinkSubstitutionHandler.getRootPath(CmsObject cms,
java.lang.String targetUri,
java.lang.String basePath)
Returns the resource root path in the OpenCms VFS for the given target URI link, or
null in
case the link points to an external site. |
java.lang.String |
CmsLinkManager.getServerLink(CmsObject cms,
java.lang.String resourceName)
Returns the link for the given resource in the current project, with full server prefix.
|
java.lang.String |
CmsLinkManager.getServerLink(CmsObject cms,
java.lang.String resourceName,
boolean forceSecure)
Returns the link for the given resource in the current project, with full server prefix.
|
protected java.util.Set<CmsPublishedResource> |
CmsAfterPublishStaticExportHandler.getSiblings(CmsObject cms,
CmsPublishedResource pubResource)
Returns all siblings of the published resource as list of
CmsPublishedResource . |
protected java.util.List<java.lang.String> |
A_CmsStaticExportHandler.getSiblingsList(CmsObject cms,
java.lang.String resPath)
Returns a list containing the root paths of all siblings of a resource.
|
protected java.lang.String |
CmsDefaultLinkSubstitutionHandler.getSimpleRootPath(CmsObject cms,
java.lang.String targetUri,
java.lang.String basePath)
Gets the root path without taking into account detail page links.
|
static java.lang.String |
CmsLinkManager.getSitePath(CmsObject cms,
java.lang.String basePath,
java.lang.String targetUri)
Deprecated.
use
CmsLinkManager.getRootPath(CmsObject, String, String) instead, obtain the link manager
with OpenCms.getLinkManager() |
CmsStaticExportData |
CmsStaticExportManager.getVfsExportData(CmsObject cms,
java.lang.String vfsName)
Returns the export data for a requested resource, if null is returned no export is required.
|
java.lang.String |
CmsStaticExportManager.getVfsName(CmsObject cms,
java.lang.String rfsName)
Returns the VFS name for the given RFS name, being the exact reverse of
. |
CmsStaticExportData |
CmsStaticExportManager.getVfsNameInternal(CmsObject cms,
java.lang.String rfsName)
Returns the VFS name from a given RFS name.
|
java.lang.String |
CmsLinkManager.getWorkplaceLink(CmsObject cms,
java.lang.String resourceName,
boolean forceSecure)
Returns the link for the given workplace resource.
|
void |
CmsStaticExportManager.initialize(CmsObject cms)
Initializes the static export manager with the OpenCms system configuration.
|
protected boolean |
CmsDefaultLinkSubstitutionHandler.isDetailPageLinkSecure(CmsObject cms,
java.lang.String detailPage,
CmsResource detailContent,
CmsSite targetSite,
boolean secureRequest)
Checks whether a link to a detail page should be secure.
|
protected boolean |
CmsAdvancedLinkSubstitutionHandler.isExcluded(CmsObject cms,
java.lang.String path)
Returns if the given path starts with an exclude prefix.
|
boolean |
CmsStaticExportManager.isExportLink(CmsObject cms,
java.lang.String vfsName)
Checks if the static export is required for the given VFS resource.
|
boolean |
CmsStaticExportManager.isSecureLink(CmsObject cms,
java.lang.String vfsName)
Returns
true if the given VFS resource should be transported through a secure channel. |
boolean |
CmsStaticExportManager.isSecureLink(CmsObject cms,
java.lang.String vfsName,
boolean fromSecure)
Returns
true if the given VFS resource should be transported through a secure channel. |
protected boolean |
CmsDefaultLinkSubstitutionHandler.isSecureLink(CmsObject cms,
java.lang.String vfsName,
CmsSite targetSite,
boolean secureRequest)
Checks if the link target is a secure link.
|
boolean |
CmsStaticExportManager.isSecureLink(CmsObject cms,
java.lang.String vfsName,
java.lang.String siteRoot)
Returns
true if the given VFS resource that is located under the
given site root should be transported through a secure channel. |
boolean |
CmsStaticExportManager.isSecureLink(CmsObject cms,
java.lang.String vfsName,
java.lang.String siteRoot,
boolean fromSecure)
Returns
true if the given VFS resource should be transported through a secure channel. |
protected boolean |
CmsAfterPublishStaticExportHandler.readNonTemplateResourcesToExport(CmsObject cms,
java.util.List<CmsPublishedResource> publishedResources,
java.util.List<CmsStaticExportData> resourcesToExport)
Returns all non template resources found in a list of published resources.
|
protected CmsStaticExportData |
CmsStaticExportManager.readResource(CmsObject cms,
java.lang.String uri)
Reads the resource with the given URI.
|
protected void |
A_CmsStaticExportHandler.scrubResource(CmsObject cms,
CmsPublishedResource res,
java.util.Set<java.lang.String> scrubbedFolders,
java.util.Set<java.lang.String> scrubbedFiles)
Scrub a single file or folder.
|
void |
CmsLinkManager.setLinkSubstitutionHandler(CmsObject cms,
I_CmsLinkSubstitutionHandler linkSubstitutionHandler)
Sets the internal link substitution handler.
|
java.lang.String |
CmsLinkManager.substituteLink(CmsObject cms,
CmsResource resource)
Returns a link from the URI stored in the provided OpenCms user context
to the given VFS resource, for use on web pages.
|
java.lang.String |
CmsLinkManager.substituteLink(CmsObject cms,
java.lang.String link)
Returns a link from the URI stored in the provided OpenCms user context
to the VFS resource indicated by the given
link in the current site,
for use on web pages. |
java.lang.String |
CmsLinkManager.substituteLink(CmsObject cms,
java.lang.String link,
java.lang.String siteRoot)
Returns a link from the URI stored in the provided OpenCms user context
to the VFS resource indicated by the given
link and siteRoot ,
for use on web pages. |
java.lang.String |
CmsLinkManager.substituteLink(CmsObject cms,
java.lang.String link,
java.lang.String siteRoot,
boolean forceSecure)
Returns a link from the URI stored in the provided OpenCms user context
to the VFS resource indicated by the given
link and siteRoot ,
for use on web pages, using the configured link substitution handler. |
java.lang.String |
CmsLinkManager.substituteLinkForRootPath(CmsObject cms,
java.lang.String rootPath)
Returns a link from the URI stored in the provided OpenCms user context
to the VFS resource indicated by the given root path, for use on web pages.
|
java.lang.String |
CmsLinkManager.substituteLinkForUnknownTarget(CmsObject cms,
java.lang.String link)
Returns a link from the URI stored in the provided OpenCms user context
to the given
link , for use on web pages. |
java.lang.String |
CmsLinkManager.substituteLinkForUnknownTarget(CmsObject cms,
java.lang.String link,
boolean forceSecure)
Returns a link from the URI stored in the provided OpenCms user context
to the given
link , for use on web pages. |
Constructor and Description |
---|
CmsLinkProcessor(CmsObject cms,
CmsLinkTable linkTable,
java.lang.String encoding,
java.lang.String relativePath)
Creates a new link processor.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsSynchronizeSettings.checkValues(CmsObject cms)
Performs a check if the values that have been set are valid.
|
void |
I_CmsSynchronizeModification.modifyFs(CmsObject cms,
CmsResource vfsRes,
java.io.File fsFile)
Possibility to modify a resource after it has benn exported or updated
to the FS.
|
void |
I_CmsSynchronizeModification.modifyVfs(CmsObject cms,
CmsResource vfsRes,
java.io.File fsFile)
Possibility to modify a resource after it has been imported or updated
into the VFS.
|
java.lang.String |
I_CmsSynchronizeModification.translate(CmsObject cms,
java.lang.String resName)
Translates the resource name.
|
Constructor and Description |
---|
CmsSynchronize(CmsObject cms,
CmsSynchronizeSettings settings,
I_CmsReport report)
Creates a new CmsSynchronize object which automatically start the
synchronization process.
|
Modifier and Type | Method and Description |
---|---|
protected static CmsObject |
CmsUgcModuleAction.getAdminCms()
Returns a CMS context with admin privileges.
|
CmsObject |
CmsUgcSession.getCmsObject()
Gets the CMS context used by this session.
|
Modifier and Type | Method and Description |
---|---|
static void |
CmsUgcSessionSecurityUtil.checkCreateContent(CmsObject cms,
CmsUgcConfiguration config)
Checks whether a new XML content may be created and throws an exception if this is not the case.
|
static void |
CmsUgcSessionSecurityUtil.checkCreateUpload(CmsObject cms,
CmsUgcConfiguration config,
java.lang.String name,
long size)
Checks whether an uploaded file can be created in the VFS, and throws an exception otherwise.
|
void |
CmsUgcEditService.checkPermissions(CmsObject cms) |
CmsUgcSession |
CmsUgcSessionFactory.createSession(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
CmsUgcConfiguration config)
Creates a new editing session.
|
CmsUgcSession |
CmsUgcSessionFactory.createSession(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
java.lang.String sitePath)
Creates a new editing session.
|
CmsUgcSession |
CmsUgcSessionFactory.createSessionForFile(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
java.lang.String configPath,
java.lang.String fileName)
Creates a new session for a given file.
|
void |
CmsUgcModuleAction.initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module) |
void |
CmsUgcModuleAction.publishProject(CmsObject cms,
CmsPublishList publishList,
int publishTag,
I_CmsReport report) |
Constructor and Description |
---|
CmsUgcConfigurationReader(CmsObject cms)
Creates a new instance.
|
CmsUgcSession(CmsObject cms)
Constructor.
|
CmsUgcSession(CmsObject adminCms,
CmsObject cms,
CmsUgcConfiguration configuration)
Constructor.
|
CmsUgcSession(CmsObject cms,
CmsUgcConfiguration configuration)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
A_CmsDialogContext.getCms() |
CmsObject |
I_CmsDialogContext.getCms()
Gets the CMS context to be used for dialog operations.
|
CmsObject |
A_CmsCustomComponent.getCmsObject()
Returns the current cms context.
|
static CmsObject |
A_CmsUI.getCmsObject()
Returns the current cms context.
|
Modifier and Type | Method and Description |
---|---|
static com.vaadin.data.util.IndexedContainer |
CmsVaadinUtils.getAvailableSitesContainer(CmsObject cms,
java.lang.String captionPropertyName)
Builds an IndexedContainer containing the sites selectable by the current user.
|
java.lang.String |
CmsUserIconHelper.getBigIconPath(CmsObject cms,
CmsUser user)
Returns the big ident-icon path for the given user.
|
static com.vaadin.data.util.IndexedContainer |
CmsVaadinUtils.getProjectsContainer(CmsObject cms,
java.lang.String captionPropertyName)
Returns the selectable projects container.
|
java.lang.String |
CmsUserIconHelper.getSmallIconPath(CmsObject cms,
CmsUser user)
Returns the small ident-icon path for the given user.
|
void |
CmsUserIconHelper.handleImageUpload(CmsObject cms,
CmsUser user,
java.lang.String uploadedFile)
Handles a user image upload.
|
void |
CmsUserIconHelper.setUserImage(CmsObject cms,
CmsUser user,
java.lang.String rootPath)
Sets the user image for the given user.
|
Constructor and Description |
---|
CmsUserIconHelper(CmsObject adminCms)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CmsMenuItemVisibilityMode |
CmsCategoriesDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsDirectPublishDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsContextMenuActionItem.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsProjectDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsPublishScheduledDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsCopyMoveDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsStealLockAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsLockedResourcesAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsSecureExportDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsEditCodeDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsRestoreDeletedAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsPermissionDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsUndeleteDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsUndoDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsTouchDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsHistoryDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsEditDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsUnlockAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsDeleteDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsPropertiesDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsChangeTypeDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsClassicWorkplaceAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsEditPropertyAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsPreferencesDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsLockAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsReplaceDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsAvailabilityDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsPublishQueueDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsEditPointerAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsGalleryDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsCopyToProjectDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsResourceInfoAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsAboutDialogAction.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
Modifier and Type | Method and Description |
---|---|
static com.vaadin.ui.Component |
CmsDefaultAppButtonProvider.createAppButton(CmsObject cms,
I_CmsWorkplaceAppConfiguration appConfig,
java.util.Locale locale)
Creates a properly styled button for the given app.
|
<T extends I_CmsAppSettings> |
CmsWorkplaceAppManager.getAppSettings(CmsObject cms,
java.lang.Class<T> type)
Returns the user app setting of the given type.
|
java.util.List<I_CmsWorkplaceAppConfiguration> |
CmsWorkplaceAppManager.getQuickLaunchConfigurations(CmsObject cms)
Gets the configured quick launch apps which are visible for the current user.
|
protected java.util.List<I_CmsWorkplaceAppConfiguration> |
CmsWorkplaceAppManager.getUserQuickLauchConfigurations(CmsObject cms)
Returns the quick launch apps set for the current user.
|
CmsAppVisibilityStatus |
CmsSitemapEditorConfiguration.getVisibility(CmsObject cms) |
CmsAppVisibilityStatus |
CmsLegacyAppConfiguration.getVisibility(CmsObject cms) |
CmsAppVisibilityStatus |
CmsPageEditorConfiguration.getVisibility(CmsObject cms) |
CmsAppVisibilityStatus |
A_CmsWorkplaceAppConfiguration.getVisibility(CmsObject cms) |
CmsAppVisibilityStatus |
I_CmsWorkplaceAppConfiguration.getVisibility(CmsObject cms)
Returns the visibility status of the app for the given user context.
|
CmsAppVisibilityStatus |
CmsEditorConfiguration.getVisibility(CmsObject cms) |
protected boolean |
A_CmsWorkplaceAppConfiguration.hasWorkplaceUserRole(CmsObject cms)
Checks whether the current user has the workplace user role.
|
protected void |
CmsWorkplaceAppManager.setUserQuickLaunchApps(CmsObject cms,
java.util.List<java.lang.String> apps)
Writes the user quick launch apps setting to the user additional info.
|
void |
CmsWorkplaceAppManager.storeAppSettings(CmsObject cms,
java.lang.Class<? extends I_CmsAppSettings> type,
I_CmsAppSettings appSettings)
Stores the given app setting within the users additional info.
|
void |
CmsFileExplorer.updateResourceInTree(CmsObject cms,
CmsUUID id)
Updates the give tree item.
|
Constructor and Description |
---|
CmsWorkplaceAppManager(CmsObject adminCms)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
CmsAppVisibilityStatus |
CmsScheduledJobsAppConfig.getVisibility(CmsObject cms) |
Modifier and Type | Method and Description |
---|---|
protected void |
CmsResourceTable.fillItem(CmsObject cms,
CmsResource resource,
java.util.Locale locale)
Fills the file item data.
|
static void |
CmsResourceTable.fillItemDefault(com.vaadin.data.Item resourceItem,
CmsObject cms,
CmsResource resource,
CmsMessages messages,
java.util.Locale locale)
Static helper method to initialize the 'standard' properties of a data item from a given resource.
|
void |
CmsResourceTable.fillTable(CmsObject cms,
java.util.List<CmsResource> resources)
Fills the resource table.
|
static java.lang.String |
CmsUserInfo.generateUserInfoHtml(CmsObject cms,
java.util.Locale locale)
Generates the user info HTML.
|
Constructor and Description |
---|
CmsLockedResourcesList(CmsObject cms,
java.util.List<CmsResource> resources,
java.lang.String message,
java.lang.Runnable nextAction,
java.lang.Runnable cancelAction)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsResourceTreeContainer.addTreeItem(CmsObject cms,
CmsResource resource,
CmsUUID parentId)
Adds an item to the folder tree.
|
void |
CmsResourceTreeContainer.initRoot(CmsObject cms,
CmsResource root,
CmsResourceFilter filter)
Initializes the root level of the tree.
|
void |
CmsResourceTreeContainer.readTreeLevel(CmsObject cms,
CmsUUID parentId,
CmsResourceFilter filter)
Reads the given tree level.
|
void |
CmsResourceTreeContainer.update(CmsObject cms,
CmsUUID id,
CmsResourceFilter filter)
Updates the item for the given structure id.
|
Constructor and Description |
---|
CmsResourceTree(CmsObject cms,
CmsResource root,
CmsResourceFilter filter)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
CmsMenuItemVisibilityMode |
CmsStandardVisibilityCheck.getSingleVisibility(CmsObject cms,
CmsResource resource) |
abstract CmsMenuItemVisibilityMode |
A_CmsSimpleVisibilityCheck.getSingleVisibility(CmsObject cms,
CmsResource resource)
Computes visibility of the menu item for a single resource.
|
CmsMenuItemVisibilityMode |
CmsSubmenu.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
CmsMenuItemVisibilitySingleOnly.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
A_CmsSimpleVisibilityCheck.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources) |
CmsMenuItemVisibilityMode |
I_CmsContextMenuItem.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources)
Computes the visibility for this context menu items with the given CMS context and resources.
|
CmsMenuItemVisibilityMode |
I_CmsHasMenuItemVisibility.getVisibility(CmsObject cms,
java.util.List<CmsResource> resources)
Gets the visibility for the current resource and CMS context.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Multimap<CmsResource,CmsResource> |
CmsDeleteDialog.getBrokenLinks(CmsObject cms,
java.util.List<CmsResource> selectedResources)
Gets the broken links.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsHistoryDialog.actionRestore(CmsObject cms,
CmsUUID structureId,
java.lang.Integer version)
Restores a resource's state to the given version, but asks the user for confirmation beforehand.
|
Modifier and Type | Method and Description |
---|---|
com.vaadin.ui.Button |
CmsShowVersionButtons.createButton(CmsObject cms,
CmsHistoryResourceBean version)
Creates a 'show version' button.
|
com.google.common.base.Optional<com.vaadin.ui.Component> |
CmsValueDiff.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
com.google.common.base.Optional<com.vaadin.ui.Component> |
CmsShowVersionButtons.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
com.google.common.base.Optional<com.vaadin.ui.Component> |
CmsTextDiff.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
com.google.common.base.Optional<com.vaadin.ui.Component> |
I_CmsDiffProvider.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2)
Optionally returns a comparison component to display for the given resource versions.
|
com.google.common.base.Optional<com.vaadin.ui.Component> |
A_CmsAttributeDiff.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
com.google.common.base.Optional<com.vaadin.ui.Component> |
CmsImageDiff.diff(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
static java.lang.String |
CmsValueCompareBean.formatContentValueForDiffTable(CmsObject cms,
CmsElementComparison comparison,
java.lang.String origValue)
Formats an xml content value string for display in the value comparison table.
|
java.util.List<CmsAttributeComparison> |
CmsPropertyDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
java.util.List<CmsAttributeComparison> |
CmsAttributeDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2) |
abstract java.util.List<CmsAttributeComparison> |
A_CmsAttributeDiff.getDifferences(CmsObject cms,
CmsHistoryResourceBean v1,
CmsHistoryResourceBean v2)
Gets the attribute comparison beans representing the differences.
|
static CmsResource |
A_CmsAttributeDiff.readResource(CmsObject cms,
CmsHistoryResourceBean bean)
Reads a historical resource for a history resource bean.
|
Constructor and Description |
---|
CmsValueCompareBean(CmsObject cms,
CmsElementComparison elemComp)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CmsErrorUI.getBootstrapPage(CmsObject cms,
java.lang.Throwable throwable,
javax.servlet.http.HttpServletRequest request)
Returns the error bootstrap page HTML.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsChangePasswordDialog.m_cms
The CMS context.
|
protected CmsObject |
CmsSetPasswordDialog.m_cms
The CMS context.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsLoginController.UserAgreementHelper.getCms() |
Modifier and Type | Method and Description |
---|---|
static void |
CmsTokenValidator.clearToken(CmsObject cms,
CmsUser user)
Removes an authorization token from the user's additional information.
|
static java.lang.String |
CmsTokenValidator.createToken(CmsObject cms,
CmsUser user,
long currentTime)
Creates a new token for the given user and stores it in the user's additional info.
|
static java.lang.String |
CmsLoginUI.generateLoginHtmlFragment(CmsObject cms,
com.vaadin.server.VaadinRequest request)
Returns the bootstrap html fragment required to display the login dialog.
|
static java.lang.String |
CmsLoginHelper.getDirectEditPath(CmsObject cms,
CmsUserSettings userSettings,
boolean forceDirectEdit)
Returns the direct edit path from the user settings, or
null if not set. |
static java.lang.String |
CmsLoginController.getFormLink(CmsObject cms)
Returns the link to the login form.
|
static CmsLoginHelper.LoginParameters |
CmsLoginHelper.getLoginParameters(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
boolean workplaceUiRequest)
Returns the login parameters for the current request.
|
static java.lang.String |
CmsLoginController.getLoginTarget(CmsObject currentCms,
CmsWorkplaceSettings settings,
java.lang.String requestedResource)
Gets the login target link.
|
static java.util.List<CmsOrganizationalUnit> |
CmsLoginHelper.getOrgUnitsForLoginDialog(CmsObject cms,
java.lang.String predefOu)
Gets the list of OUs which should be selectable in the login dialog.
|
static CmsWorkplaceSettings |
CmsLoginHelper.initSiteAndProject(CmsObject cms)
Initializes the site and project for a CMS context after login, and returns the workplace settings for the corresponding user.
|
java.lang.String |
CmsLockInactiveAccountsJob.launch(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> parameters) |
static void |
CmsLoginController.logout(CmsObject cms,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Logs out the current user redirecting to the login form afterwards.
|
static boolean |
CmsForgotPasswordDialog.sendPasswordResetLink(CmsObject cms,
java.lang.String fullUserName,
java.lang.String email)
Tries to find a user with the given email address, and if one is found, sends a mail with the password reset link to them.
|
static void |
CmsLoginUI.setAdminCmsObject(CmsObject cms)
Sets the admin CMS object.
|
java.lang.String |
CmsTokenValidator.validateToken(CmsObject cms,
java.lang.String token,
long maxAgeMillis)
Validates the authentication token against the token stored in the user's additional info.
|
Constructor and Description |
---|
CmsChangePasswordDialog(CmsObject cms,
CmsUser user,
java.util.Locale locale)
Creates a new instance.
|
CmsLoginController.UserAgreementHelper(CmsObject cms,
CmsWorkplaceSettings wpSettings)
Creates a new instance.
|
CmsLoginController(CmsObject adminCms,
CmsLoginHelper.LoginParameters params)
Creates a new instance.
|
CmsPasswordChangeNotification(CmsObject cms,
CmsUser receiver,
java.lang.String link,
java.lang.String expiration)
Creates a new instance.
|
CmsSetPasswordDialog(CmsObject cms,
CmsUser user,
java.util.Locale locale)
Creates a new instance.
|
Constructor and Description |
---|
CmsNewResourceBuilder.PropertyEditorHelper(CmsObject cms)
Creates a new instance.
|
CmsNewResourceBuilder(CmsObject cms)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
CmsMacroResolver.m_cms
The OpenCms user context to use for resolving macros.
|
Modifier and Type | Method and Description |
---|---|
static void |
CmsFileUtil.checkResources(CmsObject cms,
java.util.List<java.lang.String> resources)
Checks if all resources are present.
|
org.owasp.validator.html.AntiSamy |
CmsParameterEscaper.createAntiSamy(CmsObject cms,
java.lang.String policyPath)
Creates a new AntiSamy instance for a given policy path.
|
void |
CmsParameterEscaper.enableAntiSamy(CmsObject cms,
java.lang.String policyPath,
java.util.Set<java.lang.String> params)
Enables the AntiSamy HTML cleaning for some parameters.
|
static java.lang.String |
CmsHtmlConverter.getConversionSettings(CmsObject cms,
CmsResource resource)
Reads the content conversion property of a given resource and returns its value.
|
static I_CmsMacroResolver |
CmsMacroResolver.newWorkplaceLocaleResolver(CmsObject cms)
Returns a new macro resolver that loads message keys from the workplace bundle in the user setting's language.
|
static org.owasp.validator.html.Policy |
CmsParameterEscaper.readPolicy(CmsObject cms,
java.lang.String sitePath)
Helper method for reading an AntiSamy policy file from the VFS.
|
static java.lang.String |
CmsMacroResolver.resolveMacros(java.lang.String input,
CmsObject cms,
CmsMessages messages)
Resolves the macros in the given input using the provided parameters.
|
CmsMacroResolver |
CmsMacroResolver.setCmsObject(CmsObject cms)
Provides an OpenCms user context to this macro resolver, required to resolve certain macros.
|
static java.lang.String |
CmsXsltUtil.transformCsvContent(CmsObject cms,
java.lang.String xsltFile,
java.lang.String csvContent,
java.lang.String delimiter)
Changes content from CSV to xml/html.
|
static java.lang.String |
CmsXsltUtil.transformXmlContent(CmsObject cms,
java.lang.String xsltFile,
java.lang.String xmlContent)
Applies a XSLT Transformation to the content.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CmsHtmlWidget.addEmbeddedGalleryOptions(JSONObject result,
CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Adds the configuration for embedded gallery widgets the the JSON object.
|
protected JSONObject |
CmsVfsImageWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected JSONObject |
CmsAdeDownloadGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected JSONObject |
CmsAdeImageGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected abstract JSONObject |
A_CmsAdeGalleryWidget.getAdditionalGalleryInfo(CmsObject cms,
java.lang.String resource,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns additional widget information encapsulated in a JSON object.
|
java.lang.String |
CmsPrincipalWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsSelectGroupWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsUserWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsCategoryWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsMultiSelectGroupWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsLocationPickerWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsInputWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsDependentSelectWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
I_CmsADEWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue contentValue,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the configuration string for the ADE content editor widget.
|
java.lang.String |
A_CmsSelectWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsDisplayWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsColorpickerWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
A_CmsGalleryWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsVfsFileWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsHtmlWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
A_CmsAdeGalleryWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsPasswordWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsTypeComboWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsGroupWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsCheckboxWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsLocalizationWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsTextareaWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsOrgUnitWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.lang.String |
CmsCalendarWidget.getConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale) |
java.util.List<java.lang.String> |
CmsPrincipalWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsSelectGroupWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsAddFormatterWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsUserWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCategoryWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsLocationPickerWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsInputWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
I_CmsADEWidget.getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget.
|
java.util.List<java.lang.String> |
A_CmsSelectWidget.getCssResourceLinks(CmsObject cms)
Returns a list of CSS resources required by the widget.
|
java.util.List<java.lang.String> |
CmsDisplayWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsColorpickerWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsRemoveFormatterWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
A_CmsGalleryWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsVfsFileWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsHtmlWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
A_CmsAdeGalleryWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsPasswordWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsTypeComboWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsGroupWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCheckboxWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsLocalizationWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsTextareaWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsOrgUnitWidget.getCssResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCalendarWidget.getCssResourceLinks(CmsObject cms) |
java.lang.String |
I_CmsWidgetParameter.getDefault(CmsObject cms)
Returns the default value of this parameter.
|
protected java.util.Locale |
CmsCategoryWidget.getDefaultLocale(CmsObject cms,
java.lang.String resource)
Returns the default locale in the content of the given resource.
|
static java.lang.String |
CmsVfsFileWidget.getDefaultSearchTypes(CmsObject cms,
CmsResource resource)
Returns a comma separated list of the default search type names.
|
java.lang.String |
A_CmsWidget.getDialogHtmlEnd(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter value) |
java.lang.String |
CmsComboWidget.getDialogHtmlEnd(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
I_CmsWidget.getDialogHtmlEnd(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Generates the html to include at the end of the dialog for this widget.
|
java.lang.String |
CmsPrincipalWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsUserWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsCategoryWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsVfsImageWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
A_CmsWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsMultiSelectGroupWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsComboWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsColorpickerWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
A_CmsGalleryWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsVfsFileWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsHtmlWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsGroupWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsMultiSelectWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
I_CmsWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog)
Generates the necessary JavaScript inclusion code for this widget.
|
java.lang.String |
CmsOrgUnitWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsCalendarWidget.getDialogIncludes(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
A_CmsWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsComboWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsColorpickerWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
A_CmsGalleryWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsVfsFileWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsHtmlWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
I_CmsWidget.getDialogInitCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog)
Generates the initialisation method JavaScript code for this widget.
|
java.lang.String |
A_CmsWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsColorpickerWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
A_CmsGalleryWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsVfsFileWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
CmsHtmlWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog) |
java.lang.String |
I_CmsWidget.getDialogInitMethod(CmsObject cms,
I_CmsWidgetDialog widgetDialog)
Generates the initialization method JavaScript code for this widget.
|
java.lang.String |
CmsPrincipalWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsRadioSelectWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsUserWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsCategoryWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsVfsImageWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsMultiSelectGroupWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
A_CmsHtmlGalleryWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsLocationPickerWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsInputWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsDisplayWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsComboWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsColorpickerWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
A_CmsGalleryWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsHttpUploadWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsVfsFileWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsHtmlWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
A_CmsAdeGalleryWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsPasswordWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsSelectOnChangeReloadWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsGroupWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsMultiSelectWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsCheckboxWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsSelectWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
I_CmsWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Generates the widget HTML for the provided widget parameter.
|
java.lang.String |
CmsLocalizationWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsTextareaWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsOrgUnitWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsCalendarWidget.getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsAddFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config,
java.lang.String rootPath) |
protected java.util.List<CmsSelectWidgetOption> |
CmsRemoveFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config,
java.lang.String rootPath) |
protected abstract java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.getFormatterOptions(CmsObject cms,
CmsADEConfigData config,
java.lang.String rootPath)
Gets the options corresponding to external (non-schema) formatters.
|
java.util.List<java.lang.String> |
I_CmsImageWidgetDynamicConfiguration.getFormatValues(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.util.List<CmsSelectWidgetOption> selectFormat,
java.util.List<java.lang.String> formatValues)
Returns the matching format values for the given format select options.
|
protected java.util.Map<java.lang.String,java.lang.String> |
CmsVfsImageWidget.getGalleryOpenParams(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.lang.String resource,
long hashId) |
protected java.util.Map<java.lang.String,java.lang.String> |
A_CmsAdeGalleryWidget.getGalleryOpenParams(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param,
java.lang.String resource,
long hashId)
Returns the required gallery open parameters.
|
java.lang.String |
A_CmsWidget.getHelpBubble(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsLocationPickerWidget.getHelpBubble(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsDisplayWidget.getHelpBubble(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
I_CmsWidget.getHelpBubble(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Creates the HTML code for the help bubble for this widget.
|
java.util.List<java.lang.String> |
CmsPrincipalWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsSelectGroupWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsAddFormatterWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsUserWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCategoryWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsLocationPickerWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsInputWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
I_CmsADEWidget.getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget.
|
java.util.List<java.lang.String> |
A_CmsSelectWidget.getJavaScriptResourceLinks(CmsObject cms)
Returns a list of java script resources required by the widget.
|
java.util.List<java.lang.String> |
CmsDisplayWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsColorpickerWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsRemoveFormatterWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
A_CmsGalleryWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsVfsFileWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsHtmlWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
A_CmsAdeGalleryWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsPasswordWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsTypeComboWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsGroupWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCheckboxWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsLocalizationWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsTextareaWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsOrgUnitWidget.getJavaScriptResourceLinks(CmsObject cms) |
java.util.List<java.lang.String> |
CmsCalendarWidget.getJavaScriptResourceLinks(CmsObject cms) |
protected JSONObject |
CmsVfsFileWidget.getJsonConfig(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Gets the JSON configuration.
|
protected JSONObject |
A_CmsAdeGalleryWidget.getJSONConfig(CmsObject cms,
A_CmsXmlContentValue schemaType,
CmsMessages messages,
CmsResource resource,
java.util.Locale contentLocale)
Returns the gallery widget configuration as a JSON object.
|
protected JSONObject |
CmsHtmlWidget.getJSONConfiguration(CmsObject cms,
CmsResource resource,
java.util.Locale contentLocale)
Returns the WYSIWYG editor configuration as a JSON object.
|
protected java.lang.String |
A_CmsAdeGalleryWidget.getOpenGalleryCall(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param,
long hashId)
Returns the javascript call to open the gallery widget dialog.
|
protected CmsResource |
CmsCategoryWidget.getResource(CmsObject cms,
I_CmsWidgetParameter param)
Returns the right resource, depending on the locale.
|
protected java.lang.String |
A_CmsSelectWidget.getResourcePath(CmsObject cms,
I_CmsWidgetDialog dialog)
Gets the resource path for the given dialog.
|
abstract java.util.List<java.lang.String> |
A_CmsNativeComplexWidget.getScripts(CmsObject cms)
Gets the list of URLs of scripts which the widget reuires.
|
protected java.lang.String |
A_CmsSelectWidget.getSelectedValue(CmsObject cms,
I_CmsWidgetParameter param)
Returns the currently selected value of the select widget.
|
protected java.lang.String |
CmsVfsImageWidget.getSelectedValue(CmsObject cms,
java.util.List<CmsSelectWidgetOption> selectOptions,
java.lang.String currentValue)
Returns the currently selected value of the select widget.
|
protected java.util.List<java.lang.String> |
A_CmsSelectWidget.getSelectedValues(CmsObject cms,
I_CmsWidgetParameter param)
Returns the currently selected values of the select widget.
|
protected java.lang.String |
CmsCategoryWidget.getStartingCategory(CmsObject cms,
java.lang.String referencePath)
Returns the starting category depending on the configuration options.
|
java.lang.String |
I_CmsGalleryWidgetDynamicConfiguration.getStartup(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the required information for the initial item list to load.
|
java.lang.String |
I_CmsImageWidgetDynamicConfiguration.getStartup(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the required information for the initial image list to load.
|
java.lang.String |
I_CmsWidgetParameter.getStringValue(CmsObject cms)
Returns the value of this parameter.
|
abstract java.util.List<java.lang.String> |
A_CmsNativeComplexWidget.getStyleSheets(CmsObject cms)
Gets the list of URLs of stylesheets which are required by the widget.
|
protected java.lang.String |
CmsVfsFileWidget.getTreeToken(CmsObject cms,
A_CmsXmlContentValue value,
CmsResource resource,
java.util.Locale contentLocale)
Computes the tree token, which is used to decide which preloaded tree, if any, to load for the VFS/sitemap tabs.
|
java.lang.String |
I_CmsGalleryWidgetDynamicConfiguration.getType(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the type of the initial item list to load, either gallery or category.
|
java.lang.String |
I_CmsImageWidgetDynamicConfiguration.getType(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param)
Returns the type of the initial image list to load, either gallery or category.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsAddFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData adeConfig) |
protected java.util.List<CmsSelectWidgetOption> |
CmsRemoveFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData adeConfig) |
protected abstract java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.getTypeOptions(CmsObject cms,
CmsADEConfigData config)
Gets the options corresponding to the schemas which define formatters.
|
protected CmsVfsImageWidgetConfiguration |
CmsAdeImageGalleryWidget.getWidgetConfiguration(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected CmsGalleryWidgetConfiguration |
A_CmsAdeGalleryWidget.getWidgetConfiguration(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns the widget configuration.
|
CmsComplexWidgetData |
CmsDefaultComplexWidget.getWidgetData(CmsObject cms) |
CmsComplexWidgetData |
I_CmsComplexWidget.getWidgetData(CmsObject cms)
Gets the data needed for the editor to render the complex widget.
|
CmsComplexWidgetData |
A_CmsNativeComplexWidget.getWidgetData(CmsObject cms) |
static CmsSelectWidgetOption |
A_CmsFormatterWidget.getWidgetOptionForFormatter(CmsObject cms,
I_CmsFormatterBean formatter)
Creates a widget option corresponding to a formatter bean for an external formatter.
|
static CmsSelectWidgetOption |
A_CmsFormatterWidget.getWidgetOptionForType(CmsObject cms,
java.lang.String typeName)
Creates a widget option for a resource type.
|
java.lang.String |
CmsVfsImageWidget.getWidgetStringValue(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
A_CmsWidget.getWidgetStringValue(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
CmsSelectWidget.getWidgetStringValue(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
java.lang.String |
I_CmsWidget.getWidgetStringValue(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the
processed according to the output rules of this widget and the given widget dialog. |
java.lang.String |
CmsCalendarWidget.getWidgetStringValue(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected void |
CmsGalleryWidgetConfiguration.init(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param,
java.lang.String configuration)
Initializes the widget configuration using the given configuration string.
|
protected void |
CmsVfsImageWidgetConfiguration.init(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.lang.String configuration)
Initializes the widget configuration using the given configuration string.
|
protected void |
CmsLocalizationWidget.initConfiguration(CmsObject cms,
A_CmsXmlContentValue schemaType)
Initializes the localized bundle to get the value from, the optional key name and the optional locale.
|
protected void |
CmsLocalizationWidget.initConfiguration(CmsObject cms,
I_CmsWidgetParameter param)
Initializes the localized bundle to get the value from, the optional key name and the optional locale.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsSelectGroupWidget.parseSelectOptions(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param)
Returns the list of configured select options, parsing the configuration String if required.
|
protected java.util.List<CmsSelectWidgetOption> |
CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsSelectGroupWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsElementViewSelectWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
A_CmsSelectWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the list of configured select options, parsing the configuration String if required.
|
protected java.util.List<CmsSelectWidgetOption> |
A_CmsFormatterWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsDisplayTypeSelectWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
A_CmsHtmlWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsInputWidgetPlaintext.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsCategoryWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsVfsImageWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
A_CmsWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsMultiSelectGroupWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsColorpickerWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsHtmlWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsMultiSelectWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsCheckboxWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
I_CmsWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Sets the value of in the given widget parameter by reading the "right"
value from the offered map of parameters.
|
void |
CmsLocalizationWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsTextareaWidgetPlaintext.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
void |
CmsCalendarWidget.setEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
static void |
CmsMultiSelectWidget.setMultiSelectEditorValue(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String[]> formParameters,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Sets the value of the widget parameter from the provided form parameters.
|
void |
I_CmsWidgetParameter.setStringValue(CmsObject cms,
java.lang.String value)
Sets the value of this parameter.
|
Constructor and Description |
---|
CmsGalleryWidgetConfiguration(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.lang.String configuration)
Generates an initialized configuration for the gallery item widget using the given configuration string.
|
CmsVfsFileWidget.SearchTypesFactory(CmsObject cms,
CmsResource resource)
Constructor.
|
CmsVfsImageWidgetConfiguration(CmsObject cms,
CmsMessages widgetDialog,
I_CmsWidgetParameter param,
java.lang.String configuration)
Generates an initialized configuration for the image widget using the given configuration string.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
A_CmsWorkflowManager.m_adminCms
The CMS context with admin privileges.
|
Modifier and Type | Method and Description |
---|---|
protected CmsWorkflowResponse |
CmsDefaultWorkflowManager.actionForcePublish(CmsObject userCms,
CmsPublishOptions options,
java.util.List<CmsResource> resources)
The implementation of the "forcepublish" workflow action.
|
protected CmsWorkflowResponse |
CmsDefaultWorkflowManager.actionPublish(CmsObject userCms,
CmsPublishOptions options,
java.util.List<CmsResource> resources)
The implementation of the "publish" workflow action.
|
protected CmsWorkflowResponse |
CmsExtendedWorkflowManager.actionRelease(CmsObject userCms,
java.util.List<CmsResource> resources)
Implementation of the 'release' workflow action.
|
protected void |
CmsExtendedWorkflowManager.checkNewParentsInList(CmsObject userCms,
java.util.List<CmsResource> resources)
Checks that the parent folders of new resources which are released are either not new or are also released.
|
I_CmsPublishResourceFormatter |
CmsExtendedWorkflowManager.createFormatter(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options) |
I_CmsPublishResourceFormatter |
I_CmsWorkflowManager.createFormatter(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
Creates the formatter for formatting the resources to be displayed to the user.
|
I_CmsPublishResourceFormatter |
CmsDefaultWorkflowManager.createFormatter(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options) |
static CmsProjectBean |
CmsDefaultWorkflowManager.createProjectBeanFromProject(CmsObject cms,
CmsProject project)
Creates a project bean from a real project.
|
CmsWorkflowResponse |
I_CmsWorkflowManager.executeAction(CmsObject cms,
CmsWorkflowAction action,
CmsPublishListToken token)
Executes a workflow action for a publish list token instead of a resource list.
|
CmsWorkflowResponse |
CmsDefaultWorkflowManager.executeAction(CmsObject cms,
CmsWorkflowAction action,
CmsPublishListToken token) |
CmsWorkflowResponse |
CmsExtendedWorkflowManager.executeAction(CmsObject userCms,
CmsWorkflowAction action,
CmsPublishOptions options,
java.util.List<CmsResource> resources) |
CmsWorkflowResponse |
I_CmsWorkflowManager.executeAction(CmsObject userCms,
CmsWorkflowAction action,
CmsPublishOptions options,
java.util.List<CmsResource> resources)
Executes a workflow action in the context of the current user.
|
CmsWorkflowResponse |
CmsDefaultWorkflowManager.executeAction(CmsObject userCms,
CmsWorkflowAction action,
CmsPublishOptions options,
java.util.List<CmsResource> resources) |
protected java.lang.String |
CmsExtendedWorkflowManager.generateProjectDescription(CmsObject userCms)
Generates the description for a new workflow project based on the user for whom it is created.
|
protected java.lang.String |
CmsExtendedWorkflowManager.generateProjectName(CmsObject userCms)
Generates the name for a new workflow project based on the user for whom it is created.
|
protected java.lang.String |
CmsExtendedWorkflowManager.generateProjectName(CmsObject userCms,
boolean shortTime)
Generates the name for a new workflow project based on the user for whom it is created.
|
java.lang.String |
CmsDefaultWorkflowManager.getLabel(CmsObject cms,
java.lang.String key)
Gets the localized label for a given CMS context and key.
|
protected java.util.Locale |
A_CmsWorkflowManager.getLocale(CmsObject userCms)
Gets the locale to use for a given CMS context.
|
java.util.List<CmsProjectBean> |
I_CmsWorkflowManager.getManageableProjects(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params)
Returns the current user's manageable projects.
|
java.util.List<CmsProjectBean> |
CmsDefaultWorkflowManager.getManageableProjects(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params) |
static java.lang.String |
CmsDefaultPublishResourceFormatter.getOuAwareName(CmsObject cms,
java.lang.String name)
Returns the simple name if the ou is the same as the current user's ou.
|
protected static java.lang.String |
CmsDefaultWorkflowManager.getOuAwareName(CmsObject cms,
java.lang.String name)
Returns the simple name if the ou is the same as the current user's ou.
|
protected CmsWorkflowResponse |
CmsExtendedWorkflowManager.getPublishBrokenRelationsResponse(CmsObject userCms,
java.util.List<CmsPublishResource> publishResources)
Helper method for generating the workflow response which should be sent when publishing the resources would break relations.
|
CmsPublishListToken |
I_CmsWorkflowManager.getPublishListToken(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options)
Gets a publish list token for the given parameters which can be used later to reconstruct the publish list.
|
CmsPublishListToken |
CmsDefaultWorkflowManager.getPublishListToken(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options) |
java.util.List<CmsResource> |
CmsExtendedRealProjectWrapper.getResources(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> params,
java.lang.String workflowId) |
CmsWorkflowResources |
CmsExtendedWorkflowManager.getWorkflowResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options,
boolean canOverrideWorkflow) |
CmsWorkflowResources |
I_CmsWorkflowManager.getWorkflowResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options,
boolean canOverride)
Returns the resources for the given workflow and project.
|
CmsWorkflowResources |
CmsDefaultWorkflowManager.getWorkflowResources(CmsObject cms,
CmsWorkflow workflow,
CmsPublishOptions options,
boolean canOverride) |
java.util.Map<java.lang.String,CmsWorkflow> |
CmsExtendedWorkflowManager.getWorkflows(CmsObject cms) |
java.util.Map<java.lang.String,CmsWorkflow> |
I_CmsWorkflowManager.getWorkflows(CmsObject cms)
Returns the available workflows for the current user.
|
java.util.Map<java.lang.String,CmsWorkflow> |
CmsDefaultWorkflowManager.getWorkflows(CmsObject cms) |
void |
CmsExtendedWorkflowManager.initialize(CmsObject adminCms) |
void |
I_CmsWorkflowManager.initialize(CmsObject adminCms)
Initializes this workflow manager instance.
|
void |
A_CmsWorkflowManager.initialize(CmsObject adminCms) |
void |
CmsDefaultWorkflowManager.initialize(CmsObject adminCms) |
protected boolean |
CmsExtendedWorkflowManager.isProjectManager(CmsObject userCms)
Checks whether the user for a given CMS context can manage workflow projects.
|
protected void |
CmsExtendedWorkflowManager.sendNotification(CmsObject userCms,
CmsUser recipient,
CmsProject workflowProject,
java.util.List<CmsResource> resources)
Sends the notification for released resources.
|
Constructor and Description |
---|
CmsDefaultPublishResourceFormatter(CmsObject cms)
Constructor.
|
CmsExtendedPublishResourceFormatter(CmsObject cms)
Constructor.
|
CmsWorkflowNotification(CmsObject adminCms,
CmsObject userCms,
CmsUser receiver,
java.lang.String notificationContent,
CmsProject project,
java.util.List<CmsResource> resources,
java.lang.String link)
Creates a new workflow notification mail object.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsWorkplace.getCms()
Returns the initialized cms object for the current user.
|
CmsObject |
CmsWorkplaceAction.getCmsAdminObject()
Gets the admin cmsObject.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CmsWorkplace.canEditPermissionsForRoles(CmsObject cms,
java.lang.String path)
Checks if permissions for roles should be editable for the current user on the resource with the given path.
|
void |
CmsWorkplaceManager.checkWorkplaceRequest(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Checks whether the workplace is accessed through the workplace server, and sends an error message otherwise.
|
java.lang.String |
CmsWorkplaceManager.createTempFile(CmsObject cms,
java.lang.String resourceName,
CmsUUID currentProjectId)
Creates a temporary file which is needed while working in an editor with preview option.
|
static java.lang.String |
CmsWorkplace.generateCssStyle(CmsObject cms)
Returns the style sheets for the report.
|
static java.lang.String |
CmsWorkplace.generatePageStartExtended(CmsObject cms,
java.lang.String encoding)
Generates the header for the extended report view.
|
long |
CmsWorkplaceManager.getFileBytesMaxUploadSize(CmsObject cms)
Returns the value (in bytes) for the maximum file upload size of the current user.
|
java.lang.String |
CmsRepositoryFolderHandler.getRepositoryFolder(CmsObject cms,
java.lang.String reference,
java.lang.String type) |
java.lang.String |
I_CmsRepositoryFolderHandler.getRepositoryFolder(CmsObject cms,
java.lang.String reference,
java.lang.String type)
Returns the repository folder to store new contents in.
|
static java.lang.String |
CmsWorkplace.getStartSiteRoot(CmsObject cms,
CmsWorkplaceSettings settings)
Returns the start site from the given workplace settings.
|
java.lang.String |
I_CmsPostUploadDialogHandler.getUploadHook(CmsObject cms,
java.lang.String uploadFolderSitePath)
Gets the upload hook URI.
|
java.lang.String |
CmsWorkplaceManager.getUploadHook(CmsObject cms,
java.lang.String uploadFolder)
Gets the upload hook URI which should be opened for an upload to a given folder.
|
static java.lang.String |
CmsWorkplace.getWorkplaceExplorerLink(CmsObject cms,
java.lang.String explorerRootPath)
Creates a link for the OpenCms workplace that will reload the whole workplace, switch to the explorer view, the
site of the given explorerRootPath and show the folder given in the explorerRootPath.
|
java.util.Locale |
CmsWorkplaceManager.getWorkplaceLocale(CmsObject cms)
Returns the workplace locale from the current user's settings.
|
static CmsWorkplaceSettings |
CmsWorkplace.getWorkplaceSettings(CmsObject cms,
javax.servlet.http.HttpServletRequest req)
Returns the workplace settings of the current user.
|
void |
CmsWorkplaceManager.initHandler(CmsObject cms) |
void |
CmsWorkplaceManager.initialize(CmsObject cms)
Initializes the workplace manager with the OpenCms system configuration.
|
void |
CmsWorkplaceAction.initialize(CmsObject adminCms,
CmsConfigurationManager configurationManager,
CmsModule module) |
CmsResource |
CmsWorkplaceLoginHandler.initResource(CmsResource resource,
CmsObject cms,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
static CmsWorkplaceSettings |
CmsWorkplace.initUserSettings(CmsObject cms,
CmsWorkplaceSettings settings,
boolean update)
Updates the user settings in the given workplace settings for the current user, reading the user settings
from the database if required.
|
protected void |
CmsWorkplace.initWorkplaceMembers(CmsObject cms,
javax.servlet.http.HttpSession session)
Initializes this workplace class instance.
|
static CmsWorkplaceSettings |
CmsWorkplace.initWorkplaceSettings(CmsObject cms,
CmsWorkplaceSettings settings,
boolean update)
Updates the given workplace settings, also re-initializing
the state of the Workplace to the users preferences (for example setting the startup site and project).
|
void |
CmsWorkplaceSettings.setExplorerResource(java.lang.String value,
CmsObject cms)
Sets the current resource to be displayed in the explorer.
|
void |
CmsWorkplaceManager.setFileViewSettings(CmsObject cms,
CmsRfsFileViewer fileViewSettings)
Sets the system-wide file view settings for the workplace.
|
static void |
CmsWorkplace.updateUserPreferences(CmsObject cms,
javax.servlet.http.HttpServletRequest req)
Updates the user preferences after changes have been made.
|
Constructor and Description |
---|
CmsWorkplace(CmsObject cms,
javax.servlet.http.HttpSession session)
Constructor in case no page context is available.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsAttributeComparison> |
CmsResourceComparison.compareAttributes(CmsObject cms,
CmsResource resource1,
CmsResource resource2)
Helper method that collects all meta attributes of the two file versions and
finds out, which of the attributes were added, removed, modified or remain unchanged.
|
static java.util.List<CmsAttributeComparison> |
CmsResourceComparison.compareProperties(CmsObject cms,
CmsResource resource1,
java.lang.String version1,
CmsResource resource2,
java.lang.String version2)
Helper method that finds out, which of the properties were added, removed, modified or remain unchanged.
|
static java.lang.String |
CmsHistoryListUtil.getHistoryLink(CmsObject cms,
CmsUUID structureId,
java.lang.String version)
Returns the link to an historical file.
|
Constructor and Description |
---|
CmsXmlDocumentComparison(CmsObject cms,
CmsFile res1,
CmsFile res2)
Creates a new xml document comparison.
|
Modifier and Type | Method and Description |
---|---|
protected CmsObject |
CmsEditor.getCloneCms()
Returns a cloned cms instance that prevents the time range resource filter check.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CmsWorkplaceEditorManager.checkAcaciaEditorAvailable(CmsObject cms,
CmsResource resource)
Checks whether GWT widgets are available for all fields of a content.
|
static java.util.List<CmsDialogElement> |
CmsDialogElements.computeElements(CmsObject cms,
CmsXmlPage xmlPage,
java.lang.String xmlPageUri,
java.util.Locale locale)
Creates a list of possible elements of a template from the template property "template-elements"
and the elements available in the provided xmlPage.
|
static java.util.List<CmsDialogElement> |
CmsDialogElements.computeElements(CmsObject cms,
java.lang.String xmlPageUri,
java.util.Locale locale)
Creates a list of possible elements of a template from the template property "template-elements"
and the elements available in the provided resource file.
|
java.util.Properties |
CmsEditorDisplayOptions.getDisplayOptions(CmsObject cms)
Reads the editor configuration file valid for the current user and caches the result in a Map.
|
java.lang.String |
I_CmsEditorHandler.getEditorUri(CmsObject cms,
java.lang.String resourceType,
java.lang.String userAgent,
boolean loadDefault)
Returns the editor URI which will be used for the selected resource type.
|
java.lang.String |
CmsEditorHandler.getEditorUri(CmsObject cms,
java.lang.String resourceType,
java.lang.String userAgent,
boolean loadDefault) |
protected java.lang.String |
CmsEditor.getFileEncoding(CmsObject cms,
java.lang.String filename)
Helper method to determine the encoding of the given file in the VFS,
which must be set using the "content-encoding" property.
|
java.lang.String |
CmsEditorCssHandlerDefault.getUriStyleSheet(CmsObject cms,
java.lang.String editedResourcePath) |
java.lang.String |
I_CmsEditorCssHandler.getUriStyleSheet(CmsObject cms,
java.lang.String editedResourcePath)
Returns the absolute VFS path of the CSS style sheet to use.
|
boolean |
CmsEditorCssHandlerDefault.matches(CmsObject cms,
java.lang.String editedResourcePath) |
boolean |
I_CmsEditorCssHandler.matches(CmsObject cms,
java.lang.String editedResourcePath)
Checks if the handler can be used to determine the CSS style sheet based on the edited resource.
|
Constructor and Description |
---|
CmsWorkplaceEditorManager(CmsObject cms)
Creates a new editor manager.
|
Modifier and Type | Field and Description |
---|---|
protected CmsObject |
A_CmsDirectEditProvider.m_cms
The current users OpenCms context.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Messages.getLocalizedMessage(CmsMessageContainer container,
CmsObject cms)
Returns the String for the given CmsMessageContainer localized to the current user's locale
if available or to the default locale else.
|
void |
CmsDirectEditJQueryProvider.init(CmsObject cms,
CmsDirectEditMode mode,
java.lang.String fileName) |
void |
CmsDirectEditJspIncludeProvider.init(CmsObject cms,
CmsDirectEditMode mode,
java.lang.String fileName) |
void |
I_CmsDirectEditProvider.init(CmsObject cms,
CmsDirectEditMode mode,
java.lang.String fileName)
Initialize method for a new instance of the direct edit provider.
|
void |
CmsDirectEditDefaultProvider.init(CmsObject cms,
CmsDirectEditMode mode,
java.lang.String fileName) |
void |
A_CmsDirectEditProvider.init(CmsObject cms,
CmsDirectEditMode mode,
java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsResourceUtil.getCms()
Returns the cms context.
|
Modifier and Type | Method and Description |
---|---|
CmsPermissionSet |
CmsExplorerTypeAccess.getPermissions(CmsObject cms,
CmsResource resource)
Calculates the permissions for this explorer type settings
for the user in the given OpenCms user context.
|
boolean |
CmsExplorerTypeSettings.isEditable(CmsObject cms,
CmsResource resource)
Checks if the current user has write permissions on the given resource.
|
void |
CmsResourceUtil.setCms(CmsObject cms)
Sets the cms context.
|
Constructor and Description |
---|
CmsResourceUtil(CmsObject cms)
Creates a new
CmsResourceUtil object. |
CmsResourceUtil(CmsObject cms,
CmsResource resource)
Creates a new
CmsResourceUtil object. |
Modifier and Type | Method and Description |
---|---|
I_CmsMenuItemRule |
CmsMenuRule.getMatchingRule(CmsObject cms,
CmsResourceUtil[] resourceUtil)
Returns the first matching rule for the resource to create the context menu for.
|
CmsMenuItemVisibilityMode |
CmsMirPrOtherActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirSitemapInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirActiveNonDeleted.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedActiveDeletedAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirAlwaysInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirContainerPageActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedActiveDeletedNoAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameOtherlockInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirMultiStandard.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirEditControlcode.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirAlwaysActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirOtherSiteInactive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameOtherlockActiveNoPublish.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
A_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedActiveNotDeletedNoAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirRequireWorkplaceUserRole.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
I_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil)
Returns the visibility for the menu item.
|
CmsMenuItemVisibilityMode |
CmsMirPrOnlineActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirExplorerInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrOnlineInactive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirShowSiblings.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirInvisibleIfNotDeleted.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirEditProviderActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedInactiveNoAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrOtherInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedActiveUnchanged.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedActiveNotDeletedAlPermW.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirRequireEditorRole.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedActiveNotDeletedAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedActiveChangedAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameUnlockedInactiveNotDeletedNoAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrOtherInactive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirContainerpageInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirSitemapActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirNonContainerpageInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameOtherlockActive.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirDirectPublish.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirMultiDirPublishStandard.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrSameLockedInactiveMovedAl.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirPrOnlineInvisible.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
CmsMenuItemVisibilityMode |
CmsMirContainerPageActiveAndFileAvailable.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
CmsExplorerContextMenuItem menuItem) |
CmsMenuItemVisibilityMode |
A_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
CmsExplorerContextMenuItem menuItem)
Gets the visibility depending on resource utilities and the current menu item data.
|
CmsMenuItemVisibilityMode |
CmsMirSitemapActiveAndFileAvailable.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
CmsExplorerContextMenuItem menuItem) |
CmsMenuItemVisibilityMode |
A_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule) |
CmsMenuItemVisibilityMode |
I_CmsMenuItemRule.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule)
Returns the visibility for the menu item, depending on the resource utilities and menu item rules.
|
CmsMenuItemVisibilityMode |
CmsMirSubStandard.getVisibility(CmsObject cms,
CmsResourceUtil[] resourceUtil,
I_CmsMenuItemRule[] rule) |
boolean |
CmsMirPrOtherActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirSitemapInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirActiveNonDeleted.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedActiveDeletedAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirAlwaysInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirContainerPageActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedActiveDeletedNoAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameOtherlockInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirMultiStandard.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirEditControlcode.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirAlwaysActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirOtherSiteInactive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameOtherlockActiveNoPublish.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedActiveNotDeletedNoAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirRequireWorkplaceUserRole.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
I_CmsMenuItemRule.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil)
Returns if the rule for the menu item should be applied or not.
|
boolean |
CmsMirPrOnlineActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirExplorerInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrOnlineInactive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirShowSiblings.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirInvisibleIfNotDeleted.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirEditProviderActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedInactiveNoAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrOtherInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedActiveUnchanged.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedActiveNotDeletedAlPermW.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirRequireEditorRole.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedActiveNotDeletedAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedActiveChangedAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameUnlockedInactiveNotDeletedNoAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrOtherInactive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirContainerpageInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirSitemapActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirNonContainerpageInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameOtherlockActive.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirSubStandard.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirDirectPublish.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirMultiDirPublishStandard.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrSameLockedInactiveMovedAl.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
boolean |
CmsMirPrOnlineInvisible.matches(CmsObject cms,
CmsResourceUtil[] resourceUtil) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<CmsResource> |
A_CmsAjaxGallery.getGalleries(int galleryTypeId,
CmsObject cms)
Returns a list of galleries which have the required gallery type id.
|
Constructor and Description |
---|
CmsDatabaseImportThread(CmsObject cms,
java.lang.String importFile,
boolean keepPermissions)
Imports an OpenCms export file into the VFS.
|
CmsExportThread(CmsObject cms,
I_CmsImportExportHandler handler,
boolean old)
Creates a new data export thread.
|
CmsExternalLinksValidatorThread(CmsObject cms)
Constructor, creates a new CmsExternLinkValidationThread.
|
CmsModuleDeleteThread(CmsObject cms,
java.util.List<java.lang.String> moduleNames,
boolean replaceMode)
Creates the module delete thread.
|
CmsModuleReplaceThread(CmsObject cms,
java.lang.String moduleName,
java.lang.String zipName)
Creates the module replace thread.
|
CmsProjectDeleteThread(CmsObject cms,
CmsUUID projectId)
Creates the project delete thread.
|
CmsRelationsValidatorThread(CmsObject cms)
Creates a thread that validates the relations for all files of the current project.
|
CmsRelationsValidatorThread(CmsObject cms,
CmsPublishList publishList,
CmsWorkplaceSettings settings)
Creates a thread that validates the relations in the list of unpublished file(s) of the
current (offline) project.
|
CmsSynchronizeThread(CmsObject cms)
Creates the synchronize Thread.
|
CmsXmlContentRepairSettings(CmsObject cms)
Default constructor with cms object that is used for VFS path validation.
|
CmsXmlContentRepairThread(CmsObject cms,
CmsXmlContentRepairSettings settings)
Creates a repair XML content resources thread.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsToolManager.configure(CmsObject cms)
Called by the
method. |
boolean |
CmsOnlyAdminToolHandler.isEnabled(CmsObject cms) |
boolean |
CmsToolRootHandler.isEnabled(CmsObject cms) |
boolean |
CmsOfflineToolHandler.isEnabled(CmsObject cms) |
boolean |
CmsDefaultToolHandler.isEnabled(CmsObject cms) |
boolean |
I_CmsToolHandler.isEnabled(CmsObject cms)
Returns the state of the admin tool for a given cms context.
|
boolean |
CmsInvisibleToolHandler.isEnabled(CmsObject cms) |
boolean |
CmsOnlyAdminToolHandler.isVisible(CmsObject cms) |
boolean |
CmsToolRootHandler.isVisible(CmsObject cms) |
boolean |
CmsDefaultToolHandler.isVisible(CmsObject cms) |
boolean |
I_CmsToolHandler.isVisible(CmsObject cms)
Returns the visibility flag for a given cms context.
|
boolean |
CmsInvisibleToolHandler.isVisible(CmsObject cms) |
protected void |
A_CmsToolHandler.setLink(CmsObject cms,
java.lang.String resourcePath)
Sets the link for the given resource.
|
protected void |
A_CmsToolHandler.setParameters(CmsObject cms,
java.lang.String resourcePath)
Sets the needed properties from the
A_CmsToolHandler.ARGS_PROPERTY_DEFINITION property of the given resource. |
boolean |
CmsToolRootHandler.setup(CmsObject cms,
CmsToolRootHandler root,
java.lang.String resourcePath) |
boolean |
A_CmsToolHandler.setup(CmsObject cms,
CmsToolRootHandler root,
java.lang.String resourcePath)
Default implementation.
|
boolean |
I_CmsToolHandler.setup(CmsObject cms,
CmsToolRootHandler root,
java.lang.String resourcePath)
Main method that somehow setups the admin tool handler.
|
Modifier and Type | Method and Description |
---|---|
org.dom4j.Element |
CmsXmlContentDefinition.addDefaultXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale)
Adds the missing default XML according to this content definition to the given document element.
|
void |
I_CmsXmlDocument.addLocale(CmsObject cms,
java.util.Locale locale)
Adds the given locale to this XML document.
|
CmsFile |
A_CmsXmlDocument.correctXmlStructure(CmsObject cms)
Corrects the structure of this XML document.
|
org.dom4j.Element |
CmsXmlContentDefinition.createDefaultXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale)
Generates the default XML content for this content definition, and append it to the given root element.
|
org.dom4j.Document |
CmsXmlContentDefinition.createDocument(CmsObject cms,
I_CmsXmlDocument document,
java.util.Locale locale)
Generates a valid XML document according to the XML schema of this content definition.
|
org.dom4j.Element |
CmsXmlContentDefinition.createLocale(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale)
Generates a valid locale (language) element for the XML schema of this content definition.
|
static CmsXmlContentDefinition |
CmsXmlContentDefinition.getContentDefinitionForResource(CmsObject cms,
CmsResource resource)
Factory method that returns the XML content definition instance for a given resource.
|
static CmsXmlContentDefinition |
CmsXmlContentDefinition.getContentDefinitionForType(CmsObject cms,
java.lang.String typeName)
Reads the content definition which is configured for a resource type.
|
static I_CmsXmlContentHandler |
CmsXmlContentDefinition.getContentHandlerForResource(CmsObject cms,
CmsResource resource)
Returns a content handler instance for the given resource.
|
CmsLinkProcessor |
I_CmsXmlDocument.getLinkProcessor(CmsObject cms,
CmsLinkTable linkTable)
Returns a link processor for the values of this XML document.
|
java.lang.String |
I_CmsXmlDocument.getStringValue(CmsObject cms,
java.lang.String path,
java.util.Locale locale)
Returns the first content value for the given path as a String,
or
null if no such value exists. |
java.lang.String |
A_CmsXmlDocument.getStringValue(CmsObject cms,
java.lang.String path,
java.util.Locale locale) |
java.lang.String |
I_CmsXmlDocument.getStringValue(CmsObject cms,
java.lang.String path,
java.util.Locale locale,
int index)
Returns the content value for the given path and the selected index as a String,
or
null if no such value exists. |
java.lang.String |
A_CmsXmlDocument.getStringValue(CmsObject cms,
java.lang.String path,
java.util.Locale locale,
int index) |
void |
CmsXmlContentTypeManager.initialize(CmsObject cms)
Initializes XML content types managed in this XML content type manager.
|
protected static void |
CmsXmlEntityResolver.initialize(CmsObject adminCms,
byte[] typeSchemaBytes)
Initialize the OpenCms XML entity resolver.
|
static CmsXmlContentDefinition |
CmsXmlContentDefinition.unmarshal(CmsObject cms,
java.lang.String resourcename)
Factory method to unmarshal (read) a XML content definition instance from the OpenCms VFS resource name.
|
CmsXmlContentErrorHandler |
I_CmsXmlDocument.validate(CmsObject cms)
Validates the content of this XML document.
|
Constructor and Description |
---|
CmsXmlEntityResolver(CmsObject cms)
Creates a new XML entity resolver based on the provided CmsObject.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CmsXmlContainerPage.checkLinkConcistency(CmsObject cms)
Checks the link consistency for a given locale and reinitializes the document afterwards.
|
protected CmsContainerPageBean |
CmsXmlContainerPage.cleanupContainersContainers(CmsObject cms,
CmsContainerPageBean cntPage)
Removes all empty containers and merges the containers of the current document that are not used in the given container page with it.
|
static CmsFormatterConfiguration |
CmsFormatterConfiguration.create(CmsObject cms,
java.util.List<I_CmsFormatterBean> formatters)
Returns the formatter configuration for the current project based on the given list of formatters.
|
byte[] |
CmsXmlContainerPage.createContainerPageXml(CmsObject cms,
CmsContainerPageBean cntPage)
Saves a container page bean to the in-memory XML structure and returns the changed content.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new instance of an container page based on the given default content,
that will have all language nodes of the default content and ensures the presence of the given locale.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new instance of an group container based on the given default content,
that will have all language nodes of the default content and ensures the presence of the given locale.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new instance of a container page based on the given content definition,
that will have one language node for the given locale all initialized with default values.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new instance of a group container based on the given content definition,
that will have one language node for the given locale all initialized with default values.
|
static CmsContainerElementBean |
CmsContainerElementBean.createElementForResourceType(CmsObject cms,
I_CmsResourceType resourceType,
java.lang.String targetFolder,
java.util.Map<java.lang.String,java.lang.String> individualSettings,
boolean isCopyModels,
java.util.Locale locale)
Creates an element bean for the given resource type.
|
CmsResource |
CmsLazyFolder.createFolder(CmsObject cms)
Creates the folder with the given name if it doesn't already exist, and returns it.
|
CmsResource |
I_CmsADEConfiguration.createNewElement(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type,
java.util.Locale locale)
Creates a new element of a given type at the configured location.
|
protected void |
CmsXmlGroupContainer.fillResource(CmsObject cms,
org.dom4j.Element element,
CmsResource res)
Fills a
CmsXmlVfsFileValue with the resource identified by the given id. |
protected CmsResource |
CmsXmlContainerPage.fillResource(CmsObject cms,
org.dom4j.Element element,
CmsUUID resourceId)
Fills a
CmsXmlVfsFileValue with the resource identified by the given id. |
protected java.util.List<CmsDynamicFunctionBean.Format> |
CmsDynamicFunctionParser.getAdditionalFormats(CmsObject cms,
I_CmsXmlContentLocation location,
CmsResource functionRes)
Parses all the additional formats from the XML content.
|
static CmsADESessionCache |
CmsADESessionCache.getCache(javax.servlet.http.HttpServletRequest request,
CmsObject cms)
Gets the session cache for the current session.
|
CmsResource |
CmsConfigurationFileFinder.getConfigurationFile(CmsObject cms,
java.lang.String containerPageUri)
Returns the configuration file to use.
|
CmsContainerPageBean |
CmsXmlContainerPage.getContainerPage(CmsObject cms)
Gets the container page content as a bean.
|
java.util.Collection<CmsResource> |
I_CmsADEConfiguration.getCreatableElements(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
Returns the list of creatable elements.
|
java.util.Set<java.lang.String> |
CmsXmlGroupContainerHandler.getCSSHeadIncludes(CmsObject cms,
CmsResource resource) |
java.util.Set<java.lang.String> |
CmsXmlInheritGroupContainerHandler.getCSSHeadIncludes(CmsObject cms,
CmsResource resource) |
int |
I_CmsADEConfiguration.getFavoriteListMaxSize(CmsObject cms)
Returns the maximal size of the favorite list.
|
CmsResource |
CmsLazyFolder.getFolder(CmsObject cms)
Returns the folder if it already exists, or null if it doesn't.
|
CmsDynamicFunctionBean.Format |
CmsDynamicFunctionBean.getFormatForContainer(CmsObject cms,
java.lang.String type,
int width)
Finds the correct format for a given container type and width.
|
CmsFormatterConfiguration |
CmsXmlDynamicFunctionHandler.getFormatterConfiguration(CmsObject cms,
CmsResource resource) |
CmsFormatterConfiguration |
I_CmsADEConfiguration.getFormattersForResource(CmsObject cms,
java.lang.String containerPageRootPath,
CmsResource res)
Returns the formatter configuration for a given resource.
|
protected CmsResource |
CmsDynamicFunctionParser.getFunctionFormatter(CmsObject cms)
Gets the function formatter resource, possibly from the cache.
|
CmsGroupContainerBean |
CmsXmlGroupContainer.getGroupContainer(CmsObject cms)
Returns the group container bean for the given locale.
|
java.util.Set<java.lang.String> |
CmsXmlGroupContainerHandler.getJSHeadIncludes(CmsObject cms,
CmsResource resource) |
java.util.Set<java.lang.String> |
CmsXmlInheritGroupContainerHandler.getJSHeadIncludes(CmsObject cms,
CmsResource resource) |
protected java.util.Locale |
CmsDynamicFunctionParser.getLocaleToUse(CmsObject cms,
CmsXmlContent xmlContent)
Gets the locale to use for parsing the dynamic function.
|
protected CmsDynamicFunctionBean.Format |
CmsDynamicFunctionParser.getMainFormat(CmsObject cms,
I_CmsXmlContentLocation location,
CmsResource functionRes)
Parses the main format from the XML content.
|
java.lang.String |
I_CmsADEConfiguration.getNextNewFileName(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request,
java.lang.String type)
Returns the name of the next new file of the given type to be created.
|
CmsResource |
CmsLazyFolder.getOrCreateFolder(CmsObject cms)
Returns the folder if it already exists, or creates and returns it if it doesn't.
|
CmsResource |
CmsLazyFolder.getPermissionCheckFolder(CmsObject cms)
Returns the folder to check for permissions, which is either the folder itself if it already exists,
or the parent folder if it doesn't.
|
int |
I_CmsADEConfiguration.getRecentListMaxSize(CmsObject cms)
Returns the maximal size of the recent list.
|
java.util.Collection<CmsResource> |
I_CmsADEConfiguration.getSearchableResourceTypes(CmsObject cms,
java.lang.String cntPageUri,
javax.servlet.ServletRequest request)
Returns the list of searchable resource types.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsXmlDynamicFunctionHandler.getSettings(CmsObject cms,
CmsResource res) |
java.lang.String |
CmsLazyFolder.getSitePath(CmsObject cms)
Computes the site path of the folder, which is either the original path constructor argument, or the site
path of the original resource constructor argument.
|
protected java.lang.String |
CmsDynamicFunctionParser.getString(CmsObject cms,
I_CmsXmlContentValueLocation location)
Gets the string value of an XML content location.
|
protected java.lang.String |
CmsDynamicFunctionParser.getStringValue(CmsObject cms,
I_CmsXmlContentValueLocation location,
java.lang.String defaultValue)
Converts a (possibly null) content value location to a string.
|
void |
I_CmsADEConfiguration.init(CmsObject cms)
Initializes the configuration.
|
static void |
CmsFormatterConfiguration.initialize(CmsObject cms)
Initialize the formatter configuration.
|
void |
CmsContainerElementBean.initResource(CmsObject cms)
Initializes the resource and the site path of this element.
|
void |
CmsContainerElementBean.initSettings(CmsObject cms,
I_CmsFormatterBean formatterBean)
Initializes the element settings.
|
boolean |
I_CmsADEConfiguration.isCreatableType(CmsObject cms,
java.lang.String currentUri,
java.lang.String typeName)
Returns if the given type has a valid configuration to be created.
|
boolean |
CmsContainerElementBean.isGroupContainer(CmsObject cms)
Tests whether this element refers to a group container.
|
boolean |
CmsContainerElementBean.isInheritedContainer(CmsObject cms)
Returns whether this element refers to an inherited container element.
|
protected static java.util.List<CmsContainerElementBean> |
CmsXmlGroupContainerHandler.loadGroupContainerElements(CmsObject cms,
CmsResource resource)
Helper method to load and prepare the elements of a group container.
|
static java.util.List<CmsContainerElementBean> |
CmsXmlInheritGroupContainerHandler.loadInheritContainerElements(CmsObject cms,
CmsResource resource)
Returns the elements of the given inheritance group for the request context URI.
|
protected CmsDynamicFunctionBean.Format |
CmsDynamicFunctionParser.parseAdditionalFormat(CmsObject cms,
I_CmsXmlContentValueLocation location,
CmsResource functionRes)
Parses an additional format from the XML content.
|
CmsDynamicFunctionBean |
CmsDynamicFunctionParser.parseFunctionBean(CmsObject cms,
CmsResource res)
Parses a dynamic function bean given a resource.
|
CmsDynamicFunctionBean |
CmsDynamicFunctionParser.parseFunctionBean(CmsObject cms,
CmsXmlContent content)
Parses a dynamic function bean from an in-memory XML content object.
|
protected CmsDynamicFunctionBean |
CmsDynamicFunctionParser.parseFunctionBean(CmsObject cms,
I_CmsXmlContentLocation location,
CmsResource functionRes,
CmsResource functionFormatter)
Parses a dynamic function bean.
|
protected CmsPair<java.lang.String,java.lang.String> |
CmsDynamicFunctionParser.parseParameter(CmsObject cms,
I_CmsXmlContentValueLocation valueLocation)
Parses a request parameter for the JSP from the XML content.
|
protected java.util.Map<java.lang.String,java.lang.String> |
CmsDynamicFunctionParser.parseParameters(CmsObject cms,
I_CmsXmlContentLocation location,
java.lang.String name)
Parses all parameters for the JSP from the XML content.
|
protected CmsXmlContentProperty |
CmsDynamicFunctionParser.parseProperty(CmsObject cms,
I_CmsXmlContentLocation field)
Helper method for parsing a settings definition.
|
protected java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsDynamicFunctionParser.parseSettings(CmsObject cms,
I_CmsXmlContentLocation location,
CmsResource functionResource)
Parses the settings for the dynamic function from the XML content.
|
CmsXmlContentErrorHandler |
CmsXmlContainerPageHandler.resolveValidation(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler) |
void |
CmsXmlContainerPage.save(CmsObject cms,
CmsContainerPageBean cntPage)
Saves given container page in the current locale, and not only in memory but also to VFS.
|
void |
CmsXmlGroupContainer.save(CmsObject cms,
CmsGroupContainerBean groupContainer,
java.util.Locale locale)
Saves given container page in the current locale, and not only in memory but also to VFS.
|
protected void |
CmsXmlContainerPage.saveContainerPage(CmsObject cms,
org.dom4j.Element parent,
CmsContainerPageBean cntPage)
Adds the given container page to the given element.
|
protected void |
CmsXmlGroupContainer.saveGroupContainer(CmsObject cms,
org.dom4j.Element parent,
CmsGroupContainerBean groupContainer)
Adds the given container page to the given element.
|
void |
CmsADESessionCache.setLastPage(CmsObject cms,
CmsUUID pageId,
CmsUUID detailId)
Stores information about the last edited container page.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
byte[] xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a container page instance from a byte array
that contains XML data.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
byte[] xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a group container instance from a byte array
that contains XML data.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
CmsFile file)
Factory method to unmarshal (read) a container page instance from a OpenCms VFS file
that contains XML data.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
CmsFile file)
Factory method to unmarshal (read) a group container instance from a OpenCms VFS file
that contains XML data.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding)
Factory method to unmarshal (read) a container page instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding)
Factory method to unmarshal (read) a group container instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding,
boolean noCache)
Factory method to unmarshal (read) a container page instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
CmsResource resource)
Factory method to unmarshal (read) a container page instance from a OpenCms VFS resource
that contains XML data.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
CmsResource resource)
Factory method to unmarshal (read) a group container instance from a OpenCms VFS resource
that contains XML data.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a container page instance from
a resource, using the request attributes as cache.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a group container instance from
a resource, using the request attributes as cache.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a container page instance from a XML document.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a group container instance from a XML document.
|
static CmsXmlContainerPage |
CmsXmlContainerPageFactory.unmarshal(CmsObject cms,
java.lang.String xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a container page instance from a String
that contains XML data.
|
static CmsXmlGroupContainer |
CmsXmlGroupContainerFactory.unmarshal(CmsObject cms,
java.lang.String xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a group container instance from a String
that contains XML data.
|
protected boolean |
CmsXmlContainerPageHandler.validateLink(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler) |
protected void |
CmsXmlContainerPageHandler.validateNames(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContent content)
Validates container names, so that they are unique in the page.
|
void |
CmsXmlContainerPage.writeContainerPage(CmsObject cms,
CmsContainerPageBean cntPage)
Saves a container page in in-memory XML structure.
|
Constructor and Description |
---|
CmsADESessionCache(CmsObject cms,
javax.servlet.http.HttpServletRequest request)
Initializes the session cache.
|
CmsSchemaFormatterBeanWrapper(CmsObject cms,
I_CmsFormatterBean wrappedBean,
I_CmsXmlContentHandler contentHandler,
CmsResource resource)
Creates a new wrapper instance.
|
CmsXmlContainerPage(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Creates a new container page based on the provided XML document.
|
CmsXmlContainerPage(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new container page based on the given default content,
that will have all language nodes of the default content and ensures the presence of the given locale.
|
CmsXmlContainerPage(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new container page based on the given content definition,
that will have one language node for the given locale all initialized with default values.
|
CmsXmlGroupContainer(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Creates a new group container based on the provided XML document.
|
CmsXmlGroupContainer(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new group container based on the given default content,
that will have all language nodes of the default content and ensures the presence of the given locale.
|
CmsXmlGroupContainer(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new container page based on the given content definition,
that will have one language node for the given locale all initialized with default values.
|
Modifier and Type | Method and Description |
---|---|
CmsObject |
CmsDefaultXmlContentHandler.createRootCms(CmsObject cms)
Copies a given CMS context and set the copy's site root to '/'.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
CmsXmlContentPropertyHelper.addFileListPropertyValue(CmsObject cms,
org.dom4j.Element valueElement,
java.lang.String propValue)
Adds the XML for a property value of a property of type 'vfslist' to the DOM.
|
void |
CmsXmlContent.addLocale(CmsObject cms,
java.util.Locale locale) |
protected I_CmsXmlContentValue |
CmsXmlContent.addValue(CmsObject cms,
org.dom4j.Element parent,
I_CmsXmlSchemaType type,
java.util.Locale locale,
int insertIndex)
Adds a new XML schema type with the default value to the given parent node.
|
I_CmsXmlContentValue |
CmsXmlContentValueSequence.addValue(CmsObject cms,
I_CmsXmlSchemaType type,
int index)
Adds a value element of the given type
at the selected index to the XML content document.
|
I_CmsXmlContentValue |
CmsXmlContentValueSequence.addValue(CmsObject cms,
int index)
Adds a value element of the type the original xpath indicates
at the selected index to the XML content document.
|
I_CmsXmlContentValue |
CmsXmlContentValueSequence.addValue(CmsObject cms,
java.lang.String xpath,
int index)
Adds a value element of the type indicated by the given xpath
at the selected index to the XML content document.
|
I_CmsXmlContentValue |
CmsXmlContent.addValue(CmsObject cms,
java.lang.String path,
java.util.Locale locale,
int index)
Adds a new XML content value for the given element name and locale at the given index position
to this XML content document.
|
CmsUUID |
CmsXmlContentValueLocation.asId(CmsObject cms) |
CmsUUID |
I_CmsXmlContentValueLocation.asId(CmsObject cms)
Returns the structure id of the content value (only valid for VfsFile values!).
|
java.lang.String |
CmsXmlContentValueLocation.asString(CmsObject cms) |
java.lang.String |
I_CmsXmlContentValueLocation.asString(CmsObject cms)
Returns the string value of the content value.
|
protected static java.lang.String |
CmsXmlContentPropertyHelper.convertIdsToPaths(CmsObject cms,
java.lang.String value)
Converts a string containing zero or more structure ids into a string containing the corresponding VFS paths.
|
protected static java.lang.String |
CmsXmlContentPropertyHelper.convertPathsToIds(CmsObject cms,
java.lang.String value)
Converts a string containing zero or more VFS paths into a string containing the corresponding structure ids.
|
protected static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.convertProperties(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,CmsXmlContentProperty> propConfig,
boolean toClient)
Helper method for converting a map of properties from client format to server format or vice versa.
|
static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.convertPropertiesToClientFormat(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,CmsXmlContentProperty> propConfig)
Converts a map of properties from server format to client format.
|
static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.convertPropertiesToServerFormat(CmsObject cms,
java.util.Map<java.lang.String,java.lang.String> props,
java.util.Map<java.lang.String,CmsXmlContentProperty> propConfig)
Converts a map of properties from client format to server format.
|
protected static java.lang.String |
CmsXmlContentPropertyHelper.convertStringPropertyValue(CmsObject cms,
java.lang.String propValue,
java.lang.String type,
boolean toClient)
Converts a property value given as a string between server format and client format.
|
static CmsXmlContent |
CmsXmlContentFactory.createDocument(CmsObject cms,
java.util.Locale locale,
CmsResourceTypeXmlContent resourceType)
Creates a new XML content based on a resource type.
|
static CmsXmlContent |
CmsXmlContentFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new instance of an XML content based on the given default content,
hat will have all language nodes of the default content and ensures the presence of the given locale.
|
static CmsXmlContent |
CmsXmlContentFactory.createDocument(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new instance of an XML content based on the given content definiton,
that will have one language node for the given locale all initialized with default values.
|
CmsObject |
CmsDefaultXmlContentHandler.createRootCms(CmsObject cms)
Copies a given CMS context and set the copy's site root to '/'.
|
java.util.Set<java.lang.String> |
I_CmsXmlContentHandler.getCSSHeadIncludes(CmsObject cms,
CmsResource resource)
Returns all the CSS resources to include into the html-page head.
|
java.util.Set<java.lang.String> |
CmsDefaultXmlContentHandler.getCSSHeadIncludes(CmsObject cms,
CmsResource resource) |
java.lang.String |
I_CmsXmlContentHandler.getDefault(CmsObject cms,
CmsResource resource,
I_CmsXmlSchemaType type,
java.lang.String path,
java.util.Locale locale)
Returns the default String value for the given XML content schema type object in the given XML content.
|
java.lang.String |
CmsDefaultXmlContentHandler.getDefault(CmsObject cms,
CmsResource resource,
I_CmsXmlSchemaType type,
java.lang.String path,
java.util.Locale locale) |
java.lang.String |
I_CmsXmlContentHandler.getDefault(CmsObject cms,
I_CmsXmlContentValue value,
java.util.Locale locale)
Returns the default String value for the given XML content schema type object in the given XML content.
|
java.lang.String |
CmsDefaultXmlContentHandler.getDefault(CmsObject cms,
I_CmsXmlContentValue value,
java.util.Locale locale) |
protected static CmsVfsFileValueBean |
CmsXmlContentPropertyHelper.getFileValueForIdOrUri(CmsObject cms,
java.lang.String idOrUri)
Given a string which might be a id or a (sitemap or VFS) URI, this method will return
a bean containing the right (sitemap or vfs) root path and (sitemap entry or structure) id.
|
CmsFormatterConfiguration |
I_CmsXmlContentHandler.getFormatterConfiguration(CmsObject cms,
CmsResource res)
Returns the container page element formatter configuration for a given resource.
|
CmsFormatterConfiguration |
CmsDefaultXmlContentHandler.getFormatterConfiguration(CmsObject cms,
CmsResource resource) |
static CmsUUID |
CmsXmlContentPropertyHelper.getIdForUri(CmsObject cms,
java.lang.String uri)
Looks up an URI in the sitemap and returns either a sitemap entry id (if the URI is a sitemap URI)
or the structure id of a resource (if the URI is a VFS path).
|
java.util.Set<java.lang.String> |
I_CmsXmlContentHandler.getJSHeadIncludes(CmsObject cms,
CmsResource resource)
Returns all the javascript resources to include into the html-page head.
|
java.util.Set<java.lang.String> |
CmsDefaultXmlContentHandler.getJSHeadIncludes(CmsObject cms,
CmsResource resource) |
CmsLinkProcessor |
CmsXmlContent.getLinkProcessor(CmsObject cms,
CmsLinkTable linkTable) |
protected java.util.List<java.util.Locale> |
CmsDefaultXmlContentHandler.getLocalesForResource(CmsObject cms,
java.lang.String resource)
Returns the configured default locales for the content of the given resource.
|
static CmsMacroResolver |
CmsXmlContentPropertyHelper.getMacroResolverForProperties(CmsObject cms,
I_CmsXmlContentHandler contentHandler,
CmsResource containerPage)
Creates and configures a new macro resolver for resolving macros which occur in property definitions.
|
java.lang.String |
I_CmsXmlContentHandler.getPreview(CmsObject cms,
CmsXmlContent content,
java.lang.String resourcename)
Returns the preview URI for the given XML content value object to be displayed in the editor.
|
java.lang.String |
CmsDefaultXmlContentHandler.getPreview(CmsObject cms,
CmsXmlContent content,
java.lang.String resourcename) |
static java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsXmlContentPropertyHelper.getPropertyInfo(CmsObject cms,
CmsResource page,
CmsResource resource)
Returns the property information for the given resource (type) AND the current user.
|
static java.lang.String |
CmsXmlContentPropertyHelper.getPropValueIds(CmsObject cms,
java.lang.String type,
java.lang.String value)
Returns a converted property value depending on the given type.
|
static java.lang.String |
CmsXmlContentPropertyHelper.getPropValuePaths(CmsObject cms,
java.lang.String type,
java.lang.String value)
Returns a converted property value depending on the given type.
|
protected java.lang.String |
CmsDefaultXmlContentHandler.getReferencePath(CmsObject cms,
I_CmsXmlContentValue value)
Returns the category reference path for the given value.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
I_CmsXmlContentHandler.getSettings(CmsObject cms,
CmsResource resource)
Returns the element settings defined for the container page formatters.
|
java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsDefaultXmlContentHandler.getSettings(CmsObject cms,
CmsResource resource) |
java.lang.String |
I_CmsXmlContentHandler.getTitleMapping(CmsObject cms,
CmsXmlContent document,
java.util.Locale locale)
Returns the "Title" mapping set for the given XML content document in the given Locale.
|
java.lang.String |
CmsDefaultXmlContentHandler.getTitleMapping(CmsObject cms,
CmsXmlContent document,
java.util.Locale locale) |
static java.lang.String |
CmsXmlContentPropertyHelper.getUriForId(CmsObject cms,
CmsUUID id)
Returns a sitemap or VFS path given a sitemap entry id or structure id.
|
protected java.lang.String |
CmsDefaultXmlContentHandler.getValidationMessage(CmsObject cms,
I_CmsXmlContentValue value,
java.lang.String regex,
java.lang.String valueStr,
boolean matchResult,
boolean isWarning)
Returns the validation message to be displayed if a certain rule was violated.
|
CmsXmlContent |
I_CmsXmlContentEditorChangeHandler.handleChange(CmsObject cms,
CmsXmlContent content,
java.util.Locale locale,
java.util.Collection<java.lang.String> changedPaths)
Handles the content change.
|
protected void |
CmsXmlContent.initDocument(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
CmsXmlContentDefinition definition)
Initializes an XML document based on the provided document, encoding and content definition.
|
void |
I_CmsXmlContentHandler.invalidateBrokenLinks(CmsObject cms,
CmsXmlContent document)
Performs a check of the given XML document.
|
void |
CmsDefaultXmlContentHandler.invalidateBrokenLinks(CmsObject cms,
CmsXmlContent document) |
boolean |
CmsDefaultXmlContentHandler.isValueVisible(CmsObject cms,
I_CmsXmlSchemaType value,
java.lang.String elementName,
java.lang.String params,
CmsResource resource,
java.util.Locale contentLocale)
Returns the content field visibilty.
|
boolean |
I_CmsXmlContentVisibilityHandler.isValueVisible(CmsObject cms,
I_CmsXmlSchemaType value,
java.lang.String elementPath,
java.lang.String params,
CmsResource resource,
java.util.Locale contentLocale)
Returns if the given content value field should be visible to the current user.
|
boolean |
I_CmsXmlContentHandler.isVisible(CmsObject cms,
I_CmsXmlSchemaType schemaType,
java.lang.String valuePath,
CmsResource resource,
java.util.Locale contentLocale)
Returns if the given content field should be visible to the current user.
|
boolean |
CmsDefaultXmlContentHandler.isVisible(CmsObject cms,
I_CmsXmlSchemaType contentValue,
java.lang.String valuePath,
CmsResource resource,
java.util.Locale contentLocale) |
java.util.Map<java.util.Locale,java.util.Map<java.lang.String,java.lang.String>> |
CmsVfsBundleLoaderXml.loadData(CmsObject cms,
CmsVfsBundleParameters params) |
static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.mergeDefaults(CmsObject cms,
CmsResource resource,
java.util.Map<java.lang.String,java.lang.String> properties)
Extends the given properties with the default values
from the resource's property configuration.
|
static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.mergeDefaults(CmsObject cms,
java.util.Map<java.lang.String,CmsXmlContentProperty> propertyConfig,
java.util.Map<java.lang.String,java.lang.String> properties)
Extends the given properties with the default values
from property configuration.
|
CmsXmlContent |
I_CmsXmlContentHandler.prepareForUse(CmsObject cms,
CmsXmlContent content)
Prepares the given XML content to be used after it was read from the OpenCms VFS.
|
CmsXmlContent |
CmsDefaultXmlContentHandler.prepareForUse(CmsObject cms,
CmsXmlContent content) |
CmsFile |
I_CmsXmlContentHandler.prepareForWrite(CmsObject cms,
CmsXmlContent content,
CmsFile file)
Prepares the given XML content to be written to the OpenCms VFS.
|
CmsFile |
CmsDefaultXmlContentHandler.prepareForWrite(CmsObject cms,
CmsXmlContent content,
CmsFile file) |
static java.util.Map<java.lang.String,java.lang.String> |
CmsXmlContentPropertyHelper.readProperties(CmsObject cms,
I_CmsXmlContentLocation baseLocation)
Reads property nodes from the given location.
|
protected void |
CmsDefaultXmlContentHandler.removeEmptyMappings(CmsObject cms,
CmsFile file,
CmsXmlContent content)
Removes property values on resources for non-existing, optional elements.
|
protected void |
CmsDefaultXmlContentHandler.resolveDefaultMappings(CmsObject cms,
CmsFile file,
CmsXmlContent content)
Resolves those mappings for which no content value exists and useDefault is set to true.
|
static java.util.Map<java.lang.String,CmsXmlContentProperty> |
CmsXmlContentPropertyHelper.resolveMacrosForPropertyInfo(CmsObject cms,
CmsResource page,
CmsResource resource,
java.util.Map<java.lang.String,CmsXmlContentProperty> propertiesConf)
Resolves macros in the given property information for the given resource (type) AND the current user.
|
void |
I_CmsXmlContentHandler.resolveMapping(CmsObject cms,
CmsXmlContent content,
I_CmsXmlContentValue value)
Resolves the value mappings of the given XML content value, according
to the rules of this XML content handler.
|
void |
CmsDefaultXmlContentHandler.resolveMapping(CmsObject cms,
CmsXmlContent content,
I_CmsXmlContentValue value) |
void |
CmsXmlContent.resolveMappings(CmsObject cms)
Resolves the mappings for all values of this XML content.
|
CmsXmlContentErrorHandler |
I_CmsXmlContentHandler.resolveValidation(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler)
Performs a validation of the given XML content value, and saves all errors or warnings found in
the provided XML content error handler.
|
CmsXmlContentErrorHandler |
CmsDefaultXmlContentHandler.resolveValidation(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler) |
static void |
CmsXmlContentPropertyHelper.saveProperties(CmsObject cms,
org.dom4j.Element parentElement,
java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Map<java.lang.String,CmsXmlContentProperty> propertiesConf)
Saves the given properties to the given xml element.
|
void |
CmsMappingResolutionContext.setCmsObject(CmsObject cms)
Sets the CMS context to use.
|
void |
CmsXmlContent.synchronizeLocaleIndependentValues(CmsObject cms,
java.util.Collection<java.lang.String> skipPaths,
java.util.Locale sourceLocale)
Synchronizes the locale independent fields for the given locale.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
byte[] xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a XML content instance from a byte array
that contains XML data.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
CmsFile file)
Factory method to unmarshal (read) a XML content instance from a OpenCms VFS file
that contains XML data.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding)
Factory method to unmarshal (read) a XML content instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a XML content instance from
a resource, using the request attributes as cache.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a XML content instance from a XML document.
|
static CmsXmlContent |
CmsXmlContentFactory.unmarshal(CmsObject cms,
java.lang.String xmlData,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Factory method to unmarshal (generate) a XML content instance from a String
that contains XML data.
|
CmsXmlContentErrorHandler |
CmsXmlContent.validate(CmsObject cms) |
protected CmsXmlContentErrorHandler |
CmsDefaultXmlContentHandler.validateCategories(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler)
The errorHandler parameter is optional, if
null is given a new error handler
instance must be created. |
protected boolean |
CmsDefaultXmlContentHandler.validateLink(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler)
Validates the given rules against the given value.
|
protected CmsXmlContentErrorHandler |
CmsDefaultXmlContentHandler.validateValue(CmsObject cms,
I_CmsXmlContentValue value,
CmsXmlContentErrorHandler errorHandler,
java.util.Map<java.lang.String,java.lang.String> rules,
boolean isWarning)
Validates the given rules against the given value.
|
protected CmsXmlContentErrorHandler |
CmsDefaultXmlContentHandler.validateValue(CmsObject cms,
I_CmsXmlContentValue value,
java.lang.String valueStr,
CmsXmlContentErrorHandler errorHandler,
boolean isWarning)
Checks the default XML schema validation rules.
|
protected CmsFile |
CmsDefaultXmlContentHandler.writeCategories(CmsObject cms,
CmsFile file,
CmsXmlContent content)
Writes the categories if a category widget is present.
|
Constructor and Description |
---|
CmsXmlContent(CmsObject cms,
org.dom4j.Document document,
java.lang.String encoding,
org.xml.sax.EntityResolver resolver)
Creates a new XML content based on the provided XML document.
|
CmsXmlContent(CmsObject cms,
java.util.Locale locale,
java.lang.String modelUri)
Create a new XML content based on the given default content,
that will have all language nodes of the default content and ensures the presence of the given locale.
|
CmsXmlContent(CmsObject cms,
java.util.Locale locale,
java.lang.String encoding,
CmsXmlContentDefinition contentDefinition)
Create a new XML content based on the given content definiton,
that will have one language node for the given locale all initialized with default values.
|
CmsXmlContentMacroVisitor(CmsObject cms,
CmsMacroResolver resolver)
Creates a new validation node visitor.
|
Modifier and Type | Method and Description |
---|---|
void |
CmsXmlPage.addLocale(CmsObject cms,
java.util.Locale locale) |
CmsLinkProcessor |
CmsXmlPage.getLinkProcessor(CmsObject cms,
CmsLinkTable linkTable) |
void |
CmsXmlPage.setStringValue(CmsObject cms,
java.lang.String name,
java.util.Locale locale,
java.lang.String content)
Sets the data of an already existing value.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsFile file)
Factory method to unmarshal (read) a XML page instance from a OpenCms VFS file
that contains XML data.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsFile file,
boolean keepEncoding)
Factory method to unmarshal (read) a XML page instance from a OpenCms VFS file
that contains XML data, using wither the encoding set
in the XML file header, or the encoding set in the VFS file property.
|
static CmsXmlPage |
CmsXmlPageFactory.unmarshal(CmsObject cms,
CmsResource resource,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a XML page instance from
a resource, using the request attributes as cache.
|
static I_CmsXmlDocument |
CmsXmlPageFactory.unmarshal(CmsObject cms,
java.lang.String filename,
javax.servlet.ServletRequest req)
Factory method to unmarshal (read) a XML document instance from
a filename in the VFS, using the request attributes as cache.
|
CmsXmlContentErrorHandler |
CmsXmlPage.validate(CmsObject cms) |
Modifier and Type | Method and Description |
---|---|
org.dom4j.Element |
CmsXmlNestedContentDefinition.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
org.dom4j.Element |
CmsXmlVarLinkValue.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
org.dom4j.Element |
CmsXmlHtmlValue.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
org.dom4j.Element |
CmsXmlVfsFileValue.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
org.dom4j.Element |
CmsXmlCategoryValue.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
org.dom4j.Element |
I_CmsXmlSchemaType.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale)
Appends an XML for a new, empty node of this schema type to the given root element.
|
org.dom4j.Element |
A_CmsXmlContentValue.generateXml(CmsObject cms,
I_CmsXmlDocument document,
org.dom4j.Element root,
java.util.Locale locale) |
static boolean |
CmsXmlBooleanValue.getBooleanValue(CmsObject cms,
I_CmsWidgetParameter value)
Returns the boolean value of the given widget parameter.
|
java.lang.String |
A_CmsXmlContentValue.getDefault(CmsObject cms) |
java.lang.String |
CmsXmlVfsImageValue.getDescription(CmsObject cms)
Returns the description of the image.
|
java.lang.String |
CmsXmlVfsImageValue.getFormat(CmsObject cms)
Returns the format information of the image.
|
CmsLink |
CmsXmlVarLinkValue.getLink(CmsObject cms)
Returns the link object represented by this XML content value.
|
CmsLink |
CmsXmlVfsFileValue.getLink(CmsObject cms)
Returns the link object represented by this XML content value.
|
java.util.List<CmsLink> |
CmsXmlCategoryValue.getLinks(CmsObject cms)
Returns the link objects represented by this XML content value.
|
java.lang.String |
CmsXmlVarLinkValue.getPlainText(CmsObject cms) |
java.lang.String |
CmsXmlHtmlValue.getPlainText(CmsObject cms) |
java.lang.String |
A_CmsXmlValueCdataBase.getPlainText(CmsObject cms) |
java.lang.String |
CmsXmlVfsFileValue.getPlainText(CmsObject cms) |
java.lang.String |
I_CmsXmlContentValue.getPlainText(CmsObject cms)
Returns the value of this XML content node as a plain text String.
|
java.lang.String |
A_CmsXmlValueTextBase.getPlainText(CmsObject cms) |
java.lang.String |
CmsXmlCategoryValue.getPlainText(CmsObject cms) |
java.lang.String |
CmsXmlPlainTextStringValue.getPlainText(CmsObject cms) |
java.lang.String |
A_CmsXmlContentValue.getPlainText(CmsObject cms) |
java.lang.String |
CmsXmlVfsImageValue.getRequestLink(CmsObject cms)
Returns the link without parameters from the string value.
|
java.lang.String |
CmsXmlVfsImageValue.getScaleOptions(CmsObject cms)
Returns the scale options of the image.
|
java.lang.String |
CmsXmlNestedContentDefinition.getStringValue(CmsObject cms) |
java.lang.String |
CmsXmlVarLinkValue.getStringValue(CmsObject cms) |
java.lang.String |
CmsXmlHtmlValue.getStringValue(CmsObject cms) |
java.lang.String |
A_CmsXmlValueCdataBase.getStringValue(CmsObject cms) |
java.lang.String |
CmsXmlVfsFileValue.getStringValue(CmsObject cms) |
java.lang.String |
I_CmsXmlContentValue.getStringValue(CmsObject cms)
Returns the value of this XML content node as a String.
|
java.lang.String |
A_CmsXmlValueTextBase.getStringValue(CmsObject cms) |
java.lang.String |
CmsXmlCategoryValue.getStringValue(CmsObject cms) |
void |
CmsXmlVfsImageValue.setDescription(CmsObject cms,
java.lang.String description)
Sets the description of the image.
|
void |
CmsXmlVfsImageValue.setFormat(CmsObject cms,
java.lang.String format)
Sets the format information of the image.
|
void |
CmsXmlVfsFileValue.setIdValue(CmsObject cms,
CmsUUID id)
Sets the value as a structure id.
|
void |
CmsXmlCategoryValue.setIdValue(CmsObject cms,
CmsUUID id)
Sets the value as a structure id.
|
void |
CmsXmlVfsImageValue.setScaleOptions(CmsObject cms,
java.lang.String scaleOptions)
Sets the scale options of the image.
|
void |
CmsXmlNestedContentDefinition.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlVarLinkValue.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlHtmlValue.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlVfsImageValue.setStringValue(CmsObject cms,
java.lang.String value) |
void |
A_CmsXmlValueCdataBase.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlBooleanValue.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlVfsFileValue.setStringValue(CmsObject cms,
java.lang.String value) |
void |
I_CmsXmlContentValue.setStringValue(CmsObject cms,
java.lang.String value)
Sets the provided String as value of this XML content node.
|
void |
A_CmsXmlValueTextBase.setStringValue(CmsObject cms,
java.lang.String value) |
void |
CmsXmlCategoryValue.setStringValue(CmsObject cms,
java.lang.String value) |