|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.file.types.A_CmsResourceType
org.opencms.file.types.A_CmsResourceTypeFolderBase
org.opencms.file.types.CmsResourceTypeFolderExtended
Resource type descriptor for extended folder types (like for example the workplace galleries).
This type extends a folder but has a configurable type id and type name. Optionally, a workplace class name for the type and a parameter String can be provided.
Field Summary | |
static java.lang.String |
CONFIGURATION_FOLDER_CLASS
Configuration key for the optional folder class name. |
static java.lang.String |
CONFIGURATION_FOLDER_CLASS_PARAMS
Configuration key for the optional folder class parameters. |
Fields inherited from class org.opencms.file.types.A_CmsResourceType |
m_addititionalModuleResourceType, m_className, m_copyResources, m_defaultProperties, m_frozen, m_mappings, m_typeId, m_typeName, MACRO_RESOURCE_FOLDER_PATH, MACRO_RESOURCE_NAME, MACRO_RESOURCE_PARENT_PATH, MACRO_RESOURCE_ROOT_PATH, MACRO_RESOURCE_SITE_PATH |
Fields inherited from interface org.opencms.file.types.I_CmsResourceType |
ADD_MAPPING_METHOD, ADD_RESOURCE_TYPE_METHOD, CONFIGURATION_PROPERTY_CREATE, CONFIGURATION_RESOURCE_TYPE_ID, CONFIGURATION_RESOURCE_TYPE_NAME, PROPERTY_ON_RESOURCE, PROPERTY_ON_STRUCTURE |
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
Constructor Summary | |
CmsResourceTypeFolderExtended()
|
Method Summary | |
void |
addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
Adds a configuration parameter to this parameter configurable class instance. |
java.util.Map |
getConfiguration()
Returns the configuration of this parameter configurable class instance, or null if the class does not need to be configured. |
java.lang.String |
getFolderClassName()
Returns the (optional) configured folder class name for this folder. |
java.lang.String |
getFolderClassParams()
Returns the (optional) configured folder class parameters name for this folder. |
Methods inherited from class org.opencms.file.types.A_CmsResourceTypeFolderBase |
changeLastModifiedProjectId, chtype, copyResource, createResource, deleteResource, getLoaderId, isFolder, moveResource, replaceResource, restoreResourceBackup, setDateExpired, setDateLastModified, setDateReleased, undoChanges |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String CONFIGURATION_FOLDER_CLASS
public static final java.lang.String CONFIGURATION_FOLDER_CLASS_PARAMS
Constructor Detail |
public CmsResourceTypeFolderExtended()
Method Detail |
public void addConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)
I_CmsConfigurationParameterHandler
addConfigurationParameter
in interface I_CmsConfigurationParameterHandler
addConfigurationParameter
in class A_CmsResourceType
A_CmsResourceType.addConfigurationParameter(java.lang.String, java.lang.String)
public java.util.Map getConfiguration()
I_CmsConfigurationParameterHandler
null
if the class does not need to be configured.
All elements in the configuration are key, value String pairs,
set using the I_CmsConfigurationParameterHandler.addConfigurationParameter(String, String)
method
during initialization of the loader.
Implementations will (should) not to return a direct reference to the internal configuration but just a copy of it, to avoid unwanted external manipulation.
getConfiguration
in interface I_CmsConfigurationParameterHandler
getConfiguration
in class A_CmsResourceType
A_CmsResourceType.getConfiguration()
public java.lang.String getFolderClassName()
public java.lang.String getFolderClassParams()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |