A repository is an set of interfaces (and their implementations) to create a simple
access to the resources in the VFS of OpenCms. The repositories are configured in the
is used by the repositories for the access to the VFS. So it is possible to configure
the repositories to use one or more implementations of the
I_CmsResourceWrapper to change the view to the resources
in the VFS. Additionaly it is possible to define filters to include or exclude files and
folders form being displayed.
CmsRepositoryManager to get a configured
I_CmsRepository. There you get a
I_CmsRepositorySession through login in. With that session
you will get the basic file and folder operations to the resources in the VFS of OpenCms.
I_CmsRepository repository = OpenCms.getRepositoryManager().getRepository(repository_name);
I_CmsRepositorySession session = repository.login(username, password);
Interface Summary Interface Description I_CmsRepositoryRepresents a repository. I_CmsRepositoryItemThis class represents items in the repository interface. I_CmsRepositorySessionA repository session which provides basic file and folder operations to the resources in the VFS of OpenCms.
Class Summary Class Description A_CmsRepositoryAbstract implementation of the repository interface
A_CmsRepositorySessionAbstract implementation of the interface
I_CmsRepositorySessionto provide the functionality of filtering items.
CmsPropertyName CmsRepositoryCreates a repository session to access OpenCms. CmsRepositoryFilterThis class is a filter for the repositories. CmsRepositoryItemRepresents a single entry in the repository. CmsRepositoryLockInfoThe class represents a lock to a
CmsRepositoryManagerThe RepositoryManager keeps a list with all configured
I_CmsRepositoryand can be used to get a repository by its name.
CmsRepositorySessionThis is the session class to work with the
MessagesConvenience class to access the localized messages of this OpenCms package.