Uses of Class
org.opencms.main.CmsContextInfo
-
Packages that use CmsContextInfo Package Description org.opencms.main Provides the main OpenCms "operating system".org.opencms.scheduler 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 CmsContextInfo Modifier and Type Method Description static 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 CmsContextInfo Modifier and Type Method Description CmsContextInfo
CmsScheduledJobInfo. getContextInfo()
Returns the context information for the user executing this job.Methods in org.opencms.scheduler with parameters of type CmsContextInfo Modifier and Type Method Description void
CmsScheduledJobInfo. setContextInfo(CmsContextInfo contextInfo)
Sets the context information for the user executing the job.Constructors in org.opencms.scheduler with parameters of type CmsContextInfo Constructor Description CmsScheduledJobInfo(java.lang.String id, java.lang.String jobName, java.lang.String className, CmsContextInfo context, java.lang.String cronExpression, boolean reuseInstance, boolean active, java.util.SortedMap<java.lang.String,java.lang.String> parameters)
Constructor for creating a new job with all required parameters.
-