public class CmsResourceTypeFunctionConfig extends CmsResourceTypeXmlAdeConfiguration
I_CmsResourceType.Formatter| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FORMATTER_PATH
The path of the JSP used for rendering v2 functions.
|
static java.lang.String |
TYPE_NAME
The type name.
|
CONFIGURATION_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 |
|---|
CmsResourceTypeFunctionConfig() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCachePropertyDefault()
Returns the default for the
cache property setting of this resource type. |
static java.lang.String |
getStaticTypeName()
Returns the static type name of this (default) resource type.
|
static boolean |
isFunction(CmsResource res)
Checks if a resource has this type.
|
CmsFile |
writeFile(CmsObject cms,
CmsSecurityManager securityManager,
CmsFile resource)
Writes a resource, including it's content.
|
getLocaleForNewContentaddConfigurationParameter, createResource, deleteResource, getConfiguration, getEditHandler, getFormattersForResource, getGalleryPreviewProvider, getLoaderId, getModelFiles, getSchema, getXsdLink, initialize, isXmlContent, moveResource, parseLinksisDirectEditableaddCopyResource, addDefaultProperty, addMappingType, changeLock, chflags, chtype, chtype, copyResource, copyResourceToProject, createRelations, createSibling, equals, getAdjustLinksFolder, getClassName, getConfiguredCopyResources, getConfiguredDefaultProperties, 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 static final java.lang.String FORMATTER_PATH
public static final java.lang.String TYPE_NAME
public CmsResourceTypeFunctionConfig()
public static java.lang.String getStaticTypeName()
public static boolean isFunction(CmsResource res)
res - the resource to checkpublic java.lang.String getCachePropertyDefault()
I_CmsResourceTypecache property setting of this resource type.
The cache property is used by the Flex cache implementation
to build the cache key that controls the caching behaviour of a resource.
If null is returnd, this is the same as turning the cache
off by default for this resource type.
getCachePropertyDefault in interface I_CmsResourceTypegetCachePropertyDefault in class CmsResourceTypeXmlContentcache property setting of this resource typeCmsResourceTypeXmlContent.getCachePropertyDefault()public CmsFile writeFile(CmsObject cms, CmsSecurityManager securityManager, CmsFile resource) throws CmsException
I_CmsResourceType
Applies only to resources of type
that have a binary content attached.CmsFile
writeFile in interface I_CmsResourceTypewriteFile in class CmsResourceTypeXmlContentcms - the current cms contextsecurityManager - the initialized OpenCms security managerresource - the resource to apply this operation toCmsException - if something goes wrongAfter writing the file, this method waits until the formatter configuration is update the next time.