|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.repository.A_CmsRepository
public abstract class A_CmsRepository
Abstract implementation of the repository interface I_CmsRepository.
Handles the functionality of basic configuration. This is actually the configuration
of param/values and the filters (CmsRepositoryFilter) to use of the repository.
| Field Summary |
|---|
| Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler |
|---|
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD |
| Constructor Summary | |
|---|---|
A_CmsRepository()
Default constructor initializing member variables. |
|
| 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. |
CmsRepositoryFilter |
getFilter()
Returns the filter. |
java.lang.String |
getName()
Returns the name of the repository. |
void |
initConfiguration()
Initializes a configuration after all parameters have been added. |
void |
setFilter(CmsRepositoryFilter filter)
Sets the filter. |
void |
setName(java.lang.String name)
Sets the name for this repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opencms.repository.I_CmsRepository |
|---|
login |
| Constructor Detail |
|---|
public A_CmsRepository()
| Method Detail |
|---|
public void addConfigurationParameter(java.lang.String paramName,
java.lang.String paramValue)
I_CmsConfigurationParameterHandler
addConfigurationParameter in interface I_CmsConfigurationParameterHandlerparamName - the name of the parameterparamValue - the value for the parameterI_CmsConfigurationParameterHandler.addConfigurationParameter(java.lang.String, java.lang.String)public java.util.Map getConfiguration()
I_CmsConfigurationParameterHandlernull 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_CmsConfigurationParameterHandlernullI_CmsConfigurationParameterHandler.getConfiguration()public CmsRepositoryFilter getFilter()
public java.lang.String getName()
I_CmsRepository
getName in interface I_CmsRepositoryI_CmsRepository.getName()
public void initConfiguration()
throws CmsConfigurationException
I_CmsConfigurationParameterHandler
initConfiguration in interface I_CmsConfigurationParameterHandlerCmsConfigurationException - if something goes wrongI_CmsConfigurationParameterHandler.initConfiguration()public void setFilter(CmsRepositoryFilter filter)
filter - the filter to setpublic void setName(java.lang.String name)
I_CmsRepository
setName in interface I_CmsRepositoryname - the name to use for the repositoryI_CmsRepository.setName(String)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||