void |
CmsDriverManager.addAlias(CmsDbContext dbc,
CmsProject project,
CmsAlias alias) |
Adds an alias entry.
|
protected void |
CmsDriverManager.addOrReplaceUrlNameMapping(CmsDbContext dbc,
java.lang.String name,
CmsUUID structureId,
java.lang.String locale,
boolean replaceOnPublish) |
Adds or replaces a new url name mapping in the offline project.
|
void |
CmsDriverManager.addRelationToResource(CmsDbContext dbc,
CmsResource resource,
CmsResource target,
CmsRelationType type,
boolean importCase) |
Adds a new relation to the given resource.
|
void |
I_CmsUserDriver.addResourceToOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsResource resource) |
Adds a resource to the given organizational unit.
|
void |
CmsDriverManager.addResourceToOrgUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsResource resource) |
Adds a resource to the given organizational unit.
|
void |
I_CmsVfsDriver.addUrlNameMappingEntry(CmsDbContext dbc,
boolean online,
CmsUrlNameMappingEntry entry) |
Adds a new URL name mapping entry.
|
void |
CmsDriverManager.addUserToGroup(CmsDbContext dbc,
java.lang.String username,
java.lang.String groupname,
boolean readRoles) |
Adds a user to a group.
|
void |
CmsDriverManager.changeLock(CmsDbContext dbc,
CmsResource resource,
CmsLockType lockType) |
Changes the lock of a resource to the current user,
that is "steals" the lock from another user.
|
java.util.List<CmsResource> |
CmsDriverManager.changeResourcesInFolderWithProperty(CmsDbContext dbc,
CmsResource resource,
java.lang.String propertyDefinition,
java.lang.String oldValue,
java.lang.String newValue,
boolean recursive) |
Returns a list with all sub resources of a given folder that have set the given property,
matching the current property's value with the given old value and replacing it by a given new value.
|
void |
CmsSecurityManager.checkManagerOfProjectRole(CmsDbContext dbc,
CmsProject project) |
Checks if the current user has management access to the given project.
|
void |
CmsSecurityManager.checkOfflineProject(CmsDbContext dbc) |
Checks if the project in the given database context is not the "Online" project,
and throws an Exception if this is the case.
|
protected void |
CmsSecurityManager.checkPermissions(CmsDbContext dbc,
CmsResource resource,
CmsPermissionSet requiredPermissions,
boolean checkLock,
CmsResourceFilter filter) |
Performs a blocking permission check on a resource.
|
protected void |
CmsSecurityManager.checkPermissions(CmsDbContext dbc,
CmsResource resource,
CmsPermissionSet requiredPermissions,
I_CmsPermissionHandler.LockCheck checkLock,
CmsResourceFilter filter) |
Performs a blocking permission check on a resource.
|
void |
CmsSecurityManager.checkPublishPermissions(CmsDbContext dbc,
CmsPublishList publishList) |
Checks if the current user has the permissions to publish the given publish list
(which contains the information about the resources / project to publish).
|
void |
CmsSecurityManager.checkRole(CmsDbContext dbc,
CmsRole role) |
Checks if the user of the current database context has permissions to impersonate the given role
in the given organizational unit.
|
void |
CmsSecurityManager.checkRoleForResource(CmsDbContext dbc,
CmsRole role,
CmsResource resource) |
Checks if the user of the current database context has permissions to impersonate the given role
for the given resource.
|
protected void |
CmsSecurityManager.checkRoleForUserModification(CmsDbContext dbc,
java.lang.String username,
CmsRole role) |
Checks that the current user has enough permissions to modify the given user.
|
protected void |
CmsSecurityManager.checkSystemLocks(CmsDbContext dbc,
CmsResource resource) |
Checks if the given resource contains a resource that has a system lock.
|
void |
CmsDriverManager.chflags(CmsDbContext dbc,
CmsResource resource,
int flags) |
Changes the resource flags of a resource.
|
void |
CmsDriverManager.chtype(CmsDbContext dbc,
CmsResource resource,
int type) |
Changes the resource type of a resource.
|
int |
CmsDriverManager.cleanupPublishHistory(CmsDbContext dbc,
CmsPublishHistoryCleanupFilter filter) |
Cleans up the publish history entries according to the given filter.
|
int |
I_CmsProjectDriver.cleanupPublishHistory(CmsDbContext dbc,
CmsPublishHistoryCleanupFilter filter) |
Cleans up the publish history entries according to the given filter.
|
void |
CmsDriverManager.copyAccessControlEntries(CmsDbContext dbc,
CmsResource source,
CmsResource destination,
boolean updateLastModifiedInfo) |
Copies the access control entries of a given resource to a destination resource.
|
void |
CmsDriverManager.copyResource(CmsDbContext dbc,
CmsResource source,
java.lang.String destination,
CmsResource.CmsResourceCopyMode siblingMode) |
Copies a resource.
|
void |
CmsDriverManager.copyResourceToProject(CmsDbContext dbc,
CmsResource resource) |
Copies a resource to the current project of the user.
|
int |
I_CmsVfsDriver.countSiblings(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID resourceId) |
Counts the number of siblings of a resource.
|
long |
I_CmsUserDriver.countUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams) |
Counts the total number of users which match the given search criteria.
|
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.createContent(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID resourceId,
byte[] content) |
Creates a content entry for the resource identified by the specified resource id.
|
protected java.lang.Object |
CmsDriverManager.createDriver(CmsDbContext dbc,
CmsConfigurationManager configManager,
CmsParameterConfiguration config,
java.lang.String driverChainKey,
java.lang.String suffix) |
Helper method for creating a driver from configuration data.
|
CmsGroup |
CmsDriverManager.createGroup(CmsDbContext dbc,
CmsUUID id,
java.lang.String name,
java.lang.String description,
int flags,
java.lang.String parent) |
Add a new group to the Cms.
|
CmsGroup |
I_CmsUserDriver.createGroup(CmsDbContext dbc,
CmsUUID groupId,
java.lang.String groupFqn,
java.lang.String description,
int flags,
java.lang.String parentGroupName) |
Creates a new group.
|
void |
I_CmsVfsDriver.createOnlineContent(CmsDbContext dbc,
CmsUUID resourceId,
byte[] contents,
int publishTag,
boolean keepOnline,
boolean needToUpdateContent) |
Creates a new content in the offline project.
|
CmsOrganizationalUnit |
CmsDriverManager.createOrganizationalUnit(CmsDbContext dbc,
java.lang.String ouFqn,
java.lang.String description,
int flags,
CmsResource resource) |
Creates a new organizational unit.
|
CmsOrganizationalUnit |
I_CmsUserDriver.createOrganizationalUnit(CmsDbContext dbc,
java.lang.String name,
java.lang.String description,
int flags,
CmsOrganizationalUnit parent,
java.lang.String associationRootPath) |
Creates a new organizational unit.
|
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 |
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.
|
void |
I_CmsProjectDriver.createProjectResource(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String resourceName) |
Creates a new projectResource from a given CmsResource object.
|
CmsPropertyDefinition |
CmsDriverManager.createPropertyDefinition(CmsDbContext dbc,
java.lang.String name) |
Creates a property definition.
|
CmsPropertyDefinition |
I_CmsHistoryDriver.createPropertyDefinition(CmsDbContext dbc,
java.lang.String name,
CmsPropertyDefinition.CmsPropertyType type) |
Creates a new property defintion in the database.
|
CmsPropertyDefinition |
I_CmsVfsDriver.createPropertyDefinition(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String name,
CmsPropertyDefinition.CmsPropertyType type) |
Creates a new property definition in the database.
|
void |
CmsDriverManager.createPublishJob(CmsDbContext dbc,
CmsPublishJobInfoBean publishJob) |
Creates a new publish job.
|
void |
I_CmsProjectDriver.createPublishJob(CmsDbContext dbc,
CmsPublishJobInfoBean publishJob) |
Inserts an entry for a publish job .
|
void |
I_CmsVfsDriver.createRelation(CmsDbContext dbc,
CmsUUID projectId,
CmsRelation relation) |
|
CmsResource |
CmsDriverManager.createResource(CmsDbContext dbc,
java.lang.String resourcename,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
Creates a new resource of the given resource type
with the provided content and properties.
|
CmsResource |
CmsDriverManager.createResource(CmsDbContext dbc,
java.lang.String resourcePath,
CmsResource resource,
byte[] content,
java.util.List<CmsProperty> properties,
boolean importCase) |
Creates a new resource with the provided content and properties.
|
CmsResource |
I_CmsVfsDriver.createResource(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
byte[] content) |
Creates a new resource from a given CmsResource object.
|
void |
I_CmsUserDriver.createRootOrganizationalUnit(CmsDbContext dbc) |
Creates the default root organizational unit.
|
CmsResource |
CmsDriverManager.createSibling(CmsDbContext dbc,
CmsResource source,
java.lang.String destination,
java.util.List<CmsProperty> properties) |
Creates a new sibling of the source resource.
|
void |
I_CmsVfsDriver.createSibling(CmsDbContext dbc,
CmsProject project,
CmsResource resource) |
Creates a new sibling for a specified resource.
|
CmsProject |
CmsDriverManager.createTempfileProject(CmsDbContext dbc) |
Creates the project for the temporary workplace files.
|
CmsUser |
CmsDriverManager.createUser(CmsDbContext dbc,
java.lang.String name,
java.lang.String password,
java.lang.String description,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos) |
Creates a new user.
|
CmsUser |
I_CmsUserDriver.createUser(CmsDbContext dbc,
CmsUUID id,
java.lang.String userFqn,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
long lastlogin,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos) |
Creates a new user.
|
void |
I_CmsUserDriver.createUserInGroup(CmsDbContext dbc,
CmsUUID userid,
CmsUUID groupid) |
Adds a user to a group.
|
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.deleteAllProperties(CmsDbContext dbc,
java.lang.String resourcename) |
Deletes all property values of a file or folder.
|
void |
CmsDriverManager.deleteAllStaticExportPublishedResources(CmsDbContext dbc,
int linkType) |
Deletes all entries in the published resource table.
|
void |
I_CmsProjectDriver.deleteAllStaticExportPublishedResources(CmsDbContext dbc,
int linkType) |
Deletes all entries in the published resource table.
|
int |
I_CmsHistoryDriver.deleteEntries(CmsDbContext dbc,
I_CmsHistoryResource histResource,
int versionsToKeep,
long time) |
Deletes all historical versions of a resource
keeping maximal versionsToKeep versions.
|
void |
CmsDriverManager.deleteGroup(CmsDbContext dbc,
CmsGroup group,
CmsUUID replacementId) |
Deletes a group, where all permissions, users and children of the group
are transfered to a replacement group.
|
void |
I_CmsUserDriver.deleteGroup(CmsDbContext dbc,
java.lang.String groupFqn) |
Deletes a group.
|
void |
CmsDriverManager.deleteHistoricalVersions(CmsDbContext dbc,
int versionsToKeep,
int versionsDeleted,
long timeDeleted,
I_CmsReport report) |
Deletes the versions from the history tables, keeping the given number of versions per resource.
|
void |
I_CmsProjectDriver.deleteLog(CmsDbContext dbc,
CmsLogFilter filter) |
Deletes log entries matching the given filter.
|
void |
CmsDriverManager.deleteLogEntries(CmsDbContext dbc,
CmsLogFilter filter) |
Deletes all log entries matching the given filter.
|
void |
CmsDriverManager.deleteOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit organizationalUnit) |
Deletes an organizational unit.
|
void |
I_CmsUserDriver.deleteOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit organizationalUnit) |
Deletes an organizational unit.
|
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.deleteProjectResource(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String resourceName) |
Delete a projectResource from an given CmsResource object.
|
void |
I_CmsProjectDriver.deleteProjectResources(CmsDbContext dbc,
CmsProject project) |
Deletes a specified project.
|
void |
CmsDriverManager.deletePropertyDefinition(CmsDbContext dbc,
java.lang.String name) |
Deletes a property definition.
|
void |
I_CmsHistoryDriver.deletePropertyDefinition(CmsDbContext dbc,
CmsPropertyDefinition propertyDef) |
Deletes a property definition.
|
void |
I_CmsVfsDriver.deletePropertyDefinition(CmsDbContext dbc,
CmsPropertyDefinition name) |
Deletes a property definition.
|
void |
I_CmsVfsDriver.deletePropertyObjects(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
int deleteOption) |
Deletes all property values of a file or folder.
|
void |
I_CmsProjectDriver.deletePublishHistory(CmsDbContext dbc,
CmsUUID projectId,
int maxPublishTag) |
Deletes all publish history entries with publish tags >=0 and < the specified max.
|
void |
I_CmsProjectDriver.deletePublishHistoryEntry(CmsDbContext dbc,
CmsUUID publishHistoryId,
CmsPublishedResource publishResource) |
Deletes a publish history entry with publish tags >=0 and < the specified max.
|
void |
CmsDriverManager.deletePublishJob(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Deletes a publish job identified by its history id.
|
void |
I_CmsProjectDriver.deletePublishJob(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Deletes a publish job identified by its history id.
|
void |
CmsDriverManager.deletePublishList(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Deletes the publish list assigned to a publish job.
|
void |
I_CmsProjectDriver.deletePublishList(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Deletes the publish list assigned to a publish job.
|
void |
I_CmsVfsDriver.deleteRelations(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
CmsRelationFilter filter) |
Deletes all relations with the given filter for the given resource.
|
void |
CmsDriverManager.deleteRelationsForResource(CmsDbContext dbc,
CmsResource resource,
CmsRelationFilter filter) |
Deletes all relations for the given resource matching the given filter.
|
protected void |
CmsDriverManager.deleteRelationsWithSiblings(CmsDbContext dbc,
CmsResource resource) |
Deletes all relations for the given resource and all its siblings.
|
void |
CmsDriverManager.deleteResource(CmsDbContext dbc,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode) |
Deletes a resource.
|
protected void |
CmsSecurityManager.deleteResource(CmsDbContext dbc,
CmsResource resource,
CmsResource.CmsResourceDeleteMode siblingMode) |
Internal recursive method for deleting a resource.
|
void |
I_CmsVfsDriver.deleteRewriteAliases(CmsDbContext dbc,
CmsRewriteAliasFilter filter) |
Deletes rewrite aliases matching a given filter.
|
void |
CmsDriverManager.deleteStaticExportPublishedResource(CmsDbContext dbc,
java.lang.String resourceName,
int linkType,
java.lang.String linkParameter) |
Deletes an entry in the published resource table.
|
void |
I_CmsProjectDriver.deleteStaticExportPublishedResource(CmsDbContext dbc,
java.lang.String resourceName,
int linkType,
java.lang.String linkParameter) |
Deletes an entry in the published resource table.
|
void |
I_CmsVfsDriver.deleteUrlNameMappingEntries(CmsDbContext dbc,
boolean online,
CmsUrlNameMappingFilter filter) |
Deletes the URL name mapping entries which match a given filter.
|
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.
|
void |
I_CmsUserDriver.deleteUser(CmsDbContext dbc,
java.lang.String userFqn) |
Deletes a user.
|
void |
I_CmsUserDriver.deleteUserInfos(CmsDbContext dbc,
CmsUUID userId) |
Deletes the user additional information table.
|
void |
I_CmsUserDriver.deleteUserInGroup(CmsDbContext dbc,
CmsUUID userId,
CmsUUID groupId) |
Removes a user from a group.
|
void |
I_CmsProjectDriver.deleteUserPublishListEntries(CmsDbContext dbc,
java.util.List<CmsUserPublishListEntry> publishListDeletions) |
Deletes multiple publish list entries from the database.
|
void |
I_CmsSubscriptionDriver.deleteVisits(CmsDbContext dbc,
java.lang.String poolName,
CmsVisitEntryFilter filter) |
Deletes visit entries matching the given filter.
|
protected void |
CmsDriverManager.ensureSubResourcesOfMovedFoldersPublished(CmsObject cms,
CmsDbContext dbc,
CmsPublishList pubList) |
Tries to add sub-resources of moved folders to the publish list and throws an exception if the publish list still does
not contain some sub-resources of the moved folders.
|
boolean |
I_CmsUserDriver.existsGroup(CmsDbContext dbc,
java.lang.String groupFqn) |
Tests if a group with the specified name exists.
|
boolean |
CmsDriverManager.existsResourceId(CmsDbContext dbc,
CmsUUID resourceId) |
Tests if a resource with the given resourceId does already exist in the Database.
|
boolean |
I_CmsUserDriver.existsUser(CmsDbContext dbc,
java.lang.String userFqn) |
Tests if a user with the specified name exists.
|
void |
I_CmsProjectDriver.fillDefaults(CmsDbContext dbc) |
Fills the OpenCms database tables with default values.
|
void |
I_CmsUserDriver.fillDefaults(CmsDbContext dbc) |
Initializes the default organizational units, users and groups.
|
void |
CmsDriverManager.fillPublishList(CmsDbContext dbc,
CmsPublishList publishList) |
Fills the given publish list with the the VFS resources that actually get published.
|
protected java.lang.String |
CmsDriverManager.findBestNameForUrlNameMapping(CmsDbContext dbc,
java.lang.String name,
CmsUUID structureId) |
Helper method for finding the 'best' URL name to use for a new URL name mapping.
|
protected java.lang.String |
CmsDriverManager.findBestNameForUrlNameMapping(CmsDbContext dbc,
java.util.Iterator<java.lang.String> nameSeq,
CmsUUID structureId,
java.lang.String locale) |
Tries to find the best name for an URL name mapping for the given structure id.
|
java.util.List<CmsAccessControlEntry> |
CmsDriverManager.getAccessControlEntries(CmsDbContext dbc,
CmsResource resource,
boolean getInherited) |
Returns the list of access control entries of a resource given its name.
|
CmsAccessControlList |
CmsDriverManager.getAccessControlList(CmsDbContext dbc,
CmsResource resource) |
Returns the full access control list of a given resource.
|
CmsAccessControlList |
CmsDriverManager.getAccessControlList(CmsDbContext dbc,
CmsResource resource,
boolean inheritedOnly) |
Returns the access control list of a given resource.
|
java.util.List<CmsAccessControlEntry> |
CmsDriverManager.getAllAccessControlEntries(CmsDbContext dbc) |
Reads all access control entries.
|
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<I_CmsHistoryResource> |
I_CmsHistoryDriver.getAllDeletedEntries(CmsDbContext dbc) |
Returns all historical resources (of deleted resources).
|
java.util.List<CmsHistoryProject> |
CmsDriverManager.getAllHistoricalProjects(CmsDbContext dbc) |
Returns a list with all projects from history.
|
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<I_CmsHistoryResource> |
I_CmsHistoryDriver.getAllNotDeletedEntries(CmsDbContext dbc) |
Returns all historical resources (of not deleted resources).
|
java.lang.String |
CmsCacheKey.getCacheKeyForGroupUsers(java.lang.String prefix,
CmsDbContext context,
CmsGroup group) |
|
java.lang.String |
I_CmsCacheKey.getCacheKeyForGroupUsers(java.lang.String prefix,
CmsDbContext context,
CmsGroup group) |
Returns the cache key for the group users cache.
|
java.lang.String |
CmsCacheKey.getCacheKeyForUserGroups(java.lang.String prefix,
CmsDbContext context,
CmsUser user) |
|
java.lang.String |
I_CmsCacheKey.getCacheKeyForUserGroups(java.lang.String prefix,
CmsDbContext context,
CmsUser user) |
Returns the cache key for the user groups cache.
|
java.lang.String |
CmsCacheKey.getCacheKeyForUserPermissions(java.lang.String prefix,
CmsDbContext context,
CmsResource resource,
CmsPermissionSet requiredPermissions) |
|
java.lang.String |
I_CmsCacheKey.getCacheKeyForUserPermissions(java.lang.String prefix,
CmsDbContext context,
CmsResource resource,
CmsPermissionSet requiredPermissions) |
Returns the cache key for the permission cache.
|
java.util.List<CmsGroup> |
CmsDriverManager.getChildren(CmsDbContext dbc,
CmsGroup group,
boolean includeSubChildren) |
Returns all child groups of a group.
|
long |
CmsDriverManager.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource) |
Returns the date when the resource was last visited by the user.
|
long |
I_CmsSubscriptionDriver.getDateLastVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
CmsResource resource) |
Returns the date when the resource was last visited by the user.
|
java.util.List<CmsGroup> |
CmsDriverManager.getGroups(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean includeSubOus,
boolean readRoles) |
Returns all groups of the given organizational unit.
|
java.util.List<CmsGroup> |
I_CmsUserDriver.getGroups(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean includeSubOus,
boolean readRoles) |
Returns all groups of the given organizational unit.
|
java.util.List<CmsGroup> |
CmsDriverManager.getGroupsOfUser(CmsDbContext dbc,
java.lang.String username,
boolean readRoles) |
Returns the groups of an user filtered by the specified IP address.
|
java.util.List<CmsGroup> |
CmsDriverManager.getGroupsOfUser(CmsDbContext dbc,
java.lang.String username,
java.lang.String ouFqn,
boolean includeChildOus,
boolean readRoles,
boolean directGroupsOnly,
java.lang.String remoteAddress) |
Returns the groups of an user filtered by the specified IP address.
|
I_CmsHistoryDriver |
CmsDriverManager.getHistoryDriver(CmsDbContext dbc) |
Returns the history driver for a given database context.
|
CmsLock |
CmsDriverManager.getLock(CmsDbContext dbc,
CmsResource resource) |
Returns the lock state of a resource.
|
java.util.List<java.lang.String> |
CmsDriverManager.getLockedResources(CmsDbContext dbc,
CmsResource resource,
CmsLockFilter filter) |
Returns all locked resources in a given folder.
|
java.util.List<CmsResource> |
CmsDriverManager.getLockedResourcesObjects(CmsDbContext dbc,
CmsResource resource,
CmsLockFilter filter) |
Returns all locked resources in a given folder.
|
java.util.List<CmsResource> |
CmsDriverManager.getLockedResourcesObjectsWithCache(CmsDbContext dbc,
CmsResource resource,
CmsLockFilter filter,
java.util.Map<java.lang.String,CmsResource> cache) |
Returns all locked resources in a given folder, but uses a cache for resource lookups.
|
java.util.List<CmsLogEntry> |
CmsDriverManager.getLogEntries(CmsDbContext dbc,
CmsLogFilter filter) |
Returns all log entries matching the given filter.
|
protected java.util.List<CmsResource> |
CmsSecurityManager.getManageableResources(CmsDbContext dbc,
CmsRole role) |
Returns all resources of organizational units for which the current user has
the given role role.
|
int |
CmsDriverManager.getNextPublishTag(CmsDbContext dbc) |
Returns the next publish tag for the published historical resources.
|
java.util.List<CmsOrganizationalUnit> |
CmsDriverManager.getOrganizationalUnits(CmsDbContext dbc,
CmsOrganizationalUnit parent,
boolean includeChildren) |
Returns all child organizational units of the given parent organizational unit including
hierarchical deeper organization units if needed.
|
java.util.List<CmsOrganizationalUnit> |
I_CmsUserDriver.getOrganizationalUnits(CmsDbContext dbc,
CmsOrganizationalUnit parent,
boolean includeChildren) |
Returns all child organizational units of the given parent organizational unit including
hierarchical deeper organization units if needed.
|
java.util.List<CmsOrganizationalUnit> |
CmsDriverManager.getOrgUnitsForRole(CmsDbContext dbc,
CmsRole role,
boolean includeSubOus) |
Returns all the organizational units for which the current user has the given role.
|
CmsGroup |
CmsDriverManager.getParent(CmsDbContext dbc,
java.lang.String groupname) |
Returns the parent group of a group.
|
CmsPermissionSetCustom |
CmsDriverManager.getPermissions(CmsDbContext dbc,
CmsResource resource,
CmsUser user) |
Returns the set of permissions of the current user for a given resource.
|
I_CmsProjectDriver |
CmsDriverManager.getProjectDriver(CmsDbContext dbc) |
Returns the project driver for a given DB context.
|
I_CmsProjectDriver |
CmsDriverManager.getProjectDriver(CmsDbContext dbc,
I_CmsProjectDriver defaultDriver) |
Returns either the project driver for the DB context (if it has one) or a default project driver.
|
CmsUUID |
CmsDriverManager.getProjectId(CmsDbContext dbc,
int id) |
Returns the uuid id for the given id.
|
CmsPublishList |
CmsDriverManager.getRelatedResourcesToPublish(CmsDbContext dbc,
CmsPublishList publishList,
CmsRelationFilter filter) |
Returns a new publish list that contains the unpublished resources related
to all resources in the given publish list, the related resources exclude
all resources in the given publish list and also locked (by other users) resources.
|
java.util.List<CmsRelation> |
CmsDriverManager.getRelationsForResource(CmsDbContext dbc,
CmsResource resource,
CmsRelationFilter filter) |
Returns all relations for the given resource matching the given filter.
|
java.util.List<CmsOrganizationalUnit> |
CmsDriverManager.getResourceOrgUnits(CmsDbContext dbc,
CmsResource resource) |
Returns the list of organizational units the given resource belongs to.
|
java.util.List<CmsOrganizationalUnit> |
I_CmsVfsDriver.getResourceOus(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource) |
Returns all organizational units for the given resource.
|
java.util.List<CmsResource> |
CmsDriverManager.getResourcesForOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit) |
Returns all resources of the given organizational unit.
|
java.util.List<CmsResource> |
I_CmsUserDriver.getResourcesForOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit) |
Returns all resources of the given organizational unit.
|
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.
|
java.util.List<CmsRewriteAlias> |
CmsDriverManager.getRewriteAliases(CmsDbContext dbc,
CmsRewriteAliasFilter filter) |
Gets the rewrite aliases matching a given filter.
|
java.util.Set<CmsGroup> |
CmsDriverManager.getRoleGroups(CmsDbContext dbc,
java.lang.String roleGroupName,
boolean directUsersOnly) |
Collects the groups which constitute a given role.
|
java.util.Set<CmsGroup> |
CmsDriverManager.getRoleGroupsImpl(CmsDbContext dbc,
java.lang.String roleGroupName,
boolean directUsersOnly,
java.util.Map<java.lang.String,java.util.Set<CmsGroup>> accumulator) |
Collects the groups which constitute a given role.
|
java.util.List<CmsRole> |
CmsDriverManager.getRolesForResource(CmsDbContext dbc,
CmsUser user,
CmsResource resource) |
Returns all roles the given user has for the given resource.
|
java.util.List<CmsRole> |
CmsDriverManager.getRolesForUser(CmsDbContext dbc,
CmsUser user) |
Returns all roles the given user has independent of the resource.
|
I_CmsUserDriver |
CmsDriverManager.getUserDriver(CmsDbContext dbc) |
Returns the user driver for a given database context.
|
I_CmsUserDriver |
CmsDriverManager.getUserDriver(CmsDbContext dbc,
I_CmsUserDriver defaultDriver) |
Returns either the user driver for the given DB context (if it has one) or a default value instead.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
Returns all direct users of the given organizational unit.
|
java.util.List<CmsUser> |
I_CmsUserDriver.getUsers(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
Returns all users of the given organizational unit.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsersOfGroup(CmsDbContext dbc,
java.lang.String groupname,
boolean includeOtherOuUsers,
boolean directUsersOnly,
boolean readRoles) |
Returns a list of users in a group.
|
java.util.List<CmsResource> |
CmsDriverManager.getUsersPubList(CmsDbContext dbc,
CmsUUID userId) |
Returns the given user's publish list.
|
java.util.List<CmsResource> |
I_CmsProjectDriver.getUsersPubList(CmsDbContext dbc,
CmsUUID userId) |
Returns the given user's publish list.
|
java.util.List<CmsUser> |
CmsDriverManager.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
Returns all direct users of the given organizational unit, without their additional info.
|
java.util.List<CmsUser> |
I_CmsUserDriver.getUsersWithoutAdditionalInfo(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
boolean recursive) |
Returns all users of the given organizational unit, without reading their additional infos.
|
I_CmsVfsDriver |
CmsDriverManager.getVfsDriver(CmsDbContext dbc) |
Returns the VFS driver for the given database context.
|
protected I_CmsPermissionHandler.CmsPermissionCheckResult |
CmsSecurityManager.hasPermissions(CmsDbContext dbc,
CmsResource resource,
CmsPermissionSet requiredPermissions,
I_CmsPermissionHandler.LockCheck checkLock,
CmsResourceFilter filter) |
Performs a non-blocking permission check on a resource.
|
boolean |
CmsSecurityManager.hasRole(CmsDbContext dbc,
CmsUser user,
CmsRole role) |
Checks if the given user has the given role in the given organizational unit.
|
boolean |
CmsSecurityManager.hasRoleForResource(CmsDbContext dbc,
CmsUser user,
CmsRole role,
CmsResource resource) |
Checks if the given user has the given role for the given resource.
|
void |
CmsDriverManager.importAccessControlEntries(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsAccessControlEntry> acEntries) |
Writes a vector of access control entries as new access control entries of a given resource.
|
CmsAliasImportResult |
CmsDriverManager.importRewriteAlias(CmsDbContext dbc,
java.lang.String siteRoot,
java.lang.String source,
java.lang.String target,
CmsAliasMode mode) |
Imports a rewrite alias.
|
CmsUser |
CmsDriverManager.importUser(CmsDbContext dbc,
java.lang.String id,
java.lang.String name,
java.lang.String password,
java.lang.String firstname,
java.lang.String lastname,
java.lang.String email,
int flags,
long dateCreated,
java.util.Map<java.lang.String,java.lang.Object> additionalInfos) |
Creates a new user by import.
|
int |
CmsDriverManager.incrementCounter(CmsDbContext dbc,
java.lang.String name) |
Increments a counter and returns its value before incrementing.
|
int |
I_CmsVfsDriver.incrementCounter(CmsDbContext dbc,
java.lang.String name) |
Gets the current value of a counter, creates it if it doesn't already exist, and increments it.
|
void |
CmsDriverManager.ResourceOUMap.init(CmsDriverManager driverManager,
CmsDbContext dbc) |
Reads the OU resource data from the VFS and initializes this instance with it.
|
void |
I_CmsDriver.init(CmsDbContext dbc,
CmsConfigurationManager configurationManager,
java.util.List<java.lang.String> successiveDrivers,
CmsDriverManager driverManager) |
Initializes the driver.
|
void |
CmsDriverManager.initOrgUnit(CmsDbContext dbc,
CmsOrganizationalUnit ou) |
Initializes the organizational unit.
|
void |
I_CmsVfsDriver.insertAlias(CmsDbContext dbc,
CmsProject project,
CmsAlias alias) |
Adds an alias to the database.
|
void |
I_CmsVfsDriver.insertRewriteAliases(CmsDbContext dbc,
java.util.Collection<CmsRewriteAlias> rewriteAliases) |
Adds a list of rewrite aliases.
|
boolean |
CmsDriverManager.isInsideCurrentProject(CmsDbContext dbc,
java.lang.String resourcename) |
Checks if the specified resource is inside the current project.
|
boolean |
CmsDriverManager.labelResource(CmsDbContext dbc,
CmsResource resource,
java.lang.String newResource,
int action) |
Checks if one of the resources (except the resource itself)
is a sibling in a "labeled" site folder.
|
CmsUser |
CmsDriverManager.lockedBy(CmsDbContext dbc,
CmsResource resource) |
Returns the user, who had locked the resource.
|
void |
CmsDriverManager.lockResource(CmsDbContext dbc,
CmsResource resource,
CmsLockType type) |
Locks a resource.
|
void |
CmsDriverManager.log(CmsDbContext dbc,
CmsLogEntry logEntry,
boolean force) |
Adds the given log entry to the current user's log.
|
void |
I_CmsProjectDriver.log(CmsDbContext dbc,
java.util.List<CmsLogEntry> logEntries) |
Logs the given log entries.
|
CmsUser |
CmsDriverManager.loginUser(CmsDbContext dbc,
java.lang.String userName,
java.lang.String password,
CmsSecondFactorInfo secondFactorInfo,
java.lang.String remoteAddress,
CmsDriverManager.LoginUserMode mode) |
Attempts to authenticate a user into OpenCms with the given password.
|
I_CmsPrincipal |
CmsDriverManager.lookupPrincipal(CmsDbContext dbc,
java.lang.String principalName) |
Lookup and read the user or group with the given name.
|
I_CmsPrincipal |
CmsDriverManager.lookupPrincipal(CmsDbContext dbc,
CmsUUID principalId) |
Lookup and read the user or group with the given UUID.
|
void |
CmsDriverManager.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
Mark the given resource as visited by the user.
|
void |
I_CmsSubscriptionDriver.markResourceAsVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource,
CmsUser user) |
Mark the given resource as visited by the user.
|
void |
CmsDriverManager.moveResource(CmsDbContext dbc,
CmsResource source,
java.lang.String destination,
boolean internal) |
Moves a resource.
|
protected void |
CmsSecurityManager.moveResource(CmsDbContext dbc,
CmsResource source,
java.lang.String destination,
java.util.Set<CmsResource> allMovedResources) |
Internal recursive method to move a resource.
|
void |
I_CmsVfsDriver.moveResource(CmsDbContext dbc,
CmsUUID projectId,
CmsResource source,
java.lang.String destinationPath) |
Moves the given resource to the specified destination path.
|
java.lang.String |
CmsDriverManager.moveToLostAndFound(CmsDbContext dbc,
CmsResource resource,
boolean returnNameOnly) |
Moves a resource to the "lost and found" folder.
|
java.lang.Object |
CmsDriverManager.newDriverInstance(CmsDbContext dbc,
CmsConfigurationManager configurationManager,
java.lang.String driverName,
java.util.List<java.lang.String> successiveDrivers) |
Gets a new driver instance.
|
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 |
CmsDriverManager.publishJob(CmsObject cms,
CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report) |
Publishes the given publish job.
|
void |
CmsDriverManager.publishProject(CmsObject cms,
CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report) |
Publishes the resources of a specified publish list.
|
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.
|
void |
CmsDriverManager.publishUrlNameMapping(CmsDbContext dbc,
CmsResource res) |
Transfers the new URL name mappings (if any) for a given resource to the online project.
|
void |
I_CmsVfsDriver.publishVersions(CmsDbContext dbc,
CmsResource resource,
boolean firstSibling) |
Copies the version number from the offline resource to the online resource,
this has to be done during publishing, direct after copying the resource itself.
|
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 |
CmsDriverManager.readAccessControlEntry(CmsDbContext dbc,
CmsResource resource,
CmsUUID principal) |
Reads an access control entry from the cms.
|
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<I_CmsHistoryResource> |
CmsDriverManager.readAllAvailableVersions(CmsDbContext dbc,
CmsResource resource) |
Reads all versions of the given resource.
This method returns a list with the history of the given resource, i.e.
|
java.util.List<I_CmsHistoryResource> |
I_CmsHistoryDriver.readAllAvailableVersions(CmsDbContext dbc,
CmsUUID structureId) |
Reads all file headers of the resource with the given structure id.
|
java.util.List<CmsPropertyDefinition> |
CmsDriverManager.readAllPropertyDefinitions(CmsDbContext dbc) |
Reads all property definitions for the given mapping type.
|
java.util.List<CmsResource> |
CmsDriverManager.readAllSubscribedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal) |
Returns all resources subscribed by the given user or group.
|
java.util.List<CmsResource> |
I_CmsSubscriptionDriver.readAllSubscribedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal) |
Returns all resources subscribed by the given user or group.
|
java.lang.String |
CmsDriverManager.readBestUrlName(CmsDbContext dbc,
CmsUUID id,
java.util.Locale locale,
java.util.List<java.util.Locale> defaultLocales) |
Selects the best url name for a given resource and locale.
|
java.util.List<CmsGroup> |
I_CmsUserDriver.readChildGroups(CmsDbContext dbc,
java.lang.String groupFqn) |
Reads all child groups of a group.
|
java.util.List<CmsResource> |
CmsDriverManager.readChildResources(CmsDbContext dbc,
CmsResource resource,
CmsResourceFilter filter,
boolean getFolders,
boolean getFiles,
boolean checkPermissions) |
Returns the child resources of a resource, that is the resources
contained in a folder.
|
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.
|
byte[] |
I_CmsHistoryDriver.readContent(CmsDbContext dbc,
CmsUUID resourceId,
int publishTag) |
Reads the content of the historical version of the resource
identified by its structure id.
|
byte[] |
I_CmsVfsDriver.readContent(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID resourceId) |
Reads the content of a file specified by it's resource ID.
|
CmsResource |
CmsDriverManager.readDefaultFile(CmsDbContext dbc,
CmsResource resource,
CmsResourceFilter resourceFilter) |
Returns the default file for the given folder.
|
java.util.List<I_CmsHistoryResource> |
CmsDriverManager.readDeletedResources(CmsDbContext dbc,
CmsResource resource,
boolean readTree,
boolean isVfsManager) |
Reads all deleted (historical) resources below the given path,
including the full tree below the path, if required.
|
java.util.List<I_CmsHistoryResource> |
I_CmsHistoryDriver.readDeletedResources(CmsDbContext dbc,
CmsUUID structureId,
CmsUUID userId) |
Reads all deleted (historical) resources below the given path, that the given user deleted by itself.
|
CmsFile |
CmsDriverManager.readFile(CmsDbContext dbc,
CmsResource resource) |
Reads a file resource (including it's binary content) from the VFS,
using the specified resource filter.
|
CmsFolder |
CmsDriverManager.readFolder(CmsDbContext dbc,
java.lang.String resourcename,
CmsResourceFilter filter) |
Reads a folder from the VFS,
using the specified resource filter.
|
protected CmsFolder |
CmsSecurityManager.readFolder(CmsDbContext dbc,
java.lang.String resourcename,
CmsResourceFilter filter) |
Reads a folder from the VFS, using the specified resource filter.
|
CmsFolder |
I_CmsVfsDriver.readFolder(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String foldername) |
Reads a folder specified by it's resource name.
|
CmsFolder |
I_CmsVfsDriver.readFolder(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID folderId) |
Reads a folder specified by it's structure ID.
|
CmsGroup |
CmsDriverManager.readGroup(CmsDbContext dbc,
java.lang.String groupname) |
Reads a group based on its name.
|
CmsGroup |
CmsDriverManager.readGroup(CmsDbContext dbc,
CmsProject project) |
Reads the group of a project.
|
CmsGroup |
CmsDriverManager.readGroup(CmsDbContext dbc,
CmsUUID groupId) |
Reads a group based on its id.
|
CmsGroup |
I_CmsUserDriver.readGroup(CmsDbContext dbc,
java.lang.String groupFqn) |
Reads a group based on the group name.
|
CmsGroup |
I_CmsUserDriver.readGroup(CmsDbContext dbc,
CmsUUID groupId) |
Reads a group based on the group id.
|
java.util.List<CmsGroup> |
I_CmsUserDriver.readGroupsOfUser(CmsDbContext dbc,
CmsUUID userId,
java.lang.String ouFqn,
boolean includeChildOus,
java.lang.String remoteAddress,
boolean readRoles) |
Reads all groups the given user is a member in.
|
CmsHistoryPrincipal |
CmsDriverManager.readHistoricalPrincipal(CmsDbContext dbc,
CmsUUID principalId) |
Reads a principal (an user or group) from the historical archive based on its ID.
|
CmsHistoryProject |
CmsDriverManager.readHistoryProject(CmsDbContext dbc,
int publishTag) |
Returns a historical project entry.
|
CmsHistoryProject |
CmsDriverManager.readHistoryProject(CmsDbContext dbc,
CmsUUID projectId) |
Returns the latest historical project entry with the given id.
|
java.util.List<CmsProperty> |
CmsDriverManager.readHistoryPropertyObjects(CmsDbContext dbc,
I_CmsHistoryResource historyResource) |
Reads the list of all CmsProperty
objects that belongs to the given historical resource.
|
CmsUUID |
CmsDriverManager.readIdForUrlName(CmsDbContext dbc,
java.lang.String name) |
Reads the structure id which is mapped to a given URL name.
|
int |
I_CmsHistoryDriver.readLastVersion(CmsDbContext dbc,
CmsUUID structureId) |
Returns the last historical version of a resource.
|
void |
CmsDriverManager.readLocks(CmsDbContext dbc) |
Reads the locks that were saved to the database in the previous run of OpenCms.
|
java.util.List<CmsLock> |
I_CmsProjectDriver.readLocks(CmsDbContext dbc) |
Reads the List <CmsLock ;>
that were saved to the database in the previous run of OpenCms.
|
java.util.List<CmsLogEntry> |
I_CmsProjectDriver.readLog(CmsDbContext dbc,
CmsLogFilter filter) |
Reads log entries matching the given filter.
|
CmsGroup |
CmsDriverManager.readManagerGroup(CmsDbContext dbc,
CmsProject project) |
Reads the manager group of a project.
|
int |
I_CmsHistoryDriver.readMaxPublishTag(CmsDbContext dbc,
CmsUUID resourceId) |
Reads the maximal publish tag for a specified resource id.
|
java.lang.String |
CmsDriverManager.readNewestUrlNameForId(CmsDbContext dbc,
CmsUUID id) |
Reads the URL name which has been most recently mapped to the given structure id, or null
if no URL name is mapped to the id.
|
int |
I_CmsHistoryDriver.readNextPublishTag(CmsDbContext dbc) |
Returns the next available history publish tag.
|
CmsOrganizationalUnit |
CmsDriverManager.readOrganizationalUnit(CmsDbContext dbc,
java.lang.String ouFqn) |
Reads an organizational Unit based on its fully qualified name.
|
CmsOrganizationalUnit |
I_CmsUserDriver.readOrganizationalUnit(CmsDbContext dbc,
java.lang.String ouFqn) |
Reads an organizational Unit based on its fully qualified name.
|
CmsUser |
CmsDriverManager.readOwner(CmsDbContext dbc,
CmsProject project) |
Reads the owner of a project.
|
CmsResource |
CmsDriverManager.readParentFolder(CmsDbContext dbc,
CmsUUID structureId) |
Reads the parent folder to a given structure id.
|
CmsFolder |
I_CmsVfsDriver.readParentFolder(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID structureId) |
Reads the parent folder of a resource specified by it's structure ID.
|
java.util.List<CmsResource> |
CmsDriverManager.readPath(CmsDbContext dbc,
java.lang.String path,
CmsResourceFilter filter) |
Builds a list of resources for a given path.
|
CmsHistoryPrincipal |
I_CmsHistoryDriver.readPrincipal(CmsDbContext dbc,
CmsUUID principalId) |
Reads an historical principal entry.
|
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.
|
CmsHistoryProject |
I_CmsHistoryDriver.readProject(CmsDbContext dbc,
int publishTag) |
Reads an historical project version.
|
CmsHistoryProject |
I_CmsHistoryDriver.readProject(CmsDbContext dbc,
CmsUUID projectId) |
Reads the latest historical project version with the given 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.
|
java.lang.String |
I_CmsProjectDriver.readProjectResource(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String resourcename) |
Reads the project resource path for a given project and resource path,
to validate if a resource path for a given project already exists.
|
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> |
I_CmsHistoryDriver.readProjectResources(CmsDbContext dbc,
int publishTag) |
Reads all resources that belong to the historical project identified by the given publish tag.
|
java.util.List<java.lang.String> |
I_CmsProjectDriver.readProjectResources(CmsDbContext dbc,
CmsProject project) |
Reads the project resources for a specified project.
|
java.util.List<CmsHistoryProject> |
I_CmsHistoryDriver.readProjects(CmsDbContext dbc) |
Returns all projects from the history.
|
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.
|
java.util.List<CmsResource> |
CmsDriverManager.readProjectView(CmsDbContext dbc,
CmsUUID projectId,
CmsResourceState state) |
Reads all resources of a project that match a given state from the VFS.
|
java.util.List<CmsProperty> |
I_CmsHistoryDriver.readProperties(CmsDbContext dbc,
I_CmsHistoryResource historicalResource) |
Returns a list of all properties of a historical file or folder.
|
CmsPropertyDefinition |
CmsDriverManager.readPropertyDefinition(CmsDbContext dbc,
java.lang.String name) |
Reads a property definition.
|
CmsPropertyDefinition |
I_CmsHistoryDriver.readPropertyDefinition(CmsDbContext dbc,
java.lang.String name) |
Reads a property definition with the given name.
|
CmsPropertyDefinition |
I_CmsVfsDriver.readPropertyDefinition(CmsDbContext dbc,
java.lang.String name,
CmsUUID projectId) |
Reads a property definition for the specified resource type.
|
java.util.List<CmsPropertyDefinition> |
I_CmsVfsDriver.readPropertyDefinitions(CmsDbContext dbc,
CmsUUID projectId) |
Reads all property definitions for the specified mapping type.
|
CmsProperty |
CmsDriverManager.readPropertyObject(CmsDbContext dbc,
CmsResource resource,
java.lang.String key,
boolean search) |
Reads a property object from a resource specified by a property name.
|
CmsProperty |
CmsDriverManager.readPropertyObject(CmsDbContext dbc,
CmsResource resource,
java.lang.String key,
boolean search,
java.util.Locale locale) |
Reads a property object from a resource specified by a property name.
|
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> |
CmsDriverManager.readPropertyObjects(CmsDbContext dbc,
CmsResource resource,
boolean search) |
Reads all property objects mapped to a specified resource from the database.
|
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<CmsPublishedResource> |
CmsDriverManager.readPublishedResources(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the resources that were published in a publish task for a given publish history ID.
|
java.util.List<CmsPublishedResource> |
I_CmsProjectDriver.readPublishedResources(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the resources that were published during a publish process for a given publish history ID.
|
CmsPublishJobInfoBean |
CmsDriverManager.readPublishJob(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads a single publish job identified by its publish history id.
|
CmsPublishJobInfoBean |
I_CmsProjectDriver.readPublishJob(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads a single publish job identified by its publish history id.
|
java.util.List<CmsPublishJobInfoBean> |
CmsDriverManager.readPublishJobs(CmsDbContext dbc,
long startTime,
long endTime) |
Reads all available publish jobs.
|
java.util.List<CmsPublishJobInfoBean> |
I_CmsProjectDriver.readPublishJobs(CmsDbContext dbc,
long startTime,
long endTime) |
Reads all publish jobs finished in the given time range.
|
CmsPublishList |
CmsDriverManager.readPublishList(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the publish list assigned to a publish job.
|
CmsPublishList |
I_CmsProjectDriver.readPublishList(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the publish list assigned to a publish job.
|
byte[] |
CmsDriverManager.readPublishReportContents(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the publish report assigned to a publish job.
|
byte[] |
I_CmsProjectDriver.readPublishReportContents(CmsDbContext dbc,
CmsUUID publishHistoryId) |
Reads the publish report assigned to a publish job.
|
int |
I_CmsHistoryDriver.readPublishTag(CmsDbContext dbc,
long maxdate) |
Gets the publish tag of the first historical project after a given date.
|
java.util.List<CmsRelation> |
I_CmsVfsDriver.readRelations(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
CmsRelationFilter filter) |
Reads all relations with the given filter for the given resource.
|
CmsResource |
CmsDriverManager.readResource(CmsDbContext dbc,
java.lang.String resourcePath,
CmsResourceFilter filter) |
Reads a resource from the VFS, using the specified resource filter.
|
I_CmsHistoryResource |
CmsDriverManager.readResource(CmsDbContext dbc,
CmsResource resource,
int version) |
Reads an historical resource entry for the given resource and with the given version number.
|
CmsResource |
CmsDriverManager.readResource(CmsDbContext dbc,
CmsUUID structureID,
CmsResourceFilter filter) |
Reads a resource from the VFS, using the specified resource filter.
|
protected CmsResource |
CmsSecurityManager.readResource(CmsDbContext dbc,
java.lang.String resourcePath,
CmsResourceFilter filter) |
Reads a resource from the OpenCms VFS, using the specified resource filter.
|
protected CmsResource |
CmsSecurityManager.readResource(CmsDbContext dbc,
CmsUUID structureID,
CmsResourceFilter filter) |
Reads a resource from the OpenCms VFS, using the specified resource filter.
|
I_CmsHistoryResource |
I_CmsHistoryDriver.readResource(CmsDbContext dbc,
CmsUUID structureId,
int version) |
Reads a historical resource version without including the file content.
|
CmsResource |
I_CmsVfsDriver.readResource(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String filename,
boolean includeDeleted) |
Reads a resource specified by it's resource name.
|
CmsResource |
I_CmsVfsDriver.readResource(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID structureId,
boolean includeDeleted) |
Reads a resource specified by it's structure ID.
|
java.util.List<CmsResource> |
CmsDriverManager.readResources(CmsDbContext dbc,
CmsResource parent,
CmsResourceFilter filter,
boolean readTree) |
Reads all resources below the given path matching the filter criteria,
including the full tree below the path only in case the readTree
parameter is true .
|
java.util.List<CmsResource> |
I_CmsVfsDriver.readResources(CmsDbContext dbc,
CmsUUID currentProject,
CmsResourceState state,
int mode) |
Reads all resources inside a given project and with a given state.
|
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.
|
java.util.List<CmsResource> |
CmsDriverManager.readResourcesVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsVisitedByFilter filter) |
Returns the resources that were visited by a user set in the filter.
|
java.util.List<CmsResource> |
I_CmsSubscriptionDriver.readResourcesVisitedBy(CmsDbContext dbc,
java.lang.String poolName,
CmsVisitedByFilter filter) |
Returns the resources that were visited by a user set in the filter.
|
java.util.List<CmsResource> |
CmsDriverManager.readResourcesWithProperty(CmsDbContext dbc,
CmsResource folder,
java.lang.String propertyDefinition,
java.lang.String value,
CmsResourceFilter filter) |
Reads all resources that have a value (containing the given value string) set
for the specified property (definition) in the given path.
|
java.util.List<CmsResource> |
I_CmsVfsDriver.readResourcesWithProperty(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID propertyDefinition,
java.lang.String path,
java.lang.String value) |
Reads all resources that have a value (containing the specified value)
set for the specified property (definition), in the given path.
|
java.util.List<CmsResource> |
I_CmsVfsDriver.readResourceTree(CmsDbContext dbc,
CmsUUID projectId,
java.lang.String parent,
int type,
CmsResourceState state,
long startTime,
long endTime,
long releasedAfter,
long releasedBefore,
long expiredAfter,
long expiredBefore,
int mode) |
Reads all resources inside a given project matching the criteria specified by parameter values.
|
java.util.Set<I_CmsPrincipal> |
CmsDriverManager.readResponsiblePrincipals(CmsDbContext dbc,
CmsResource resource) |
Returns the set of users that are responsible for a specific resource.
|
java.util.Set<CmsUser> |
CmsDriverManager.readResponsibleUsers(CmsDbContext dbc,
CmsResource resource) |
Returns the set of users that are responsible for a specific resource.
|
java.util.List<CmsRewriteAlias> |
I_CmsVfsDriver.readRewriteAliases(CmsDbContext dbc,
CmsRewriteAliasFilter filter) |
Reads the rewrite aliases matching a given filter.
|
java.util.List<CmsResource> |
CmsDriverManager.readSiblings(CmsDbContext dbc,
CmsResource resource,
CmsResourceFilter filter) |
Returns a List of all siblings of the specified resource,
the specified resource being always part of the result set.
|
java.util.List<CmsResource> |
I_CmsVfsDriver.readSiblings(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
boolean includeDeleted) |
Reads all siblings that point to the resource record of a specified resource.
|
java.lang.String |
CmsDriverManager.readStaticExportPublishedResourceParameters(CmsDbContext dbc,
java.lang.String rfsName) |
Returns the parameters of a resource in the table of all published template resources.
|
java.lang.String |
I_CmsProjectDriver.readStaticExportPublishedResourceParameters(CmsDbContext dbc,
java.lang.String rfsName) |
Returns the parameters of a resource in the table of all published template resources.
|
java.util.List<java.lang.String> |
CmsDriverManager.readStaticExportResources(CmsDbContext dbc,
int parameterResources,
long timestamp) |
Returns a list of all template resources which must be processed during a static export.
|
java.util.List<java.lang.String> |
I_CmsProjectDriver.readStaticExportResources(CmsDbContext dbc,
int parameterResources,
long timestamp) |
Returns a list of all template resources which must be processed during a static export.
|
java.util.List<I_CmsHistoryResource> |
CmsDriverManager.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom) |
Returns the subscribed history resources that were deleted.
|
java.util.List<I_CmsHistoryResource> |
I_CmsSubscriptionDriver.readSubscribedDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsUser user,
java.util.List<CmsGroup> groups,
CmsResource parent,
boolean includeSubFolders,
long deletedFrom) |
Returns the subscribed history resources that were deleted.
|
java.util.List<CmsResource> |
CmsDriverManager.readSubscribedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsSubscriptionFilter filter) |
Returns the resources that were subscribed by a user or group set in the filter.
|
java.util.List<CmsResource> |
I_CmsSubscriptionDriver.readSubscribedResources(CmsDbContext dbc,
java.lang.String poolName,
CmsSubscriptionFilter filter) |
Returns the resources that were subscribed by a user or group set in the filter.
|
java.util.List<CmsUrlNameMappingEntry> |
CmsDriverManager.readUrlNameMappingEntries(CmsDbContext dbc,
boolean online,
CmsUrlNameMappingFilter filter) |
Reads URL name mapping entries which match the given filter.
|
java.util.List<CmsUrlNameMappingEntry> |
I_CmsVfsDriver.readUrlNameMappingEntries(CmsDbContext dbc,
boolean online,
CmsUrlNameMappingFilter filter) |
Reads the URL name mapping entries which match a given filter.
|
java.util.List<CmsUrlNameMappingEntry> |
CmsDriverManager.readUrlNameMappings(CmsDbContext dbc,
CmsUrlNameMappingFilter filter) |
Reads the URL name mappings matching the given filter.
|
java.util.List<java.lang.String> |
CmsDriverManager.readUrlNamesForAllLocales(CmsDbContext dbc,
CmsUUID id) |
Reads the newest URL names of a resource for all locales.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
java.lang.String username) |
Returns a user object.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
java.lang.String username,
java.lang.String password) |
Returns a user object if the password for the user is correct.
|
CmsUser |
CmsDriverManager.readUser(CmsDbContext dbc,
CmsUUID id) |
Returns a user object based on the id of a user.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn) |
Reads a user based in the user fully qualified name.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
java.lang.String userFqn,
java.lang.String password,
java.lang.String remoteAddress) |
Reads a user from the database, only if the password is correct.
|
CmsUser |
I_CmsUserDriver.readUser(CmsDbContext dbc,
CmsUUID id) |
Reads a user based on the user id.
|
java.util.Map<java.lang.String,java.lang.Object> |
I_CmsUserDriver.readUserInfos(CmsDbContext dbc,
CmsUUID userId) |
Reads the user additional information map.
|
java.util.List<CmsUser> |
I_CmsUserDriver.readUsersOfGroup(CmsDbContext dbc,
java.lang.String groupFqn,
boolean includeOtherOuUsers) |
Reads all users that are members of the given group.
|
java.util.Map<java.lang.String,java.lang.Integer> |
I_CmsVfsDriver.readVersions(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID resourceId,
CmsUUID structureId) |
Reads a resource version numbers.
|
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 |
CmsDriverManager.removeAccessControlEntry(CmsDbContext dbc,
CmsResource resource,
CmsUUID principal) |
Removes an access control entry for a given resource and principal.
|
void |
I_CmsUserDriver.removeAccessControlEntry(CmsDbContext dbc,
CmsProject project,
CmsUUID resource,
CmsUUID principal) |
Removes an access control entry.
|
void |
I_CmsVfsDriver.removeFile(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource) |
Removes a file physically in the database.
|
void |
I_CmsVfsDriver.removeFolder(CmsDbContext dbc,
CmsProject currentProject,
CmsResource resource) |
Removes a folder physically in the database.
|
void |
I_CmsUserDriver.removeResourceFromOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsResource resource) |
Removes a resource from the given organizational unit.
|
void |
CmsDriverManager.removeResourceFromOrgUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsResource resource) |
Removes a resource from the given organizational unit.
|
void |
CmsDriverManager.removeResourceFromProject(CmsDbContext dbc,
CmsResource resource) |
Removes a resource from the current project of the user.
|
void |
CmsDriverManager.removeResourceFromUsersPubList(CmsDbContext dbc,
CmsUUID userId,
java.util.Collection<CmsUUID> structureIds) |
Removes the given resource to the given user's publish list.
|
void |
CmsDriverManager.removeUserFromGroup(CmsDbContext dbc,
java.lang.String username,
java.lang.String groupname,
boolean readRoles) |
Removes a user from a group.
|
void |
CmsDriverManager.repairCategories(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource) |
Repairs broken categories.
|
void |
CmsDriverManager.replaceResource(CmsDbContext dbc,
CmsResource resource,
int type,
byte[] content,
java.util.List<CmsProperty> properties) |
Replaces the content, type and properties of a resource.
|
void |
I_CmsVfsDriver.replaceResource(CmsDbContext dbc,
CmsResource newResource,
byte[] newResourceContent,
int newResourceType) |
Replaces the content and properties of an existing resource.
|
void |
CmsDriverManager.resetPassword(CmsDbContext dbc,
java.lang.String username,
java.lang.String oldPassword,
CmsSecondFactorInfo secondFactor,
java.lang.String newPassword) |
Resets the password for a specified user.
|
protected void |
CmsDriverManager.resetResourcesInProject(CmsDbContext dbc,
CmsUUID projectId,
java.util.List<CmsResource> modifiedFiles,
java.util.List<CmsResource> modifiedFolders) |
Resets the resources in a project to their online state.
|
void |
CmsDriverManager.restoreDeletedResource(CmsDbContext dbc,
CmsUUID structureId) |
Restores a deleted resource identified by its structure id from the historical archive.
|
void |
CmsDriverManager.restoreResource(CmsDbContext dbc,
CmsResource resource,
int version) |
Restores a resource in the current project with a version from the historical archive.
|
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 |
CmsDriverManager.saveRewriteAliases(CmsDbContext dbc,
java.lang.String siteRoot,
java.util.List<CmsRewriteAlias> newAliases) |
Replaces the complete list of rewrite aliases for a given site root.
|
java.util.List<CmsUser> |
CmsDriverManager.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams) |
Searches for users which fit the given criteria.
|
java.util.List<CmsUser> |
I_CmsUserDriver.searchUsers(CmsDbContext dbc,
CmsUserSearchParameters searchParams) |
Searches for users which match the given search criteria.
|
void |
CmsDriverManager.setDateExpired(CmsDbContext dbc,
CmsResource resource,
long dateExpired) |
Changes the "expire" date of a resource.
|
void |
CmsDriverManager.setDateLastModified(CmsDbContext dbc,
CmsResource resource,
long dateLastModified) |
Changes the "last modified" timestamp of a resource.
|
void |
CmsDriverManager.setDateReleased(CmsDbContext dbc,
CmsResource resource,
long dateReleased) |
Changes the "release" date of a resource.
|
void |
CmsDriverManager.setParentGroup(CmsDbContext dbc,
java.lang.String groupName,
java.lang.String parentGroupName) |
Sets a new parent group for an already existing group.
|
void |
CmsDriverManager.setPassword(CmsDbContext dbc,
java.lang.String username,
java.lang.String newPassword) |
Sets the password for a user.
|
void |
CmsDriverManager.setSubscribedResourceAsDeleted(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource) |
Marks a subscribed resource as deleted.
|
void |
I_CmsSubscriptionDriver.setSubscribedResourceAsDeleted(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource) |
Marks a subscribed resource as deleted.
|
void |
CmsDriverManager.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user) |
Moves an user to the given organizational unit.
|
void |
I_CmsUserDriver.setUsersOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit orgUnit,
CmsUser user) |
Moves an user to the given organizational unit.
|
void |
CmsDriverManager.subscribeResourceFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal,
CmsResource resource) |
Subscribes the user or group to the resource.
|
void |
I_CmsSubscriptionDriver.subscribeResourceFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal,
CmsResource resource) |
Subscribes the user or group to the resource.
|
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.undelete(CmsDbContext dbc,
CmsResource resource) |
Undelete the resource.
|
void |
CmsDriverManager.undoChanges(CmsDbContext dbc,
CmsResource resource,
CmsResource.CmsResourceUndoMode mode) |
Undos all changes in the resource by restoring the version from the
online project to the current offline project.
|
void |
CmsDriverManager.unlockResource(CmsDbContext dbc,
CmsResource resource,
boolean force,
boolean removeSystemLock) |
Unlocks a resource.
|
void |
I_CmsProjectDriver.unmarkProjectResources(CmsDbContext dbc,
CmsProject project) |
Removes the project id from all resources within a project.
|
void |
CmsDriverManager.unsubscribeAllDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
long deletedTo) |
Unsubscribes all deleted resources that were deleted before the specified time stamp.
|
void |
I_CmsSubscriptionDriver.unsubscribeAllDeletedResources(CmsDbContext dbc,
java.lang.String poolName,
long deletedTo) |
Unsubscribes all deleted resources that were deleted before the specified time stamp.
|
void |
CmsDriverManager.unsubscribeAllResourcesFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal) |
Unsubscribes the principal from all resources.
|
void |
I_CmsSubscriptionDriver.unsubscribeAllResourcesFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal) |
Unsubscribes the principal from all resources.
|
void |
CmsDriverManager.unsubscribeResourceFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal,
CmsResource resource) |
Unsubscribes the principal from the resource.
|
void |
I_CmsSubscriptionDriver.unsubscribeResourceFor(CmsDbContext dbc,
java.lang.String poolName,
CmsPrincipal principal,
CmsResource resource) |
Unsubscribes the principal from the resource.
|
void |
CmsDriverManager.unsubscribeResourceForAll(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource) |
Unsubscribes all groups and users from the resource.
|
void |
I_CmsSubscriptionDriver.unsubscribeResourceForAll(CmsDbContext dbc,
java.lang.String poolName,
CmsResource resource) |
Unsubscribes all groups and users from the resource.
|
void |
CmsDriverManager.updateExportPoints(CmsDbContext dbc) |
Update the export points.
|
void |
CmsDriverManager.updateLastLoginDate(CmsDbContext dbc,
CmsUser user) |
Updates the last login date on the given user to the current time.
|
void |
CmsDriverManager.updateLog(CmsDbContext dbc) |
Logs everything that has not been written to DB jet.
|
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 |
CmsDriverManager.updateRelationsForResource(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsLink> links) |
Updates/Creates the given relations for the given resource.
|
boolean |
CmsDriverManager.userInGroup(CmsDbContext dbc,
java.lang.String username,
java.lang.String groupname,
boolean readRoles) |
Returns true if a user is member of the given group.
|
java.util.Map<java.lang.String,java.util.List<CmsRelation>> |
CmsDriverManager.validateRelations(CmsDbContext dbc,
CmsPublishList publishList,
I_CmsReport report) |
Validates the relations for the given resources.
|
boolean |
I_CmsVfsDriver.validateResourceIdExists(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID resourceId) |
Validates if the specified resource ID in the tables of the specified project {offline|online} exists.
|
boolean |
I_CmsVfsDriver.validateStructureIdExists(CmsDbContext dbc,
CmsUUID projectId,
CmsUUID structureId) |
Validates if the specified structure ID in the tables of the specified project {offline|online} exists.
|
void |
CmsDriverManager.writeAccessControlEntry(CmsDbContext dbc,
CmsResource resource,
CmsAccessControlEntry ace) |
Writes an access control entries to a given resource.
|
void |
I_CmsUserDriver.writeAccessControlEntry(CmsDbContext dbc,
CmsProject project,
CmsAccessControlEntry acEntry) |
Writes an access control entry.
|
void |
I_CmsVfsDriver.writeContent(CmsDbContext dbc,
CmsUUID resourceId,
byte[] content) |
Writes the resource content with the specified resource id.
|
void |
CmsDriverManager.writeExportPoints(CmsDbContext dbc,
I_CmsReport report,
CmsUUID publishHistoryId) |
Writes all export points into the file system for the publish task
specified by trhe given publish history ID.
|
CmsFile |
CmsDriverManager.writeFile(CmsDbContext dbc,
CmsFile resource) |
Writes a resource to the OpenCms VFS, including it's content.
|
void |
CmsDriverManager.writeGroup(CmsDbContext dbc,
CmsGroup group) |
Writes an already existing group.
|
void |
I_CmsUserDriver.writeGroup(CmsDbContext dbc,
CmsGroup group) |
Writes an already existing group.
|
void |
CmsDriverManager.writeHistoryProject(CmsDbContext dbc,
int publishTag,
long publishDate) |
Creates an historical entry of the current project.
|
void |
I_CmsVfsDriver.writeLastModifiedProjectId(CmsDbContext dbc,
CmsProject project,
CmsUUID projectId,
CmsResource resource) |
Writes the "last-modified-in-project" ID of a resource.
|
void |
CmsDriverManager.writeLocks(CmsDbContext dbc) |
Writes the locks that are currently stored in-memory to the database to allow restoring them
in future server startups.
|
void |
I_CmsProjectDriver.writeLocks(CmsDbContext dbc,
java.util.List<CmsLock> locks) |
Writes the List <CmsLock ;>
to the database for reuse in the next run of OpenCms.
|
void |
CmsDriverManager.writeOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit organizationalUnit) |
Writes an already existing organizational unit.
|
void |
I_CmsUserDriver.writeOrganizationalUnit(CmsDbContext dbc,
CmsOrganizationalUnit organizationalUnit) |
Writes an already existing organizational unit.
|
void |
I_CmsUserDriver.writePassword(CmsDbContext dbc,
java.lang.String userFqn,
java.lang.String oldPassword,
java.lang.String newPassword) |
Sets a new password for a user.
|
void |
I_CmsHistoryDriver.writePrincipal(CmsDbContext dbc,
I_CmsPrincipal principal) |
Writes an historical entry for the given principal.
|
void |
CmsDriverManager.writeProject(CmsDbContext dbc,
CmsProject project) |
Writes an already existing project.
|
void |
I_CmsHistoryDriver.writeProject(CmsDbContext dbc,
int publishTag,
long publishDate) |
Creates an historical entry for the current project.
|
void |
I_CmsProjectDriver.writeProject(CmsDbContext dbc,
CmsProject project) |
Writes an already existing project.
|
void |
CmsDriverManager.writeProjectLastModified(CmsDbContext dbc,
CmsResource resource,
CmsUUID projectId) |
Writes a new project into the PROJECT_LASTMODIFIED field of a resource record.
|
void |
I_CmsHistoryDriver.writeProperties(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
Writes the properties of a resource to the history.
|
void |
CmsDriverManager.writePropertyObject(CmsDbContext dbc,
CmsResource resource,
CmsProperty property) |
Writes a property for a specified resource.
|
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 |
CmsDriverManager.writePropertyObjects(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
boolean updateState) |
Writes a list of properties for 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 |
I_CmsProjectDriver.writePublishHistory(CmsDbContext dbc,
CmsUUID publishId,
CmsPublishedResource resource) |
Inserts an entry in the publish history for a published VFS resource.
|
void |
CmsDriverManager.writePublishJob(CmsDbContext dbc,
CmsPublishJobInfoBean publishJob) |
Updates a publish job.
|
void |
I_CmsProjectDriver.writePublishJob(CmsDbContext dbc,
CmsPublishJobInfoBean publishJob) |
Writes a publish job.
|
void |
CmsDriverManager.writePublishReport(CmsDbContext dbc,
CmsPublishJobInfoBean publishJob) |
Writes the publish report for a publish job.
|
void |
I_CmsProjectDriver.writePublishReport(CmsDbContext dbc,
CmsUUID publishId,
byte[] content) |
Writes a publish report for a publish job.
|
void |
CmsDriverManager.writeResource(CmsDbContext dbc,
CmsResource resource) |
Writes a resource to the OpenCms VFS.
|
void |
I_CmsHistoryDriver.writeResource(CmsDbContext dbc,
CmsResource resource,
java.util.List<CmsProperty> properties,
int publishTag) |
Writes a resource to the history.
|
void |
I_CmsVfsDriver.writeResource(CmsDbContext dbc,
CmsUUID projectId,
CmsResource resource,
int changed) |
Writes the structure and/or resource record(s) of an existing file.
|
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.
|
void |
CmsDriverManager.writeStaticExportPublishedResource(CmsDbContext dbc,
java.lang.String resourceName,
int linkType,
java.lang.String linkParameter,
long timestamp) |
Inserts an entry in the published resource table.
|
void |
I_CmsProjectDriver.writeStaticExportPublishedResource(CmsDbContext dbc,
java.lang.String resourceName,
int linkType,
java.lang.String linkParameter,
long timestamp) |
Inserts an entry in the published resource table.
|
java.lang.String |
CmsDriverManager.writeUrlNameMapping(CmsDbContext dbc,
java.util.Iterator<java.lang.String> nameSeq,
CmsUUID structureId,
java.lang.String locale,
boolean replaceOnPublish) |
Adds a new url name mapping for a structure id.
|
void |
CmsDriverManager.writeUser(CmsDbContext dbc,
CmsUser user) |
Updates the user information.
|
void |
I_CmsUserDriver.writeUser(CmsDbContext dbc,
CmsUser user) |
Updates the user information.
|
void |
I_CmsUserDriver.writeUserInfo(CmsDbContext dbc,
CmsUUID userId,
java.lang.String key,
java.lang.Object value) |
Writes an user additional information entry.
|
void |
I_CmsProjectDriver.writeUserPublishListEntries(CmsDbContext dbc,
java.util.List<CmsUserPublishListEntry> publishListAdditions) |
Writes multiple user publish list entries to the database.
|