Class CmsRepository

java.lang.Object
org.opencms.repository.A_CmsRepository
org.opencms.repository.CmsRepository
All Implemented Interfaces:
I_CmsConfigurationParameterHandler, I_CmsRepository

public class CmsRepository extends A_CmsRepository
Creates a repository session to access OpenCms.

The configuration of the used I_CmsResourceWrapper is done here. This is the main class to get access to the resources in the VFS of OpenCms. The method login(String, String) logs in to OpenCms and returns a CmsRepositorySession to use for basic file and folder operations.

The project and the site to use for the access to OpenCms is read out of the user settings.

Since:
6.5.6
See Also: