public class CmsResourceTypeLocaleIndependentXmlContent extends CmsResourceTypeXmlContent
I_CmsResourceType.FormatterCONFIGURATION_SCHEMA, DIALOG_CHOOSEMODELCONFIGURATION_GALLERY_JAVASCRIPT_PATH, CONFIGURATION_GALLERY_PREVIEW_PROVIDER, CONFIGURATION_GALLERY_TYPE_NAMES, CONFIGURATION_INTERNAL, DEFAULT_GALLERY_PREVIEW_PROVIDER, m_addititionalModuleResourceType, m_className, m_configuration, m_copyResources, m_defaultProperties, m_frozen, m_galleryPreviewProvider, m_mappings, m_moduleName, m_typeId, m_typeName, MACRO_RESOURCE_FOLDER_PATH, MACRO_RESOURCE_FOLDER_PATH_TOUCH, MACRO_RESOURCE_NAME, MACRO_RESOURCE_PARENT_PATH, MACRO_RESOURCE_ROOT_PATH, MACRO_RESOURCE_SITE_PATHADD_MAPPING_METHOD, ADD_RESOURCE_TYPE_METHOD, CONFIGURATION_PROPERTY_CREATE, CONFIGURATION_RESOURCE_TYPE_ID, CONFIGURATION_RESOURCE_TYPE_NAME, PROPERTY_ON_RESOURCE, PROPERTY_ON_STRUCTUREADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD| Constructor and Description |
|---|
CmsResourceTypeLocaleIndependentXmlContent() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CmsProperty> |
getConfiguredDefaultProperties()
Returns the default properties for this resource type in an unmodifiable List.
|
protected java.util.Locale |
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.
|
addConfigurationParameter, createResource, deleteResource, getCachePropertyDefault, getConfiguration, getEditHandler, getFormattersForResource, getGalleryPreviewProvider, getLoaderId, getModelFiles, getSchema, getXsdLink, initialize, isXmlContent, moveResource, parseLinks, writeFileisDirectEditableaddCopyResource, addDefaultProperty, addMappingType, changeLock, chflags, chtype, chtype, copyResource, copyResourceToProject, createRelations, createSibling, equals, getAdjustLinksFolder, getClassName, getConfiguredCopyResources, getConfiguredMappings, getGalleryTypes, getMacroResolver, getModuleName, getResourceType, getTypeId, getTypeName, hashCode, importResource, initConfiguration, initConfiguration, isAdditionalModuleResourceType, isFolder, isIdentical, lockResource, processCopyResources, processDefaultProperties, removeResourceFromProject, replaceResource, replaceResource, restoreResource, setAdditionalModuleResourceType, setAdjustLinksFolder, setDateExpired, setDateLastModified, setDateReleased, setModuleName, toString, undelete, undoChanges, unlockResource, updateRelationForUndo, writePropertyObject, writePropertyObjectspublic CmsResourceTypeLocaleIndependentXmlContent()
public java.util.List<CmsProperty> getConfiguredDefaultProperties()
A_CmsResourceTypegetConfiguredDefaultProperties in interface I_CmsResourceTypegetConfiguredDefaultProperties in class A_CmsResourceTypeA_CmsResourceType.getConfiguredDefaultProperties()protected java.util.Locale getLocaleForNewContent(CmsObject cms, CmsSecurityManager securityManager, java.lang.String resourcename, java.util.List<CmsProperty> properties)
getLocaleForNewContent in class CmsResourceTypeXmlContentcms - the current CMS contextsecurityManager - the security managerresourcename - the name of the resource to createproperties - the properties for the resource to createCmsResourceTypeXmlContent.getLocaleForNewContent(org.opencms.file.CmsObject, org.opencms.db.CmsSecurityManager, java.lang.String, java.util.List)