Uses of Class
org.opencms.file.CmsProject
Packages that use CmsProject
Package
Description
Contains the ade configuration classes.
Low-level database connection and access functionality.
Generic (ANSI-SQL) implementation of the OpenCms database connector.
This important package provides the methods to access the OpenCms VFS repository with the permissions
of an authenticated user.
This package contains the classes to deal with the OpenCms VFS history archive.
Classes to handle internalization (i18n) and locale selection in OpenCms.
Contains functions to import and export resources from the OpenCms VFS.
Utility classes to be used for JSP pages.
The lock state of the resources in the VFS is handled with these classes.
Provides the main OpenCms "operating system".
OpenCms modules provide a powerful, standardized way to extend
the core OpenCms functionality.
Contains functions to monitor the OpenCms system status.
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Implements the main full text search and indexing functions available in OpenCms.
Access control and security classes for the OpenCms ACL permission system.
General code for the Vaadin UI.
Contains code for workplace apps.
Contains some reusable GUI components for Vaadin UI.
Contains Vaadin UI extensions.
Contains code for workplace dialogs.
Vaadin GUI components and utilities for use in the sitemap editor.
Classes related to publishing and workflow.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Contains the functions that generate the Workplace "Explorer" view, also contains
the "New resource" wizard.
-
Uses of CmsProject in org.opencms.ade.configuration
Methods in org.opencms.ade.configuration that return CmsProjectModifier and TypeMethodDescriptionprotected CmsProject
CmsADEManager.getTempfileProject
(CmsObject cms) Gets a tempfile project, creating one if it doesn't exist already. -
Uses of CmsProject in org.opencms.db
Methods in org.opencms.db that return CmsProjectModifier and TypeMethodDescriptionCmsDriverManager.createProject
(CmsDbContext dbc, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.CmsSecurityManager.createProject
(CmsRequestContext context, String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a project.I_CmsProjectDriver.createProject
(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String name, String description, int flags, CmsProject.CmsProjectType type) Creates a new project.CmsDriverManager.createTempfileProject
(CmsDbContext dbc) Creates the project for the temporary workplace files.CmsSecurityManager.createTempfileProject
(CmsRequestContext context) Creates the project for the temporary workplace files.CmsDbContext.currentProject()
Returns the current users project.CmsDriverManager.readProject
(CmsDbContext dbc, String name) Reads a project.CmsDriverManager.readProject
(CmsDbContext dbc, CmsUUID id) Reads a project given the projects id.CmsSecurityManager.readProject
(String name) Reads a project.CmsSecurityManager.readProject
(CmsUUID id) Reads a project given the projects id.I_CmsProjectDriver.readProject
(CmsDbContext dbc, String name) Reads a project.I_CmsProjectDriver.readProject
(CmsDbContext dbc, CmsUUID id) Reads a project given the projects id.Methods in org.opencms.db that return types with arguments of type CmsProjectModifier and TypeMethodDescriptionCmsDriverManager.getAllAccessibleProjects
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible by the current user.CmsSecurityManager.getAllAccessibleProjects
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are accessible for the group of the user.CmsDriverManager.getAllManageableProjects
(CmsDbContext dbc, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.CmsSecurityManager.getAllManageableProjects
(CmsRequestContext context, CmsOrganizationalUnit orgUnit, boolean includeSubOus) Returns all projects which are owned by the current user or which are manageable for the group of the user.I_CmsProjectDriver.readProjects
(CmsDbContext dbc, String ouFqn) Returns all projects in the given organizational unit.I_CmsProjectDriver.readProjectsForGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are accessible by a group.I_CmsProjectDriver.readProjectsForManagerGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are manageable by a group.I_CmsProjectDriver.readProjectsForUser
(CmsDbContext dbc, CmsUser user) Reads all projects which are owned by a specified user.Methods in org.opencms.db with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsDriverManager.addAlias
(CmsDbContext dbc, CmsProject project, CmsAlias alias) Adds an alias entry.void
CmsSecurityManager.checkManagerOfProjectRole
(CmsDbContext dbc, CmsProject project) Checks if the current user has management access to the given project.int
CmsDriverManager.countLockedResources
(CmsProject project) Counts the locked resources in this project.void
I_CmsUserDriver.createAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal, int allowed, int denied, int flags) Creates an access control entry.void
I_CmsVfsDriver.createSibling
(CmsDbContext dbc, CmsProject project, CmsResource resource) Creates a new sibling for a specified resource.void
CmsDriverManager.deleteAliases
(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) Deletes aliases indicated by a filter.void
I_CmsVfsDriver.deleteAliases
(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) Deletes the aliases matching a given filter.void
CmsDriverManager.deleteProject
(CmsDbContext dbc, CmsProject deleteProject) Deletes a project.void
CmsDriverManager.deleteProject
(CmsDbContext dbc, CmsProject deleteProject, boolean resetResources) Deletes a project.void
I_CmsProjectDriver.deleteProject
(CmsDbContext dbc, CmsProject project) Deletes a project from the cms.void
I_CmsProjectDriver.deleteProjectResources
(CmsDbContext dbc, CmsProject project) Deletes a specified project.void
CmsDriverManager.deleteUser
(CmsDbContext dbc, CmsProject project, String username, String replacementUsername) Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user, if given.CmsDriverManager.getResourcesForPrincipal
(CmsDbContext dbc, CmsProject project, CmsUUID principalId, CmsPermissionSet permissions, boolean includeAttr) Returns all resources associated to a given principal via an ACE with the given permissions.void
I_CmsVfsDriver.insertAlias
(CmsDbContext dbc, CmsProject project, CmsAlias alias) Adds an alias to the database.boolean
CmsDriverManager.isTempfileProject
(CmsProject project) Checks if a project is the tempfile project.void
I_CmsUserDriver.publishAccessControlEntries
(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsUUID offlineId, CmsUUID onlineId) Publish all access control entries of a resource from the given offline project to the online project.void
I_CmsProjectDriver.publishDeletedFolder
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder offlineFolder, CmsUUID publishHistoryId, int publishTag) Publishes a deleted folder.void
I_CmsProjectDriver.publishFile
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag) Publishes a new, changed or deleted file.I_CmsProjectDriver.publishFileContent
(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineFileHeader, Set<CmsUUID> publishedResourceIds, boolean needToUpdateContent, int publishTag) Publishes the content record of a file.void
I_CmsProjectDriver.publishFolder
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder currentFolder, CmsUUID publishHistoryId, int publishTag) Publishes a new or changed folder.void
I_CmsProjectDriver.publishProject
(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag) Publishes a specified project to the online project.void
I_CmsVfsDriver.publishResource
(CmsDbContext dbc, CmsProject onlineProject, CmsResource onlineResource, CmsResource offlineResource) Publishes the structure and resource records of an offline resource into it's online counterpart.I_CmsUserDriver.readAccessControlEntries
(CmsDbContext dbc, CmsProject project, CmsUUID resource, boolean inheritedOnly) Reads all relevant access control entries for a given resource.I_CmsUserDriver.readAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal) Reads an access control entry for a given principal that is attached to a resource.CmsDriverManager.readAliasByPath
(CmsDbContext dbc, CmsProject project, String siteRoot, String path) Finds the alias with a given path.I_CmsVfsDriver.readAliases
(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) Reads the aliases matching a given filter.CmsDriverManager.readAliasesBySite
(CmsDbContext dbc, CmsProject currentProject, String siteRoot) Reads the aliases for a given site root.CmsDriverManager.readAliasesByStructureId
(CmsDbContext dbc, CmsProject project, CmsUUID structureId) Reads the aliases which point to a given structure id.I_CmsVfsDriver.readChildResources
(CmsDbContext dbc, CmsProject currentProject, CmsResource resource, boolean getFolders, boolean getFiles) Reads all child-files and/or child-folders of a specified parent resource.CmsDriverManager.readGroup
(CmsDbContext dbc, CmsProject project) Reads the group of a project.CmsSecurityManager.readGroup
(CmsRequestContext context, CmsProject project) Reads the group of a project.CmsDriverManager.readManagerGroup
(CmsDbContext dbc, CmsProject project) Reads the manager group of a project.CmsSecurityManager.readManagerGroup
(CmsRequestContext context, CmsProject project) Reads the manager group of a project.CmsDriverManager.readOwner
(CmsDbContext dbc, CmsProject project) Reads the owner of a project.CmsSecurityManager.readOwner
(CmsRequestContext context, CmsProject project) Reads the owner of a project from the OpenCms.CmsDriverManager.readProjectResources
(CmsDbContext dbc, CmsProject project) Returns the list of all resource names that define the "view" of the given project.CmsSecurityManager.readProjectResources
(CmsRequestContext context, CmsProject project) Returns the list of all resource names that define the "view" of the given project.I_CmsProjectDriver.readProjectResources
(CmsDbContext dbc, CmsProject project) Reads the project resources for a specified project.I_CmsVfsDriver.readPropertyObject
(CmsDbContext dbc, String key, CmsProject project, CmsResource resource) Reads a property object from the database specified by it's key name mapped to a resource.I_CmsVfsDriver.readPropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource) Reads all property objects mapped to a specified resource from the database.I_CmsVfsDriver.readResourcesForPrincipalACE
(CmsDbContext dbc, CmsProject project, CmsUUID principalId) Returns all resources associated to a given principal via an ACE.I_CmsVfsDriver.readResourcesForPrincipalAttr
(CmsDbContext dbc, CmsProject project, CmsUUID principalId) Returns all resources associated to a given principal through some of following attributes.void
I_CmsUserDriver.removeAccessControlEntries
(CmsDbContext dbc, CmsProject project, CmsUUID resource) Removes all access control entries belonging to a resource.void
I_CmsUserDriver.removeAccessControlEntriesForPrincipal
(CmsDbContext dbc, CmsProject project, CmsProject onlineProject, CmsUUID principal) Removes all access control entries belonging to a principal.void
I_CmsUserDriver.removeAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal) Removes an access control entry.void
I_CmsVfsDriver.removeFolder
(CmsDbContext dbc, CmsProject currentProject, CmsResource resource) Removes a folder physically in the database.void
CmsDriverManager.saveAliases
(CmsDbContext dbc, CmsProject project, CmsUUID structureId, List<CmsAlias> aliases) Saves a list of aliases for the same structure id, replacing any aliases for the same structure id.void
I_CmsVfsDriver.transferResource
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsUUID createdUser, CmsUUID lastModifiedUser) Transfers the attributes of a resource from to the given users.void
CmsDriverManager.unlockProject
(CmsProject project) Unlocks all resources in the given project.void
I_CmsProjectDriver.unmarkProjectResources
(CmsDbContext dbc, CmsProject project) Removes the project id from all resources within a project.void
I_CmsVfsDriver.updateRelations
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource) Updates the relations on the online project copying the relations from the offline project.void
I_CmsUserDriver.writeAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsAccessControlEntry acEntry) Writes an access control entry.void
I_CmsVfsDriver.writeLastModifiedProjectId
(CmsDbContext dbc, CmsProject project, CmsUUID projectId, CmsResource resource) Writes the "last-modified-in-project" ID of a resource.void
CmsDriverManager.writeProject
(CmsDbContext dbc, CmsProject project) Writes an already existing project.void
CmsSecurityManager.writeProject
(CmsRequestContext context, CmsProject project) Writes an already existing project.void
I_CmsProjectDriver.writeProject
(CmsDbContext dbc, CmsProject project) Writes an already existing project.void
I_CmsVfsDriver.writePropertyObject
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsProperty property) Writes a property object to the database mapped to a specified resource.void
I_CmsVfsDriver.writePropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource, List<CmsProperty> properties) Writes a list of property objects to the database mapped to a specified resource.void
CmsSecurityManager.writeResourceProjectLastModified
(CmsRequestContext context, CmsResource resource, CmsProject project) Writes the 'projectlastmodified' field of a resource record.void
I_CmsVfsDriver.writeResourceState
(CmsDbContext dbc, CmsProject project, CmsResource resource, int changed, boolean isPublishing) Writes file state in either the structure or resource record, or both of them.Constructors in org.opencms.db with parameters of type CmsProjectModifierConstructorDescriptionCmsPublishList
(CmsProject project) Constructs a publish list for a given project. -
Uses of CmsProject in org.opencms.db.generic
Methods in org.opencms.db.generic that return CmsProjectModifier and TypeMethodDescriptionCmsProjectDriver.createProject
(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String projectFqn, String description, int flags, CmsProject.CmsProjectType type) protected CmsProject
CmsProjectDriver.internalCreateProject
(ResultSet res) Creates a new project from the current row of the given result set.CmsProjectDriver.readProject
(CmsDbContext dbc, String projectFqn) CmsProjectDriver.readProject
(CmsDbContext dbc, CmsUUID id) Methods in org.opencms.db.generic that return types with arguments of type CmsProjectModifier and TypeMethodDescriptionCmsProjectDriver.readProjects
(CmsDbContext dbc, String ouFqn) CmsProjectDriver.readProjectsForGroup
(CmsDbContext dbc, CmsGroup group) CmsProjectDriver.readProjectsForManagerGroup
(CmsDbContext dbc, CmsGroup group) CmsProjectDriver.readProjectsForResource
(CmsDbContext dbc, String rootPath) Returns the projects of a given resource.CmsProjectDriver.readProjectsForUser
(CmsDbContext dbc, CmsUser user) Methods in org.opencms.db.generic with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsUserDriver.createAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal, int allowed, int denied, int flags) void
CmsVfsDriver.createSibling
(CmsDbContext dbc, CmsProject project, CmsResource resource) void
CmsVfsDriver.deleteAliases
(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) void
CmsProjectDriver.deleteProject
(CmsDbContext dbc, CmsProject project) void
CmsProjectDriver.deleteProjectResources
(CmsDbContext dbc, CmsProject project) protected CmsResourceState
CmsProjectDriver.fixMovedResource
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource, CmsUUID publishHistoryId, int publishTag) Checks if the given resource (by id) is available in the online project, if there exists a resource with a different path (a moved file), then the online entry is moved to the right (new) location before publishing.CmsSqlManager.getPreparedStatement
(Connection con, CmsProject project, String queryKey) Returns a PreparedStatement for a JDBC connection specified by the key of a SQL query and the CmsProject.void
CmsVfsDriver.insertAlias
(CmsDbContext dbc, CmsProject project, CmsAlias alias) protected void
CmsVfsDriver.internalRemoveFolder
(CmsDbContext dbc, CmsProject currentProject, CmsResource resource) Removes a resource physically in the database.void
CmsUserDriver.publishAccessControlEntries
(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsUUID offlineId, CmsUUID onlineId) protected void
CmsProjectDriver.publishChangedFile
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedResourceIds, CmsUUID publishHistoryId, int publishTag) Publishes a changed file.protected void
CmsProjectDriver.publishDeletedFile
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource, CmsUUID publishHistoryId, int publishTag) Publishes a deleted file.void
CmsProjectDriver.publishDeletedFolder
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder currentFolder, CmsUUID publishHistoryId, int publishTag) void
CmsProjectDriver.publishFile
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag) CmsProjectDriver.publishFileContent
(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedResourceIds, boolean needToUpdateContent, int publishTag) void
CmsProjectDriver.publishFolder
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder offlineFolder, CmsUUID publishHistoryId, int publishTag) protected void
CmsProjectDriver.publishNewFile
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag) Publishes a new file.void
CmsProjectDriver.publishProject
(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag) void
CmsVfsDriver.publishResource
(CmsDbContext dbc, CmsProject onlineProject, CmsResource onlineResource, CmsResource offlineResource) CmsUserDriver.readAccessControlEntries
(CmsDbContext dbc, CmsProject project, CmsUUID resource, boolean inheritedOnly) CmsUserDriver.readAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal) CmsVfsDriver.readAliases
(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter) CmsVfsDriver.readChildResources
(CmsDbContext dbc, CmsProject currentProject, CmsResource resource, boolean getFolders, boolean getFiles) CmsProjectDriver.readProjectResources
(CmsDbContext dbc, CmsProject project) CmsVfsDriver.readPropertyObject
(CmsDbContext dbc, String key, CmsProject project, CmsResource resource) CmsVfsDriver.readPropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource) CmsSqlManager.readQuery
(CmsProject project, String queryKey) Searches for the SQL query with the specified key and CmsProject.CmsVfsDriver.readResourcesForPrincipalACE
(CmsDbContext dbc, CmsProject project, CmsUUID principalId) CmsVfsDriver.readResourcesForPrincipalAttr
(CmsDbContext dbc, CmsProject project, CmsUUID principalId) void
CmsUserDriver.removeAccessControlEntries
(CmsDbContext dbc, CmsProject project, CmsUUID resource) void
CmsUserDriver.removeAccessControlEntriesForPrincipal
(CmsDbContext dbc, CmsProject project, CmsProject onlineProject, CmsUUID principal) void
CmsUserDriver.removeAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal) void
CmsVfsDriver.removeFolder
(CmsDbContext dbc, CmsProject currentProject, CmsResource resource) void
CmsVfsDriver.transferResource
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsUUID createdUser, CmsUUID lastModifiedUser) void
CmsProjectDriver.unmarkProjectResources
(CmsDbContext dbc, CmsProject project) void
CmsVfsDriver.updateRelations
(CmsDbContext dbc, CmsProject onlineProject, CmsResource offlineResource) void
CmsUserDriver.writeAccessControlEntry
(CmsDbContext dbc, CmsProject project, CmsAccessControlEntry acEntry) void
CmsVfsDriver.writeLastModifiedProjectId
(CmsDbContext dbc, CmsProject project, CmsUUID projectId, CmsResource resource) void
CmsProjectDriver.writeProject
(CmsDbContext dbc, CmsProject project) void
CmsVfsDriver.writePropertyObject
(CmsDbContext dbc, CmsProject project, CmsResource resource, CmsProperty property) void
CmsVfsDriver.writePropertyObjects
(CmsDbContext dbc, CmsProject project, CmsResource resource, List<CmsProperty> properties) void
CmsVfsDriver.writeResourceState
(CmsDbContext dbc, CmsProject project, CmsResource resource, int changed, boolean isPublishing) -
Uses of CmsProject in org.opencms.file
Methods in org.opencms.file that return CmsProjectModifier and TypeMethodDescriptionCmsObject.createProject
(String name, String description, String groupname, String managergroupname) Creates a new project.CmsObject.createProject
(String name, String description, String groupname, String managergroupname, CmsProject.CmsProjectType projecttype) Creates a new project.CmsObject.createTempfileProject()
Creates the project for the temporary workplace files.CmsRequestContext.currentProject()
Deprecated.CmsRequestContext.getCurrentProject()
Returns the current project of the current user.CmsObject.readProject
(String name) Reads the project with the given name.CmsObject.readProject
(CmsUUID id) Reads the project with the given id.CmsRequestContext.setCurrentProject
(CmsProject project) Sets the current project for the user.Methods in org.opencms.file with parameters of type CmsProjectModifier and TypeMethodDescriptionint
CmsProject.compareTo
(CmsProject o) Compares this instance to another given object instance of this class .CmsObject.readGroup
(CmsProject project) Reads the group of a project.CmsObject.readManagerGroup
(CmsProject project) Returns the project manager group of a project.CmsObject.readOwner
(CmsProject project) Reads the owner of a project.CmsObject.readProjectResources
(CmsProject project) Returns the list of all resource names that define the "view" of the given project.CmsRequestContext.setCurrentProject
(CmsProject project) Sets the current project for the user.protected void
CmsRequestContext.switchUser
(CmsUser user, CmsProject project, String ouFqn) Switches the user in the context, required after a login.void
CmsObject.writeProject
(CmsProject project) Writes an already existing project.void
CmsObject.writeProjectLastModified
(CmsResource resource, CmsProject project) Writes the 'projectlastmodified' field of a resource record.Constructors in org.opencms.file with parameters of type CmsProjectModifierConstructorDescriptionCmsRequestContext
(CmsUser user, CmsProject project, String requestedUri, CmsSiteMatcher requestMatcher, String siteRoot, boolean isSecureRequest, Locale locale, String encoding, String remoteAddr, long requestTime, CmsResourceTranslator directoryTranslator, CmsResourceTranslator fileTranslator, String ouFqn, boolean forceAbsoluteLinks) Constructs a new request context. -
Uses of CmsProject in org.opencms.file.history
Subclasses of CmsProject in org.opencms.file.historyModifier and TypeClassDescriptionclass
Describes an OpenCms historical project entry. -
Uses of CmsProject in org.opencms.i18n
Methods in org.opencms.i18n with parameters of type CmsProjectModifier and TypeMethodDescriptionCmsDefaultLocaleHandler.getI18nInfo
(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resourceName) CmsLocaleManager.getI18nInfo
(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) Returns the the appropriate locale/encoding for a request, using the "right" locale handler for the given resource.CmsSingleTreeLocaleHandler.getI18nInfo
(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resourceName) I_CmsLocaleHandler.getI18nInfo
(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) Returns the i18n information to use in the request context. -
Uses of CmsProject in org.opencms.importexport
Methods in org.opencms.importexport with parameters of type CmsProjectModifier and TypeMethodDescriptionprotected void
CmsExport.exportProject
(org.dom4j.Element parent, CmsProject project) Exports one single project with all it's data. -
Uses of CmsProject in org.opencms.jlan
Methods in org.opencms.jlan that return CmsProject -
Uses of CmsProject in org.opencms.jsp.util
Methods in org.opencms.jsp.util that return CmsProjectModifier and TypeMethodDescriptionCmsJspVfsAccessBean.getCurrentProject()
Returns the current project from the context. -
Uses of CmsProject in org.opencms.lock
Methods in org.opencms.lock that return CmsProjectModifier and TypeMethodDescriptionCmsLock.getProject()
Returns the project where the resource is currently locked.Methods in org.opencms.lock with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsLockManager.addResource
(CmsDbContext dbc, CmsResource resource, CmsUser user, CmsProject project, CmsLockType type) Adds a resource to the lock manager.int
CmsLockManager.countExclusiveLocksInProject
(CmsProject project) Counts the exclusive locked resources in a project.boolean
CmsLock.isDirectlyOwnedInProjectBy
(CmsUser user, CmsProject project) Returnstrue
if this is an exclusive, temporary exclusive, or directly inherited lock, and the given user is the owner of this lock, checking also the project of the lock.boolean
CmsLock.isExclusiveOwnedInProjectBy
(CmsUser user, CmsProject project) Returnstrue
if this is an exclusive (or temporary exclusive) lock, and the given user is the owner and the given project is the project of this lock.boolean
CmsLock.isInProject
(CmsProject project) Returnstrue
if the given project is the project of this lock.boolean
CmsLock.isOwnedInProjectBy
(CmsUser user, CmsProject project) Returnstrue
if the given user is the owner of this lock, and this lock belongs to the given project.Constructors in org.opencms.lock with parameters of type CmsProjectModifierConstructorDescriptionCmsLock
(String resourceName, CmsUUID userId, CmsProject project, CmsLockType type) Constructor for a new Cms lock. -
Uses of CmsProject in org.opencms.main
Methods in org.opencms.main that return CmsProjectModifier and TypeMethodDescriptionCmsContextInfo.getProject()
Returns the project, ornull
if the project has not been configured.Constructors in org.opencms.main with parameters of type CmsProjectModifierConstructorDescriptionCmsContextInfo
(CmsUser user, CmsProject project, String requestedUri, CmsSiteMatcher requestMatcher, String siteRoot, boolean isSecureRequest, Locale locale, String encoding, String remoteAddr, long requestTime, String ouFqn, boolean isForceAbsoluteLinks) Creates a new instance with all context variables initialized. -
Uses of CmsProject in org.opencms.module
Methods in org.opencms.module that return CmsProjectModifier and TypeMethodDescriptionprotected CmsProject
CmsModuleUpdater.createAndSetModuleImportProject
(CmsObject cms, CmsModule module) Creates the project used to import module resources and sets it on the CmsObject.Methods in org.opencms.module with parameters of type CmsProjectModifier and TypeMethodDescriptionCmsModuleImportExportRepository.getExportedModuleData
(String virtualModuleFileName, CmsProject project) Exports a module and returns the export zip file content in a byte array. -
Uses of CmsProject in org.opencms.monitor
Methods in org.opencms.monitor that return CmsProjectModifier and TypeMethodDescriptionCmsMemoryMonitor.getCachedProject
(String key) Returns the project cached with the given cache key ornull
if not found.Methods in org.opencms.monitor with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsMemoryMonitor.cacheProject
(CmsProject project) Caches the given project under its id AND the fully qualified name.void
CmsMemoryMonitor.uncacheProject
(CmsProject project) Removes the given project from the cache. -
Uses of CmsProject in org.opencms.relations
Methods in org.opencms.relations with parameters of type CmsProjectModifier and TypeMethodDescriptionprotected boolean
CmsRelationSystemValidator.checkLinkForNewOrChangedLinkSource
(CmsDbContext dbc, CmsResource resource, CmsRelation relation, String link, CmsProject project, Map<String, CmsResource> fileLookup) Checks a link from a resource which has changed.protected List<CmsRelation>
CmsRelationSystemValidator.validateLinks
(CmsDbContext dbc, CmsResource resource, Map<String, CmsResource> fileLookup, CmsProject project, I_CmsReport report) Validates the links for the specified resource. -
Uses of CmsProject in org.opencms.search
Methods in org.opencms.search that return CmsProjectModifier and TypeMethodDescriptionprotected CmsProject
CmsSearchManager.getOfflineIndexProject()
Returns the a offline project used for offline indexing. -
Uses of CmsProject in org.opencms.security
Methods in org.opencms.security that return types with arguments of type CmsProjectModifier and TypeMethodDescriptionCmsOrgUnitManager.getAllAccessibleProjects
(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all accessible projects of the given organizational unit.CmsOrgUnitManager.getAllManageableProjects
(CmsObject cms, String ouFqn, boolean includeSubOus) Returns all manageable projects of the given organizational unit. -
Uses of CmsProject in org.opencms.ugc
Methods in org.opencms.ugc that return CmsProject -
Uses of CmsProject in org.opencms.ui
Methods in org.opencms.ui that return CmsProjectModifier and TypeMethodDescriptionA_CmsUI.getLastOfflineProject()
Returns the last used offline project.Methods in org.opencms.ui that return types with arguments of type CmsProjectModifier and TypeMethodDescriptionstatic List<CmsProject>
CmsVaadinUtils.getAvailableProjects
(CmsObject cms) Returns the available projects.Methods in org.opencms.ui with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
A_CmsUI.changeProject
(CmsProject project) Changes to the given project.void
A_CmsDialogContext.finish
(CmsProject project, String siteRoot) void
I_CmsDialogContext.finish
(CmsProject project, String siteRoot) Signals that the dialog has finished. -
Uses of CmsProject in org.opencms.ui.apps
Methods in org.opencms.ui.apps with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsExplorerDialogContext.finish
(CmsProject project, String siteRoot) void
CmsFileExplorer.onSiteOrProjectChange
(CmsProject project, String siteRoot) Call if site and or project have been changed. -
Uses of CmsProject in org.opencms.ui.components
Methods in org.opencms.ui.components with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsFileTableDialogContext.finish
(CmsProject project, String siteRoot) -
Uses of CmsProject in org.opencms.ui.components.extensions
Methods in org.opencms.ui.components.extensions with parameters of type CmsProjectModifier and TypeMethodDescriptionprotected CmsPublishData
CmsGwtDialogExtension.getPublishData
(CmsProject project, List<CmsResource> directPublishResources) Gets the publish data for the given resources.protected void
CmsGwtDialogExtension.openPublishDailog
(CmsProject project, List<CmsResource> directPublishResources) Opens the publish dialog for the given project.void
CmsGwtDialogExtension.openPublishDialog
(CmsProject project) Opens the publish dialog for the given project. -
Uses of CmsProject in org.opencms.ui.dialogs
Methods in org.opencms.ui.dialogs with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsEmbeddedDialogContext.finish
(CmsProject project, String siteRoot) -
Uses of CmsProject in org.opencms.ui.sitemap
Methods in org.opencms.ui.sitemap with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsSitemapTreeController.DialogContext.finish
(CmsProject project, String siteRoot) -
Uses of CmsProject in org.opencms.workflow
Methods in org.opencms.workflow with parameters of type CmsProjectModifier and TypeMethodDescriptionprotected void
CmsExtendedWorkflowManager.cleanupProjectIfEmpty
(CmsProject project) Removes a project if there are no longer any resources which have been last modified in that project.protected void
CmsExtendedWorkflowManager.clearLocks
(CmsProject project, List<CmsResource> resources) Ensures that the resources to be released are unlocked.static CmsProjectBean
CmsDefaultWorkflowManager.createProjectBeanFromProject
(CmsObject cms, CmsProject project) Creates a project bean from a real project.protected boolean
CmsExtendedWorkflowManager.isProjectEmpty
(CmsProject project) Checks whether there are resources which have last been modified in a given project.protected void
CmsExtendedWorkflowManager.sendNotification
(CmsObject userCms, CmsUser recipient, CmsProject workflowProject, List<CmsResource> resources) Sends the notification for released resources.Method parameters in org.opencms.workflow with type arguments of type CmsProjectModifier and TypeMethodDescriptionprotected void
CmsExtendedWorkflowManager.cleanupEmptyWorkflowProjects
(List<CmsProject> projects) Cleans up empty workflow projects.Constructors in org.opencms.workflow with parameters of type CmsProjectModifierConstructorDescriptionCmsWorkflowNotification
(CmsObject adminCms, CmsObject userCms, CmsUser receiver, String notificationContent, CmsProject project, List<CmsResource> resources, String link) Creates a new workflow notification mail object. -
Uses of CmsProject in org.opencms.workplace
Methods in org.opencms.workplace with parameters of type CmsProjectModifier and TypeMethodDescriptionCmsWorkplaceManager.getI18nInfo
(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, String resource) -
Uses of CmsProject in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that return CmsProjectModifier and TypeMethodDescriptionCmsResourceUtil.getReferenceProject()
Returns the project to use to check project state.Methods in org.opencms.workplace.explorer with parameters of type CmsProjectModifier and TypeMethodDescriptionvoid
CmsResourceUtil.setReferenceProject
(CmsProject project) Sets the project to use to check project state.
CmsRequestContext.getCurrentProject()
instead