Uses of Class
org.opencms.main.CmsContextInfo
Package
Description
Provides the main OpenCms "operating system".
The OpenCms scheduler provides a facility to run jobs in a regular schedule, much
like the "cron" faciltiy in UNIX systems.
-
Uses of CmsContextInfo in org.opencms.main
Modifier and TypeMethodDescriptionstatic CmsObject
OpenCms.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided.protected CmsObject
OpenCmsCore.initCmsObject
(CmsObject adminCms, CmsContextInfo contextInfo) Returns an initialized CmsObject with the user and context initialized as provided. -
Uses of CmsContextInfo in org.opencms.scheduler
Modifier and TypeMethodDescriptionCmsScheduledJobInfo.getContextInfo()
Returns the context information for the user executing this job.Modifier and TypeMethodDescriptionvoid
CmsScheduledJobInfo.setContextInfo
(CmsContextInfo contextInfo) Sets the context information for the user executing the job.ModifierConstructorDescriptionCmsScheduledJobInfo
(String id, String jobName, String className, CmsContextInfo context, String cronExpression, boolean reuseInstance, boolean active, SortedMap<String, String> parameters) Constructor for creating a new job with all required parameters.