Uses of Interface
org.opencms.file.types.I_CmsResourceType
Packages that use I_CmsResourceType
Package
Description
Contains the ade configuration classes.
Contains the container page editor service classes.
Contains server side classes for the gallery dialogs.
Reads and writes the XML based OpenCms configuration files.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
The implementations of the core resource types for the VFS are located here.
Contains functions to import and export resources from the OpenCms VFS.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Utility classes to be used for JSP pages.
Low-level functions to manage the loading of resources from the OpenCms VFS.
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Contains classes related to XML sitemap generation.
General code for the Vaadin UI.
Contains code for workplace apps.
Contains classes of the cache admin app.
Contains some reusable GUI components for Vaadin UI.
The available content editors.
The data bindings and logic for the translator editor.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Base classes for the editors (WYSIWYG, plain text, XML content) used in the OpenCms Workplace.
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
Contains functions for the ADE main pages, commonly called "Container Pages" in OpenCms.
-
Uses of I_CmsResourceType in org.opencms.ade.configuration
Methods in org.opencms.ade.configuration that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsADEManager.getConfigurationType()
Gets the configuration file type.CmsADEManager.getElementViewType()
Gets the element view configuration resource type.CmsADEManager.getModuleConfigurationType()
Gets the module configuration resource type.CmsADEManager.getSitemapConfigurationType()
Gets the sitemap configuration resource type.CmsResourceTypeConfig.getType()
Gets the actual resource type for which this is a configuration.Methods in org.opencms.ade.configuration with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionprotected CmsFormatterConfiguration
CmsADEConfigData.getFormatters
(CmsObject cms, I_CmsResourceType resType, CmsFormatterConfiguration schemaFormatters) Gets the formatter configuration for a resource type.boolean
CmsADEConfigData.hasFormatters
(CmsObject cms, I_CmsResourceType resType, Collection<CmsContainer> containers) Checks if there are any matching formatters for the given set of containers. -
Uses of I_CmsResourceType in org.opencms.ade.containerpage
Methods in org.opencms.ade.containerpage with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionboolean
I_CmsResourceTypeEnabledCheck.checkEnabled
(CmsObject cms, CmsADEConfigData config, I_CmsResourceType resType) Check whether the given type is enabled for a dialog. -
Uses of I_CmsResourceType in org.opencms.ade.galleries
Methods in org.opencms.ade.galleries that return I_CmsResourceTypeModifier and TypeMethodDescriptionprotected I_CmsResourceType
CmsGalleryService.CmsGalleryTypeInfo.getResourceType()
Returns the resourceType.Methods in org.opencms.ade.galleries that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionprotected List<I_CmsResourceType>
CmsGalleryService.CmsGalleryTypeInfo.getContentTypes()
Returns the contentTypes.Methods in org.opencms.ade.galleries with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionprotected void
CmsGalleryService.CmsGalleryTypeInfo.addContentType
(I_CmsResourceType type) Adds a type to the list of content types.protected void
CmsGalleryService.CmsGalleryTypeInfo.setResourceType
(I_CmsResourceType resourceType) Sets the resourceType.Method parameters in org.opencms.ade.galleries with type arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsGalleryService.buildTypesList
(List<I_CmsResourceType> resourceTypes, Set<String> creatableTypes, Set<String> deactivatedTypes, List<String> typesForTypeTab) Returns the resource types beans.protected void
CmsGalleryService.CmsGalleryTypeInfo.setContentTypes
(List<I_CmsResourceType> contentTypes) Sets the contentTypes.Constructors in org.opencms.ade.galleries with parameters of type I_CmsResourceTypeModifierConstructorDescriptionprotected
CmsGalleryTypeInfo
(I_CmsResourceType resourceType, I_CmsResourceType contentType, List<CmsResource> galleries) Constructor. -
Uses of I_CmsResourceType in org.opencms.configuration
Methods in org.opencms.configuration that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsDigesterResourceTypeCreationFactory.createObject
(Attributes attributes) Method parameters in org.opencms.configuration with type arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionstatic void
CmsVfsConfiguration.generateResourceTypeXml
(org.dom4j.Element startNode, List<I_CmsResourceType> resourceTypes, boolean module) Creates the xml output for resourcetype nodes. -
Uses of I_CmsResourceType in org.opencms.file
Methods in org.opencms.file that return I_CmsResourceTypeMethods in org.opencms.file with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsResourceFilter.addExcludeType
(I_CmsResourceType type) Returns an extended filter in order to avoid the given type in the filtered resources.CmsResourceFilter.addRequireType
(I_CmsResourceType type) Returns an extended filter to guarantee a distinct resource type of the filtered resources.void
CmsObject.chtype
(String resourcename, I_CmsResourceType type) Changes the resource type of a resource.void
CmsObject.chtype
(CmsResource resource, I_CmsResourceType type) Changes the resource type of a resource.CmsObject.createResource
(String resourcename, I_CmsResourceType type) Creates a new resource of the given resource type with empty content and no properties.CmsObject.createResource
(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Creates a new resource of the given resource type with the provided content and properties.void
CmsObject.replaceResource
(String resourcename, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource.static CmsResourceFilter
CmsResourceFilter.requireType
(I_CmsResourceType type) Returns a new CmsResourceFilter requiring the given type.void
CmsResourceBuilder.setType
(I_CmsResourceType type) Sets the type.Constructors in org.opencms.file with parameters of type I_CmsResourceTypeModifierConstructorDescriptionCmsResource
(CmsUUID structureId, CmsUUID resourceId, String rootPath, I_CmsResourceType type, int flags, CmsUUID projectId, CmsResourceState state, long dateCreated, CmsUUID userCreated, long dateLastModified, CmsUUID userLastModified, long dateReleased, long dateExpired, int linkCount, int size, long dateContent, int version) Creates a new CmsRecource object. -
Uses of I_CmsResourceType in org.opencms.file.types
Classes in org.opencms.file.types that implement I_CmsResourceTypeModifier and TypeClassDescriptionclass
Base implementation for resource type classes.class
Resource type descriptor for the type "folder".class
Base implementation for resource types implementing theI_CmsLinkParseable
interface.class
Resource type descriptor for the type "binary".class
Resource type descriptor for the type "folder".class
Resource type descriptor for extended folder types (like for example the workplace galleries).class
Resource type descriptor for sub site map folder types.class
Resource type class for the second version of dynamic functions.class
The HTML redirect resource type.class
Resource type descriptor for the type "image".class
Resource type descriptor for the type "jsp".class
Special resource type for locale independent XML contents.class
The macro formatter resource type.class
Resource type descriptor for the type "plain".class
Resource type descriptor for the type "pointer".class
The SEO file resource type.class
Content type class for subsitemap content folders.class
Resource type descriptor used in case the given resource type class in the XML configuration could not be instantiated.class
Resource type descriptor for unknown file types.class
Resource type descriptor for unknown folder types.class
Custom resource type for ADE configurations.class
Resource type descriptor for the type "containerpage".class
Resource type descriptor for the type "xmlcontent".class
Resource type descriptor for the type "xmlpage".Methods in org.opencms.file.types that return I_CmsResourceTypeModifier and TypeMethodDescriptionprotected I_CmsResourceType
A_CmsResourceType.getResourceType
(CmsResource resource) Convenience method to get the initialized resource type instance for the given resource, with a fall back to special "unknown" resource types in case the resource type is not configured.Methods in org.opencms.file.types that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionA_CmsResourceType.getGalleryTypes()
I_CmsResourceType.getGalleryTypes()
Returns the gallery types for this resource type.Methods in org.opencms.file.types with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
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.boolean
A_CmsResourceType.isIdentical
(I_CmsResourceType type) boolean
I_CmsResourceType.isIdentical
(I_CmsResourceType type) Tests if the given resource type definition is identical to this resource type definition.void
A_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) void
I_CmsResourceType.replaceResource
(CmsObject cms, CmsSecurityManager securityManager, CmsResource resource, I_CmsResourceType type, byte[] content, List<CmsProperty> properties) Replaces the content, type and properties of a resource. -
Uses of I_CmsResourceType in org.opencms.importexport
Methods in org.opencms.importexport that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsImportVersion10.getType()
Returns the type.CmsImportVersion7.getType()
Deprecated.Returns the type.Methods in org.opencms.importexport with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionprotected CmsResource
CmsImportVersion5.importResource
(String source, String destination, I_CmsResourceType type, String uuidstructure, String uuidresource, long datelastmodified, String userlastmodified, long datecreated, String usercreated, long datereleased, long dateexpired, String flags, List<CmsProperty> properties) Deprecated.Imports a resource (file or folder) into the cms. -
Uses of I_CmsResourceType in org.opencms.jsp
Methods in org.opencms.jsp with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionstatic String
CmsJspTagEdit.getNewLink
(CmsObject cms, I_CmsResourceType resType, String creationSitemap) Creates the String specifying where which type of resource has to be created. -
Uses of I_CmsResourceType in org.opencms.jsp.util
Constructors in org.opencms.jsp.util with parameters of type I_CmsResourceTypeModifierConstructorDescriptionCmsResourceTypeInfoWrapper
(CmsJspStandardContextBean context, CmsObject cms, CmsADEConfigData config, I_CmsResourceType type) Creates a new instance. -
Uses of I_CmsResourceType in org.opencms.loader
Methods in org.opencms.loader that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsResourceManager.getDefaultTypeForName
(String resourcename) Returns the default resource type for the given resource name, using the configured resource type file extensions.CmsResourceManager.getResourceType
(int typeId) Returns the initialized resource type instance for the given id.CmsResourceManager.getResourceType
(String typeName) Returns the initialized resource type instance for the given resource type name.CmsResourceManager.getResourceType
(CmsResource resource) Convenience method to get the initialized resource type instance for the given resource, with a fall back to special "unknown" resource types in case the resource type is not configured.CmsResourceManager.getResTypeUnknownFile()
The configured default type for files when the resource type is missing.CmsResourceManager.getResTypeUnknownFolder()
The configured default type for folders when the resource type is missing.Methods in org.opencms.loader that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsResourceManager.getResourceTypes()
Returns the (unmodifiable) list with all initialized resource types.CmsResourceManager.getResourceTypesWithUnknown()
Returns the (unmodifiable) list with all initialized resource types including unknown types.Methods in org.opencms.loader with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
CmsResourceManager.addResourceType
(I_CmsResourceType resourceType) Adds a new resource type from the XML configuration to the internal list of loaded resource types.boolean
CmsResourceManager.hasResourceType
(I_CmsResourceType type) Checks if an initialized resource type instance equal to the given resource type is available. -
Uses of I_CmsResourceType in org.opencms.module
Methods in org.opencms.module that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsModule.getResourceTypes()
Returns the list of additional resource types that belong to this module.Methods in org.opencms.module with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
CmsModuleXmlHandler.addResourceType
(I_CmsResourceType resourceType) Adds a new resource type to the internal list of loaded resource types.Method parameters in org.opencms.module with type arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
CmsModule.setResourceTypes
(List<I_CmsResourceType> resourceTypes) Sets the list of additional resource types that belong to this module. -
Uses of I_CmsResourceType in org.opencms.site.xmlsitemap
Methods in org.opencms.site.xmlsitemap that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionprotected List<I_CmsResourceType>
CmsXmlSitemapGenerator.getDetailTypesForPage
(CmsResource resource) Gets the types for which a given resource is configured as a detail page. -
Uses of I_CmsResourceType in org.opencms.ui
Methods in org.opencms.ui that return types with arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionstatic List<I_CmsResourceType>
CmsVaadinUtils.getResourceTypes()
Gets list of resource types.Method parameters in org.opencms.ui with type arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionstatic void
CmsVaadinUtils.sortResourceTypes
(List<I_CmsResourceType> resourceTypes) Sorts a list of resource types by their localized explorer type name. -
Uses of I_CmsResourceType in org.opencms.ui.apps
Methods in org.opencms.ui.apps with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsWorkplaceAppManager.getEditorForType
(I_CmsResourceType type, boolean plainText) Returns the editor for the given resource type.static String
CmsEditor.getEditStateForNew
(CmsObject cms, I_CmsResourceType resourceType, String contextPath, String modelFilePath, boolean plainText, String backLink) Returns the edit state for the given resource structure id. -
Uses of I_CmsResourceType in org.opencms.ui.apps.dbmanager
Methods in org.opencms.ui.apps.dbmanager that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsResourceTypeStatResult.getType()
Getter for resource type.protected I_CmsResourceType
CmsResourceTypeStatsView.getType()
Returns the type which is selected by UI.Constructors in org.opencms.ui.apps.dbmanager with parameters of type I_CmsResourceTypeModifierConstructorDescriptionCmsResourceTypeStatResult
(I_CmsResourceType type, String siteRoot, int count) Public constructor. -
Uses of I_CmsResourceType in org.opencms.ui.apps.resourcetypes
Fields in org.opencms.ui.apps.resourcetypes declared as I_CmsResourceTypeModifier and TypeFieldDescriptionprotected I_CmsResourceType
CmsEditResourceTypeDialog.m_type
Resource type.Constructors in org.opencms.ui.apps.resourcetypes with parameters of type I_CmsResourceTypeModifierConstructorDescriptionCmsEditResourceTypeDialog
(com.vaadin.ui.Window window, CmsResourceTypeApp app, I_CmsResourceType resourceType) Public constructor.CmsMoveResourceTypeDialog
(com.vaadin.ui.Window window, I_CmsResourceType type) public constructor. -
Uses of I_CmsResourceType in org.opencms.ui.components
Methods in org.opencms.ui.components that return I_CmsResourceTypeMethods in org.opencms.ui.components with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
CmsComponentState.setResourceType
(I_CmsResourceType resourceType) Sets the resource type.Method parameters in org.opencms.ui.components with type arguments of type I_CmsResourceTypeModifier and TypeMethodDescriptionvoid
CmsTypeSelector.updateTypes
(List<I_CmsResourceType> resourceTypes) Updates the resource types. -
Uses of I_CmsResourceType in org.opencms.ui.editors
Methods in org.opencms.ui.editors with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionboolean
CmsAcaciaEditor.matchesType
(I_CmsResourceType type, boolean plainText) boolean
CmsSourceEditor.matchesType
(I_CmsResourceType type, boolean plainText) boolean
CmsXmlContentEditor.matchesType
(I_CmsResourceType type, boolean plainText) boolean
CmsXmlPageEditor.matchesType
(I_CmsResourceType type, boolean plainText) boolean
I_CmsEditor.matchesType
(I_CmsResourceType type, boolean plainText) Checks whether the editor is available for the given resource type. -
Uses of I_CmsResourceType in org.opencms.ui.editors.messagebundle
Methods in org.opencms.ui.editors.messagebundle with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionboolean
CmsMessageBundleEditor.matchesType
(I_CmsResourceType type, boolean plainText) -
Uses of I_CmsResourceType in org.opencms.workplace
Methods in org.opencms.workplace with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionCmsWorkplaceManager.getPreEditorConditionDefinition
(I_CmsResourceType resourceType) Returns the condition definition for the given resource type that is triggered before opening the editor. -
Uses of I_CmsResourceType in org.opencms.workplace.editors
Methods in org.opencms.workplace.editors that return I_CmsResourceTypeModifier and TypeMethodDescriptionA_CmsPreEditorActionDefinition.getResourceType()
I_CmsPreEditorActionDefinition.getResourceType()
Returns the resource type for which the action should be performed. -
Uses of I_CmsResourceType in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that return I_CmsResourceTypeModifier and TypeMethodDescriptionCmsResourceUtil.getResourceType()
Returns the resource type for the given resource. -
Uses of I_CmsResourceType in org.opencms.xml.containerpage
Methods in org.opencms.xml.containerpage with parameters of type I_CmsResourceTypeModifier and TypeMethodDescriptionstatic CmsContainerElementBean
CmsContainerElementBean.createElementForResourceType
(CmsObject cms, I_CmsResourceType resourceType, String targetFolder, Map<String, String> individualSettings, boolean isCopyModels, Locale locale) Creates an element bean for the given resource type.