Uses of Class
org.opencms.main.CmsContextInfo
Packages that use 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
Methods in org.opencms.main with parameters of type CmsContextInfoModifier 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
Methods in org.opencms.scheduler that return CmsContextInfoModifier and TypeMethodDescriptionCmsScheduledJobInfo.getContextInfo()
Returns the context information for the user executing this job.Methods in org.opencms.scheduler with parameters of type CmsContextInfoModifier and TypeMethodDescriptionvoid
CmsScheduledJobInfo.setContextInfo
(CmsContextInfo contextInfo) Sets the context information for the user executing the job.Constructors in org.opencms.scheduler with parameters of type CmsContextInfoModifierConstructorDescriptionCmsScheduledJobInfo
(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.