Uses of Class
org.opencms.file.CmsProject
-
Packages that use CmsProject Package Description org.opencms.ade.configuration Contains the ade configuration classes.org.opencms.db Low-level database connection and access functionality.org.opencms.db.generic Generic (ANSI-SQL) implementation of the OpenCms database connector.org.opencms.file This important package provides the methods to access the OpenCms VFS repository with the permissions of an authenticated user.org.opencms.file.history This package contains the classes to deal with the OpenCms VFS history archive.org.opencms.i18n Classes to handle internalization (i18n) and locale selection in OpenCms.org.opencms.importexport Contains functions to import and export resources from the OpenCms VFS.org.opencms.jlan org.opencms.jsp.util Utility classes to be used for JSP pages.org.opencms.lock The lock state of the resources in the VFS is handled with these classes.org.opencms.main Provides the main OpenCms "operating system".org.opencms.module OpenCms modules provide a powerful, standardized way to extend the core OpenCms functionality.org.opencms.monitor Contains functions to monitor the OpenCms system status.org.opencms.relations Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.org.opencms.search Implements the main full text search and indexing functions available in OpenCms.org.opencms.security Access control and security classes for the OpenCms ACL permission system.org.opencms.ugc org.opencms.ui General code for the Vaadin UI.org.opencms.ui.apps Contains code for workplace apps.org.opencms.ui.components Contains some reusable GUI components for Vaadin UI.org.opencms.ui.components.extensions Contains Vaadin UI extensions.org.opencms.ui.dialogs Contains code for workplace dialogs.org.opencms.ui.sitemap Vaadin GUI components and utilities for use in the sitemap editor.org.opencms.workflow Classes related to publishing and workflow.org.opencms.workplace The base classes for the OpenCms Workplace (standard dialog, tab dialog, report based dialog) and the Workplace configuration classes are located here.org.opencms.workplace.explorer 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 CmsProject Modifier and Type Method Description protected 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 CmsProject Modifier and Type Method Description CmsProject
CmsDriverManager. createProject(CmsDbContext dbc, java.lang.String name, java.lang.String description, java.lang.String groupname, java.lang.String managergroupname, CmsProject.CmsProjectType projecttype)
Creates a project.CmsProject
CmsSecurityManager. createProject(CmsRequestContext context, java.lang.String name, java.lang.String description, java.lang.String groupname, java.lang.String managergroupname, CmsProject.CmsProjectType projecttype)
Creates a project.CmsProject
I_CmsProjectDriver. createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, java.lang.String name, java.lang.String description, int flags, CmsProject.CmsProjectType type)
Creates a new project.CmsProject
CmsDriverManager. createTempfileProject(CmsDbContext dbc)
Creates the project for the temporary workplace files.CmsProject
CmsSecurityManager. createTempfileProject(CmsRequestContext context)
Creates the project for the temporary workplace files.CmsProject
CmsDbContext. currentProject()
Returns the current users project.CmsProject
CmsDriverManager. readProject(CmsDbContext dbc, java.lang.String name)
Reads a project.CmsProject
CmsDriverManager. readProject(CmsDbContext dbc, CmsUUID id)
Reads a project given the projects id.CmsProject
CmsSecurityManager. readProject(java.lang.String name)
Reads a project.CmsProject
CmsSecurityManager. readProject(CmsUUID id)
Reads a project given the projects id.CmsProject
I_CmsProjectDriver. readProject(CmsDbContext dbc, java.lang.String name)
Reads a project.CmsProject
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 CmsProject Modifier and Type Method Description java.util.List<CmsProject>
CmsDriverManager. 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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
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.java.util.List<CmsProject>
I_CmsProjectDriver. readProjects(CmsDbContext dbc, java.lang.String ouFqn)
Returns all projects in the given organizational unit.java.util.List<CmsProject>
I_CmsProjectDriver. readProjectsForGroup(CmsDbContext dbc, CmsGroup group)
Returns all projects, which are accessible by a group.java.util.List<CmsProject>
I_CmsProjectDriver. readProjectsForManagerGroup(CmsDbContext dbc, CmsGroup group)
Returns all projects, which are manageable by a group.java.util.List<CmsProject>
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 CmsProject Modifier and Type Method Description void
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, java.lang.String username, java.lang.String replacementUsername)
Deletes a user, where all permissions and resources attributes of the user were transfered to a replacement user, if given.java.util.Set<CmsResource>
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, java.util.Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag)
Publishes a new, changed or deleted file.CmsFile
I_CmsProjectDriver. publishFileContent(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineFileHeader, java.util.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.java.util.List<CmsAccessControlEntry>
I_CmsUserDriver. readAccessControlEntries(CmsDbContext dbc, CmsProject project, CmsUUID resource, boolean inheritedOnly)
Reads all relevant access control entries for a given resource.CmsAccessControlEntry
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.CmsAlias
CmsDriverManager. readAliasByPath(CmsDbContext dbc, CmsProject project, java.lang.String siteRoot, java.lang.String path)
Finds the alias with a given path.java.util.List<CmsAlias>
I_CmsVfsDriver. readAliases(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter)
Reads the aliases matching a given filter.java.util.List<CmsAlias>
CmsDriverManager. readAliasesBySite(CmsDbContext dbc, CmsProject currentProject, java.lang.String siteRoot)
Reads the aliases for a given site root.java.util.List<CmsAlias>
CmsDriverManager. readAliasesByStructureId(CmsDbContext dbc, CmsProject project, CmsUUID structureId)
Reads the aliases which point to a given structure id.java.util.List<CmsResource>
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.CmsGroup
CmsDriverManager. readGroup(CmsDbContext dbc, CmsProject project)
Reads the group of a project.CmsGroup
CmsSecurityManager. readGroup(CmsRequestContext context, CmsProject project)
Reads the group of a project.CmsGroup
CmsDriverManager. readManagerGroup(CmsDbContext dbc, CmsProject project)
Reads the manager group of a project.CmsGroup
CmsSecurityManager. readManagerGroup(CmsRequestContext context, CmsProject project)
Reads the manager group of a project.CmsUser
CmsDriverManager. readOwner(CmsDbContext dbc, CmsProject project)
Reads the owner of a project.CmsUser
CmsSecurityManager. readOwner(CmsRequestContext context, CmsProject project)
Reads the owner of a project from the OpenCms.java.util.List<java.lang.String>
CmsDriverManager. readProjectResources(CmsDbContext dbc, CmsProject project)
Returns the list of all resource names that define the "view" of the given project.java.util.List<java.lang.String>
CmsSecurityManager. readProjectResources(CmsRequestContext context, CmsProject project)
Returns the list of all resource names that define the "view" of the given project.java.util.List<java.lang.String>
I_CmsProjectDriver. readProjectResources(CmsDbContext dbc, CmsProject project)
Reads the project resources for a specified project.CmsProperty
I_CmsVfsDriver. readPropertyObject(CmsDbContext dbc, java.lang.String key, CmsProject project, CmsResource resource)
Reads a property object from the database specified by it's key name mapped to a resource.java.util.List<CmsProperty>
I_CmsVfsDriver. readPropertyObjects(CmsDbContext dbc, CmsProject project, CmsResource resource)
Reads all property objects mapped to a specified resource from the database.java.util.List<CmsResource>
I_CmsVfsDriver. readResourcesForPrincipalACE(CmsDbContext dbc, CmsProject project, CmsUUID principalId)
Returns all resources associated to a given principal via an ACE.java.util.List<CmsResource>
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, java.util.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, java.util.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 CmsProject Constructor Description CmsPublishList(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 CmsProject Modifier and Type Method Description CmsProject
CmsProjectDriver. createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, java.lang.String projectFqn, java.lang.String description, int flags, CmsProject.CmsProjectType type)
protected CmsProject
CmsProjectDriver. internalCreateProject(java.sql.ResultSet res)
Creates a new project from the current row of the given result set.CmsProject
CmsProjectDriver. readProject(CmsDbContext dbc, java.lang.String projectFqn)
CmsProject
CmsProjectDriver. readProject(CmsDbContext dbc, CmsUUID id)
Methods in org.opencms.db.generic that return types with arguments of type CmsProject Modifier and Type Method Description java.util.List<CmsProject>
CmsProjectDriver. readProjects(CmsDbContext dbc, java.lang.String ouFqn)
java.util.List<CmsProject>
CmsProjectDriver. readProjectsForGroup(CmsDbContext dbc, CmsGroup group)
java.util.List<CmsProject>
CmsProjectDriver. readProjectsForManagerGroup(CmsDbContext dbc, CmsGroup group)
java.util.List<CmsProject>
CmsProjectDriver. readProjectsForResource(CmsDbContext dbc, java.lang.String rootPath)
Returns the projects of a given resource.java.util.List<CmsProject>
CmsProjectDriver. readProjectsForUser(CmsDbContext dbc, CmsUser user)
Methods in org.opencms.db.generic with parameters of type CmsProject Modifier and Type Method Description void
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.java.sql.PreparedStatement
CmsSqlManager. getPreparedStatement(java.sql.Connection con, CmsProject project, java.lang.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, java.util.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, java.util.Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag)
CmsFile
CmsProjectDriver. publishFileContent(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineResource, java.util.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, java.util.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)
java.util.List<CmsAccessControlEntry>
CmsUserDriver. readAccessControlEntries(CmsDbContext dbc, CmsProject project, CmsUUID resource, boolean inheritedOnly)
CmsAccessControlEntry
CmsUserDriver. readAccessControlEntry(CmsDbContext dbc, CmsProject project, CmsUUID resource, CmsUUID principal)
java.util.List<CmsAlias>
CmsVfsDriver. readAliases(CmsDbContext dbc, CmsProject project, CmsAliasFilter filter)
java.util.List<CmsResource>
CmsVfsDriver. readChildResources(CmsDbContext dbc, CmsProject currentProject, CmsResource resource, boolean getFolders, boolean getFiles)
java.util.List<java.lang.String>
CmsProjectDriver. readProjectResources(CmsDbContext dbc, CmsProject project)
CmsProperty
CmsVfsDriver. readPropertyObject(CmsDbContext dbc, java.lang.String key, CmsProject project, CmsResource resource)
java.util.List<CmsProperty>
CmsVfsDriver. readPropertyObjects(CmsDbContext dbc, CmsProject project, CmsResource resource)
java.lang.String
CmsSqlManager. readQuery(CmsProject project, java.lang.String queryKey)
Searches for the SQL query with the specified key and CmsProject.java.util.List<CmsResource>
CmsVfsDriver. readResourcesForPrincipalACE(CmsDbContext dbc, CmsProject project, CmsUUID principalId)
java.util.List<CmsResource>
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, java.util.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 CmsProject Modifier and Type Method Description CmsProject
CmsObject. createProject(java.lang.String name, java.lang.String description, java.lang.String groupname, java.lang.String managergroupname)
Creates a new project.CmsProject
CmsObject. createProject(java.lang.String name, java.lang.String description, java.lang.String groupname, java.lang.String managergroupname, CmsProject.CmsProjectType projecttype)
Creates a new project.CmsProject
CmsObject. createTempfileProject()
Creates the project for the temporary workplace files.CmsProject
CmsRequestContext. currentProject()
Deprecated.useCmsRequestContext.getCurrentProject()
insteadCmsProject
CmsRequestContext. getCurrentProject()
Returns the current project of the current user.CmsProject
CmsObject. readProject(java.lang.String name)
Reads the project with the given name.CmsProject
CmsObject. readProject(CmsUUID id)
Reads the project with the given id.CmsProject
CmsRequestContext. setCurrentProject(CmsProject project)
Sets the current project for the user.Methods in org.opencms.file with parameters of type CmsProject Modifier and Type Method Description int
CmsProject. compareTo(CmsProject o)
Compares this instance to another given object instance of this class .CmsGroup
CmsObject. readGroup(CmsProject project)
Reads the group of a project.CmsGroup
CmsObject. readManagerGroup(CmsProject project)
Returns the project manager group of a project.CmsUser
CmsObject. readOwner(CmsProject project)
Reads the owner of a project.java.util.List<java.lang.String>
CmsObject. readProjectResources(CmsProject project)
Returns the list of all resource names that define the "view" of the given project.CmsProject
CmsRequestContext. setCurrentProject(CmsProject project)
Sets the current project for the user.protected void
CmsRequestContext. switchUser(CmsUser user, CmsProject project, java.lang.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 CmsProject Constructor Description CmsRequestContext(CmsUser user, CmsProject project, java.lang.String requestedUri, CmsSiteMatcher requestMatcher, java.lang.String siteRoot, boolean isSecureRequest, java.util.Locale locale, java.lang.String encoding, java.lang.String remoteAddr, long requestTime, CmsResourceTranslator directoryTranslator, CmsResourceTranslator fileTranslator, java.lang.String ouFqn, boolean forceAbsoluteLinks)
Constructs a new request context. -
Uses of CmsProject in org.opencms.file.history
Subclasses of CmsProject in org.opencms.file.history Modifier and Type Class Description class
CmsHistoryProject
Describes an OpenCms historical project entry. -
Uses of CmsProject in org.opencms.i18n
Methods in org.opencms.i18n with parameters of type CmsProject Modifier and Type Method Description CmsI18nInfo
CmsDefaultLocaleHandler. getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.String resourceName)
CmsI18nInfo
CmsLocaleManager. getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.String resource)
Returns the the appropriate locale/encoding for a request, using the "right" locale handler for the given resource.CmsI18nInfo
CmsSingleTreeLocaleHandler. getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.String resourceName)
CmsI18nInfo
I_CmsLocaleHandler. getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.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 CmsProject Modifier and Type Method Description protected 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 Modifier and Type Method Description CmsProject
CmsJlanRepository. getProject()
Gets the configured project. -
Uses of CmsProject in org.opencms.jsp.util
Methods in org.opencms.jsp.util that return CmsProject Modifier and Type Method Description CmsProject
CmsJspVfsAccessBean. getCurrentProject()
Returns the current project from the context. -
Uses of CmsProject in org.opencms.lock
Methods in org.opencms.lock that return CmsProject Modifier and Type Method Description CmsProject
CmsLock. getProject()
Returns the project where the resource is currently locked.Methods in org.opencms.lock with parameters of type CmsProject Modifier and Type Method Description void
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 CmsProject Constructor Description CmsLock(java.lang.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 CmsProject Modifier and Type Method Description CmsProject
CmsContextInfo. getProject()
Returns the project, ornull
if the project has not been configured.Constructors in org.opencms.main with parameters of type CmsProject Constructor Description CmsContextInfo(CmsUser user, CmsProject project, java.lang.String requestedUri, CmsSiteMatcher requestMatcher, java.lang.String siteRoot, boolean isSecureRequest, java.util.Locale locale, java.lang.String encoding, java.lang.String remoteAddr, long requestTime, java.lang.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 CmsProject Modifier and Type Method Description protected 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 CmsProject Modifier and Type Method Description CmsModuleImportExportRepository.ModuleExportData
CmsModuleImportExportRepository. getExportedModuleData(java.lang.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 CmsProject Modifier and Type Method Description CmsProject
CmsMemoryMonitor. getCachedProject(java.lang.String key)
Returns the project cached with the given cache key ornull
if not found.Methods in org.opencms.monitor with parameters of type CmsProject Modifier and Type Method Description void
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 CmsProject Modifier and Type Method Description protected boolean
CmsRelationSystemValidator. checkLinkForNewOrChangedLinkSource(CmsDbContext dbc, CmsResource resource, CmsRelation relation, java.lang.String link, CmsProject project, java.util.Map<java.lang.String,CmsResource> fileLookup)
Checks a link from a resource which has changed.protected java.util.List<CmsRelation>
CmsRelationSystemValidator. validateLinks(CmsDbContext dbc, CmsResource resource, java.util.Map<java.lang.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 CmsProject Modifier and Type Method Description protected 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 CmsProject Modifier and Type Method Description java.util.List<CmsProject>
CmsOrgUnitManager. getAllAccessibleProjects(CmsObject cms, java.lang.String ouFqn, boolean includeSubOus)
Returns all accessible projects of the given organizational unit.java.util.List<CmsProject>
CmsOrgUnitManager. getAllManageableProjects(CmsObject cms, java.lang.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 Modifier and Type Method Description CmsProject
CmsUgcSession. getProject()
Returns the edit project. -
Uses of CmsProject in org.opencms.ui
Methods in org.opencms.ui that return CmsProject Modifier and Type Method Description CmsProject
A_CmsUI. getLastOfflineProject()
Returns the last used offline project.Methods in org.opencms.ui that return types with arguments of type CmsProject Modifier and Type Method Description static java.util.List<CmsProject>
CmsVaadinUtils. getAvailableProjects(CmsObject cms)
Returns the available projects.Methods in org.opencms.ui with parameters of type CmsProject Modifier and Type Method Description void
A_CmsUI. changeProject(CmsProject project)
Changes to the given project.void
A_CmsDialogContext. finish(CmsProject project, java.lang.String siteRoot)
void
I_CmsDialogContext. finish(CmsProject project, java.lang.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 CmsProject Modifier and Type Method Description void
CmsExplorerDialogContext. finish(CmsProject project, java.lang.String siteRoot)
void
CmsFileExplorer. onSiteOrProjectChange(CmsProject project, java.lang.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 CmsProject Modifier and Type Method Description void
CmsFileTableDialogContext. finish(CmsProject project, java.lang.String siteRoot)
-
Uses of CmsProject in org.opencms.ui.components.extensions
Methods in org.opencms.ui.components.extensions with parameters of type CmsProject Modifier and Type Method Description protected CmsPublishData
CmsGwtDialogExtension. getPublishData(CmsProject project, java.util.List<CmsResource> directPublishResources)
Gets the publish data for the given resources.protected void
CmsGwtDialogExtension. openPublishDailog(CmsProject project, java.util.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 CmsProject Modifier and Type Method Description void
CmsEmbeddedDialogContext. finish(CmsProject project, java.lang.String siteRoot)
-
Uses of CmsProject in org.opencms.ui.sitemap
Methods in org.opencms.ui.sitemap with parameters of type CmsProject Modifier and Type Method Description void
CmsSitemapTreeController.DialogContext. finish(CmsProject project, java.lang.String siteRoot)
-
Uses of CmsProject in org.opencms.workflow
Methods in org.opencms.workflow with parameters of type CmsProject Modifier and Type Method Description protected 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, java.util.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, java.util.List<CmsResource> resources)
Sends the notification for released resources.Method parameters in org.opencms.workflow with type arguments of type CmsProject Modifier and Type Method Description protected void
CmsExtendedWorkflowManager. cleanupEmptyWorkflowProjects(java.util.List<CmsProject> projects)
Cleans up empty workflow projects.Constructors in org.opencms.workflow with parameters of type CmsProject Constructor Description CmsWorkflowNotification(CmsObject adminCms, CmsObject userCms, CmsUser receiver, java.lang.String notificationContent, CmsProject project, java.util.List<CmsResource> resources, java.lang.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 CmsProject Modifier and Type Method Description CmsI18nInfo
CmsWorkplaceManager. getI18nInfo(javax.servlet.http.HttpServletRequest req, CmsUser user, CmsProject project, java.lang.String resource)
-
Uses of CmsProject in org.opencms.workplace.explorer
Methods in org.opencms.workplace.explorer that return CmsProject Modifier and Type Method Description CmsProject
CmsResourceUtil. getReferenceProject()
Returns the project to use to check project state.Methods in org.opencms.workplace.explorer with parameters of type CmsProject Modifier and Type Method Description void
CmsResourceUtil. setReferenceProject(CmsProject project)
Sets the project to use to check project state.
-