org.opencms.repository
Interface I_CmsRepository

All Superinterfaces:
I_CmsConfigurationParameterHandler
All Known Subinterfaces:
I_CmsCmisRepository
All Known Implementing Classes:
A_CmsCmisRepository, A_CmsRepository, CmsCmisRepository, CmsRepository

public interface I_CmsRepository
extends I_CmsConfigurationParameterHandler

Represents a repository.

Since different types of repositories have very different methods, this interface only provides the bare minimum of methods which are necessary for configuration.

Since:
6.2.4

Field Summary
 
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
 
Method Summary
 CmsRepositoryFilter getFilter()
          Gets the repository filter.
 java.lang.String getName()
          Returns the name of the repository.
 void initializeCms(CmsObject cms)
          Initializes this repository with an admin CMS object.
 void setFilter(CmsRepositoryFilter filter)
          Sets the repository filter.
 void setName(java.lang.String name)
          Sets the name for this repository.
 
Methods inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
addConfigurationParameter, getConfiguration, initConfiguration
 

Method Detail

getFilter

CmsRepositoryFilter getFilter()
Gets the repository filter.

Returns:
the repository filter

getName

java.lang.String getName()
Returns the name of the repository.

Returns:
the name of the repository

initializeCms

void initializeCms(CmsObject cms)
                   throws CmsException
Initializes this repository with an admin CMS object.

Parameters:
cms - an admin CMS object
Throws:
CmsException - if something goes wrong

setFilter

void setFilter(CmsRepositoryFilter filter)
Sets the repository filter.

Parameters:
filter - the repository filter

setName

void setName(java.lang.String name)
Sets the name for this repository.

Parameters:
name - the name to use for the repository