|
||||||||
| 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
public class 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.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.opencms.file.types.I_CmsResourceType |
|---|
I_CmsResourceType.Formatter |
| 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 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. |
CmsParameterConfiguration |
getConfiguration()
Returns the parameters of this configurable class instance, or null if the class does not need any parameters. |
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 |
|---|
chtype, copyResource, createResource, getLoaderId, isFolder, moveResource, replaceResource, setDateExpired, setDateLastModified, setDateReleased, undelete, undoChanges |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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_CmsConfigurationParameterHandleraddConfigurationParameter in class A_CmsResourceTypeparamName - the name of the parameterparamValue - the value for the parameterA_CmsResourceType.addConfigurationParameter(java.lang.String, java.lang.String)public CmsParameterConfiguration getConfiguration()
I_CmsConfigurationParameterHandlernull if the class does not need any parameters.
getConfiguration in interface I_CmsConfigurationParameterHandlergetConfiguration in class A_CmsResourceTypenull if the class does not need any parametersA_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 | |||||||