Interface I_CmsProjectDriver
- All Known Implementing Classes:
CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
,CmsProjectDriver
- Since:
- 6.0.0
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Cleans up the publish history entries according to the given filter.createProject
(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String name, String description, int flags, CmsProject.CmsProjectType type) Creates a new project.void
createProjectResource
(CmsDbContext dbc, CmsUUID projectId, String resourceName) Creates a new projectResource from a given CmsResource object.void
createPublishJob
(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Inserts an entry for a publish job .void
deleteAllStaticExportPublishedResources
(CmsDbContext dbc, int linkType) Deletes all entries in the published resource table.void
deleteLog
(CmsDbContext dbc, CmsLogFilter filter) Deletes log entries matching the given filter.void
deleteProject
(CmsDbContext dbc, CmsProject project) Deletes a project from the cms.void
deleteProjectResource
(CmsDbContext dbc, CmsUUID projectId, String resourceName) Delete a projectResource from an given CmsResource object.void
deleteProjectResources
(CmsDbContext dbc, CmsProject project) Deletes a specified project.void
deletePublishHistory
(CmsDbContext dbc, CmsUUID projectId, int maxPublishTag) Deletes all publish history entries with publish tags >=0 and < the specified max.void
deletePublishHistoryEntry
(CmsDbContext dbc, CmsUUID publishHistoryId, CmsPublishedResource publishResource) Deletes a publish history entry with publish tags >=0 and < the specified max.void
deletePublishJob
(CmsDbContext dbc, CmsUUID publishHistoryId) Deletes a publish job identified by its history id.void
deletePublishList
(CmsDbContext dbc, CmsUUID publishHistoryId) Deletes the publish list assigned to a publish job.void
deleteStaticExportPublishedResource
(CmsDbContext dbc, String resourceName, int linkType, String linkParameter) Deletes an entry in the published resource table.void
deleteUserPublishListEntries
(CmsDbContext dbc, List<CmsUserPublishListEntry> publishListDeletions) Deletes multiple publish list entries from the database.void
destroy()
Destroys this driver.void
fillDefaults
(CmsDbContext dbc) Fills the OpenCms database tables with default values.Returns the SqlManager of this driver.getUsersPubList
(CmsDbContext dbc, CmsUUID userId) Returns the given user's publish list.initSqlManager
(String classname) Initializes the SQL manager for this driver.void
log
(CmsDbContext dbc, List<CmsLogEntry> logEntries) Logs the given log entries.void
publishDeletedFolder
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder offlineFolder, CmsUUID publishHistoryId, int publishTag) Publishes a deleted folder.void
publishFile
(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag) Publishes a new, changed or deleted file.publishFileContent
(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineFileHeader, Set<CmsUUID> publishedResourceIds, boolean needToUpdateContent, int publishTag) Publishes the content record of a file.void
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
publishProject
(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag) Publishes a specified project to the online project.readLocks
(CmsDbContext dbc) readLog
(CmsDbContext dbc, CmsLogFilter filter) Reads log entries matching the given filter.readProject
(CmsDbContext dbc, String name) Reads a project.readProject
(CmsDbContext dbc, CmsUUID id) Reads a project given the projects id.readProjectResource
(CmsDbContext dbc, CmsUUID projectId, 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.readProjectResources
(CmsDbContext dbc, CmsProject project) Reads the project resources for a specified project.readProjects
(CmsDbContext dbc, String ouFqn) Returns all projects in the given organizational unit.readProjectsForGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are accessible by a group.readProjectsForManagerGroup
(CmsDbContext dbc, CmsGroup group) Returns all projects, which are manageable by a group.readProjectsForUser
(CmsDbContext dbc, CmsUser user) Reads all projects which are owned by a specified user.readPublishedResources
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the resources that were published during a publish process for a given publish history ID.readPublishJob
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads a single publish job identified by its publish history id.readPublishJobs
(CmsDbContext dbc, long startTime, long endTime) Reads all publish jobs finished in the given time range.readPublishList
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the publish list assigned to a publish job.byte[]
readPublishReportContents
(CmsDbContext dbc, CmsUUID publishHistoryId) Reads the publish report assigned to a publish job.readStaticExportPublishedResourceParameters
(CmsDbContext dbc, String rfsName) Returns the parameters of a resource in the table of all published template resources.readStaticExportResources
(CmsDbContext dbc, int parameterResources, long timestamp) Returns a list of all template resources which must be processed during a static export.void
setDriverManager
(CmsDriverManager driverManager) Sets the driver manager for this driver if possible.void
setSqlManager
(CmsSqlManager sqlManager) Sets the SQL manager for this driver if possible.void
unmarkProjectResources
(CmsDbContext dbc, CmsProject project) Removes the project id from all resources within a project.void
writeLocks
(CmsDbContext dbc, List<CmsLock> locks) void
writeProject
(CmsDbContext dbc, CmsProject project) Writes an already existing project.void
writePublishHistory
(CmsDbContext dbc, CmsUUID publishId, CmsPublishedResource resource) Inserts an entry in the publish history for a published VFS resource.void
writePublishJob
(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) Writes a publish job.void
writePublishReport
(CmsDbContext dbc, CmsUUID publishId, byte[] content) Writes a publish report for a publish job.void
writeStaticExportPublishedResource
(CmsDbContext dbc, String resourceName, int linkType, String linkParameter, long timestamp) Inserts an entry in the published resource table.void
writeUserPublishListEntries
(CmsDbContext dbc, List<CmsUserPublishListEntry> publishListAdditions) Writes multiple user publish list entries to the database.
-
Field Details
-
DRIVER_TYPE_ID
The type ID to identify project driver implementations.- See Also:
-
SETUP_PROJECT_NAME
Name of the setup project.- See Also:
-
TEMP_FILE_PROJECT_NAME
The name of the temp file project.- See Also:
-
-
Method Details
-
cleanupPublishHistory
int cleanupPublishHistory(CmsDbContext dbc, CmsPublishHistoryCleanupFilter filter) throws CmsDataAccessException Cleans up the publish history entries according to the given filter.- Parameters:
dbc
- the DB contextfilter
- the filter to describe what to clean up- Returns:
- the number of removed entries
- Throws:
CmsDataAccessException
- if something goes wrong
-
createProject
CmsProject createProject(CmsDbContext dbc, CmsUUID id, CmsUser owner, CmsGroup group, CmsGroup managergroup, String name, String description, int flags, CmsProject.CmsProjectType type) throws CmsDataAccessException Creates a new project.- Parameters:
dbc
- the current database contextid
- the project idowner
- the owner of the projectgroup
- the group for the projectmanagergroup
- the manager group for the projectname
- the name of the project to createdescription
- the description for the projectflags
- the flags for the projecttype
- the type for the project- Returns:
- the created
instanceCmsProject
- Throws:
CmsDataAccessException
- if something goes wrong
-
createProjectResource
void createProjectResource(CmsDbContext dbc, CmsUUID projectId, String resourceName) throws CmsDataAccessException Creates a new projectResource from a given CmsResource object.- Parameters:
dbc
- the current database contextprojectId
- The project in which the resource will be usedresourceName
- The resource to be written to the Cms- Throws:
CmsDataAccessException
- if something goes wrong
-
createPublishJob
void createPublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) throws CmsDataAccessException Inserts an entry for a publish job .- Parameters:
dbc
- the current database contextpublishJob
- the publish job data- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteAllStaticExportPublishedResources
void deleteAllStaticExportPublishedResources(CmsDbContext dbc, int linkType) throws CmsDataAccessException Deletes all entries in the published resource table.- Parameters:
dbc
- the current database contextlinkType
- the type of resource deleted (0= non-paramter, 1=parameter)- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteLog
Deletes log entries matching the given filter.- Parameters:
dbc
- the database contextfilter
- the log entry filter- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteProject
Deletes a project from the cms.Therefore it deletes all files, resources and properties.
- Parameters:
dbc
- the current database contextproject
- the project to delete- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteProjectResource
void deleteProjectResource(CmsDbContext dbc, CmsUUID projectId, String resourceName) throws CmsDataAccessException Delete a projectResource from an given CmsResource object.- Parameters:
dbc
- the current database contextprojectId
- id of the project in which the resource is usedresourceName
- name of the resource to be deleted from the Cms- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteProjectResources
Deletes a specified project.- Parameters:
dbc
- the current database contextproject
- the project to be deleted- Throws:
CmsDataAccessException
- if operation was not succesful
-
deletePublishHistory
void deletePublishHistory(CmsDbContext dbc, CmsUUID projectId, int maxPublishTag) throws CmsDataAccessException Deletes all publish history entries with publish tags >=0 and < the specified max. publish tag.- Parameters:
dbc
- the current database contextprojectId
- the ID of the current projectmaxPublishTag
- entries with publish tags >=0 and < this max. publish tag get deleted- Throws:
CmsDataAccessException
- if something goes wrong
-
deletePublishHistoryEntry
void deletePublishHistoryEntry(CmsDbContext dbc, CmsUUID publishHistoryId, CmsPublishedResource publishResource) throws CmsDataAccessException Deletes a publish history entry with publish tags >=0 and < the specified max. publish tag.- Parameters:
dbc
- the current database contextpublishHistoryId
- the id of the history to delete the entry frompublishResource
- the entry to delete- Throws:
CmsDataAccessException
- if something goes wrong
-
deletePublishJob
Deletes a publish job identified by its history id.- Parameters:
dbc
- the current database contextpublishHistoryId
- the history id identifying the publish job- Throws:
CmsDataAccessException
- if something goes wrong
-
deletePublishList
Deletes the publish list assigned to a publish job.- Parameters:
dbc
- the current database contextpublishHistoryId
- the history id identifying the publish job- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteStaticExportPublishedResource
void deleteStaticExportPublishedResource(CmsDbContext dbc, String resourceName, int linkType, String linkParameter) throws CmsDataAccessException Deletes an entry in the published resource table.- Parameters:
dbc
- the current database contextresourceName
- The name of the resource to be deleted in the static exportlinkType
- the type of resource deleted (0= non-paramter, 1=parameter)linkParameter
- the parameters of the resource- Throws:
CmsDataAccessException
- if something goes wrong
-
deleteUserPublishListEntries
void deleteUserPublishListEntries(CmsDbContext dbc, List<CmsUserPublishListEntry> publishListDeletions) throws CmsDataAccessException Deletes multiple publish list entries from the database.- Parameters:
dbc
- the current database contextpublishListDeletions
- the publish list entries to remove from the database- Throws:
CmsDataAccessException
- if something goes wrong
-
destroy
Destroys this driver.- Throws:
Throwable
- if something goes wrong
-
fillDefaults
Fills the OpenCms database tables with default values.- Parameters:
dbc
- the current database context- Throws:
CmsDataAccessException
- if something goes wrong
-
getSqlManager
Returns the SqlManager of this driver.- Returns:
- the SqlManager of this driver
-
getUsersPubList
Returns the given user's publish list.- Parameters:
dbc
- the database contextuserId
- the user's id- Returns:
- the given user's publish list
- Throws:
CmsDataAccessException
- if something goes wrong
-
initSqlManager
Initializes the SQL manager for this driver.To obtain JDBC connections from different pools, further {online|offline|history} pool Urls have to be specified.
- Parameters:
classname
- the classname of the SQL manager- Returns:
- the SQL manager for this driver
-
log
Logs the given log entries.- Parameters:
dbc
- the database contextlogEntries
- the log entries to write- Throws:
CmsDataAccessException
- if something goes wrong
-
publishDeletedFolder
void publishDeletedFolder(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder offlineFolder, CmsUUID publishHistoryId, int publishTag) throws CmsDataAccessException Publishes a deleted folder.- Parameters:
dbc
- the current database contextreport
- the report to log the output tom
- the number of the folder to publishn
- the number of all folders to publishonlineProject
- the online projectofflineFolder
- the offline folder to publishpublishHistoryId
- the publish history idpublishTag
- the publish tag- Throws:
CmsDataAccessException
- if something goes wrong
-
publishFile
void publishFile(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsResource offlineResource, Set<CmsUUID> publishedContentIds, CmsUUID publishHistoryId, int publishTag) throws CmsDataAccessException Publishes a new, changed or deleted file.- Parameters:
dbc
- the current database contextreport
- the report to log the output tom
- the number of the file to publishn
- the number of all files to publishonlineProject
- the online projectofflineResource
- the offline file to publishpublishedContentIds
- contains the UUIDs of already published content recordspublishHistoryId
- the publish history idpublishTag
- the publish tag- Throws:
CmsDataAccessException
- if something goes wrong
-
publishFileContent
CmsFile publishFileContent(CmsDbContext dbc, CmsProject offlineProject, CmsProject onlineProject, CmsResource offlineFileHeader, Set<CmsUUID> publishedResourceIds, boolean needToUpdateContent, int publishTag) throws CmsDataAccessException Publishes the content record of a file.The content record is only published unless it's UUID is not contained in publishedContentIds. The calling method has to take care about whether an existing content record has to be deleted before or not.
The intention of this method is to get overloaded in a project driver for a specific DB server to shift the binary content from the offline into the online table in a more sophisticated way than in the generic ANSI-SQL implementation of this interface.
- Parameters:
dbc
- the current database contextofflineProject
- the offline project to read dataonlineProject
- the online project to write dataofflineFileHeader
- the offline header of the file of which the content gets publishedpublishedResourceIds
- a Set with the UUIDs of the already published content recordsneedToUpdateContent
-true
if the content record has to be updatedpublishTag
- the publish tag- Returns:
- the published file (online)
- Throws:
CmsDataAccessException
- if something goes wrong
-
publishFolder
void publishFolder(CmsDbContext dbc, I_CmsReport report, int m, int n, CmsProject onlineProject, CmsFolder currentFolder, CmsUUID publishHistoryId, int publishTag) throws CmsDataAccessException Publishes a new or changed folder.- Parameters:
dbc
- the current database contextreport
- the report to log the output tom
- the number of the folder to publishn
- the number of all folders to publishonlineProject
- the online projectcurrentFolder
- the offline folder to publishpublishHistoryId
- the publish history idpublishTag
- the publish tag- Throws:
CmsDataAccessException
- if something goes wrong
-
publishProject
void publishProject(CmsDbContext dbc, I_CmsReport report, CmsProject onlineProject, CmsPublishList publishList, int publishTag) throws CmsException Publishes a specified project to the online project.- Parameters:
dbc
- the current database contextreport
- an I_CmsReport instance to print output messagesonlineProject
- the online projectpublishList
- a Cms publish listpublishTag
- the publish tag- Throws:
CmsException
- if something goes wrong
-
readLocks
- Parameters:
dbc
- the current database context- Returns:
- the
that were saved to the database in the previous run of OpenCms.List
<CmsLock
;> - Throws:
CmsDataAccessException
- if something goes wrong
-
readLog
Reads log entries matching the given filter.- Parameters:
dbc
- the database contextfilter
- the log entry filter- Returns:
- the list of log entries
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProject
Reads a project given the projects id.- Parameters:
dbc
- the current database contextid
- the id of the project- Returns:
- the project read
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProject
Reads a project.- Parameters:
dbc
- the current database contextname
- the name of the project- Returns:
- the project with the given name
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjectResource
String readProjectResource(CmsDbContext dbc, CmsUUID projectId, String resourcename) throws CmsDataAccessException Reads the project resource path for a given project and resource path, to validate if a resource path for a given project already exists.- Parameters:
dbc
- the current database contextprojectId
- the ID of the project for which the resource path is readresourcename
- the project's resource path- Returns:
- String the project's resource path
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjectResources
List<String> readProjectResources(CmsDbContext dbc, CmsProject project) throws CmsDataAccessException Reads the project resources for a specified project.- Parameters:
dbc
- the current database contextproject
- the project for which the resource path is read- Returns:
- a list of all project resource paths
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjects
Returns all projects in the given organizational unit.- Parameters:
dbc
- the current database contextouFqn
- the fully qualified name of the organizational unit to get the projects for- Returns:
- a list of objects of type
CmsProject
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjectsForGroup
List<CmsProject> readProjectsForGroup(CmsDbContext dbc, CmsGroup group) throws CmsDataAccessException Returns all projects, which are accessible by a group.- Parameters:
dbc
- the current database contextgroup
- the requesting group- Returns:
- a Vector of projects
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjectsForManagerGroup
List<CmsProject> readProjectsForManagerGroup(CmsDbContext dbc, CmsGroup group) throws CmsDataAccessException Returns all projects, which are manageable by a group.- Parameters:
dbc
- the current database contextgroup
- The requesting group- Returns:
- a Vector of projects
- Throws:
CmsDataAccessException
- if something goes wrong
-
readProjectsForUser
Reads all projects which are owned by a specified user.- Parameters:
dbc
- the current database contextuser
- the user- Returns:
- a list of objects of type
CmsProject
- Throws:
CmsDataAccessException
- if something goes wrong
-
readPublishedResources
List<CmsPublishedResource> readPublishedResources(CmsDbContext dbc, CmsUUID publishHistoryId) throws CmsDataAccessException Reads the resources that were published during a publish process for a given publish history ID.- Parameters:
dbc
- the current database contextpublishHistoryId
- unique int ID to identify the publish process in the publish history- Returns:
- a list of
objectsCmsPublishedResource
- Throws:
CmsDataAccessException
- if something goes wrong
-
readPublishJob
CmsPublishJobInfoBean readPublishJob(CmsDbContext dbc, CmsUUID publishHistoryId) throws CmsDataAccessException Reads a single publish job identified by its publish history id.- Parameters:
dbc
- the current database contextpublishHistoryId
- unique id to identify the publish job in the publish history- Returns:
- an object of type
CmsPublishJobInfoBean
- Throws:
CmsDataAccessException
- if something goes wrong
-
readPublishJobs
List<CmsPublishJobInfoBean> readPublishJobs(CmsDbContext dbc, long startTime, long endTime) throws CmsDataAccessException Reads all publish jobs finished in the given time range.If
(0L, 0L)
is passed as time range, all pending jobs are returned.- Parameters:
dbc
- the current database contextstartTime
- the start of the time range for finish timeendTime
- the end of the time range for finish time- Returns:
- a list of objects of type
CmsPublishJobInfoBean
- Throws:
CmsDataAccessException
- if something goes wrong
-
readPublishList
CmsPublishList readPublishList(CmsDbContext dbc, CmsUUID publishHistoryId) throws CmsDataAccessException Reads the publish list assigned to a publish job.- Parameters:
dbc
- the current database contextpublishHistoryId
- the history id identifying the publish job- Returns:
- the assigned publish list
- Throws:
CmsDataAccessException
- if something goes wrong
-
readPublishReportContents
byte[] readPublishReportContents(CmsDbContext dbc, CmsUUID publishHistoryId) throws CmsDataAccessException Reads the publish report assigned to a publish job.- Parameters:
dbc
- the current database contextpublishHistoryId
- the history id identifying the publish job- Returns:
- the content of the assigned publish report
- Throws:
CmsDataAccessException
- if something goes wrong
-
readStaticExportPublishedResourceParameters
String readStaticExportPublishedResourceParameters(CmsDbContext dbc, String rfsName) throws CmsDataAccessException Returns the parameters of a resource in the table of all published template resources.- Parameters:
dbc
- the current database contextrfsName
- the rfs name of the resource- Returns:
- the paramter string of the requested resource
- Throws:
CmsDataAccessException
- if something goes wrong
-
readStaticExportResources
List<String> readStaticExportResources(CmsDbContext dbc, int parameterResources, long timestamp) throws CmsDataAccessException Returns a list of all template resources which must be processed during a static export.- Parameters:
dbc
- the current database contextparameterResources
- flag for reading resources with parameters (1) or without (0)timestamp
- the time stamp information- Returns:
- a list of template resources as
objectsString
- Throws:
CmsDataAccessException
- if something goes wrong
-
setDriverManager
Sets the driver manager for this driver if possible.- Parameters:
driverManager
- the new driver manager
-
setSqlManager
Sets the SQL manager for this driver if possible.- Parameters:
sqlManager
- the new SQL manager
-
unmarkProjectResources
Removes the project id from all resources within a project.This must be done when a project will deleted
- Parameters:
dbc
- the current database contextproject
- the project to delete- Throws:
CmsDataAccessException
- if something goes wrong
-
writeLocks
Writes the
to the database for reuse in the next run of OpenCms.List
<CmsLock
;>This method must only be called at startup or the in-memory locking will overwritten.
- Parameters:
dbc
- the current database contextlocks
- the
that currently exist in OpenCms (List
<CmsLock
;>CmsLockManager
)- Throws:
CmsDataAccessException
- if something goes wrong
-
writeProject
Writes an already existing project.The project id has to be a valid OpenCms project id.
The project with the given id will be completely overriden by the given data.- Parameters:
dbc
- the current database contextproject
- the project that should be written- Throws:
CmsDataAccessException
- if operation was not successful
-
writePublishHistory
void writePublishHistory(CmsDbContext dbc, CmsUUID publishId, CmsPublishedResource resource) throws CmsDataAccessException Inserts an entry in the publish history for a published VFS resource.- Parameters:
dbc
- the current database contextpublishId
- the ID of the current publishing processresource
- the state of the resource *before* it was published- Throws:
CmsDataAccessException
- if something goes wrong
-
writePublishJob
void writePublishJob(CmsDbContext dbc, CmsPublishJobInfoBean publishJob) throws CmsDataAccessException Writes a publish job.- Parameters:
dbc
- the current database contextpublishJob
- the publish job to write- Throws:
CmsDataAccessException
- if something goes wrong
-
writePublishReport
void writePublishReport(CmsDbContext dbc, CmsUUID publishId, byte[] content) throws CmsDataAccessException Writes a publish report for a publish job.- Parameters:
dbc
- the current database contextpublishId
- the ID of the current publishing processcontent
- the report output- Throws:
CmsDataAccessException
- if something goes wrong
-
writeStaticExportPublishedResource
void writeStaticExportPublishedResource(CmsDbContext dbc, String resourceName, int linkType, String linkParameter, long timestamp) throws CmsDataAccessException Inserts an entry in the published resource table.This is done during static export.
- Parameters:
dbc
- the current database contextresourceName
- The name of the resource to be added to the static exportlinkType
- the type of resource exported (0= non-paramter, 1=parameter)linkParameter
- the parameters added to the resourcetimestamp
- a timestamp for writing the data into the db- Throws:
CmsDataAccessException
- if something goes wrong
-
writeUserPublishListEntries
void writeUserPublishListEntries(CmsDbContext dbc, List<CmsUserPublishListEntry> publishListAdditions) throws CmsDataAccessException Writes multiple user publish list entries to the database.- Parameters:
dbc
- the current database contextpublishListAdditions
- the user publish list entries to write- Throws:
CmsDataAccessException
- if something goes wrong
-