Uses of Class
org.opencms.ugc.shared.CmsUgcException
-
Uses of CmsUgcException in org.opencms.ugc
Modifier and TypeMethodDescriptionstatic void
CmsUgcSessionSecurityUtil.checkCreateContent
(CmsObject cms, CmsUgcConfiguration config) Checks whether a new XML content may be created and throws an exception if this is not the case.static void
CmsUgcSessionSecurityUtil.checkCreateUpload
(CmsObject cms, CmsUgcConfiguration config, String name, long size) Checks whether an uploaded file can be created in the VFS, and throws an exception otherwise.CmsUgcSessionFactory.createSession
(CmsObject cms, javax.servlet.http.HttpServletRequest request, String sitePath) Creates a new editing session.CmsUgcSessionFactory.createSession
(CmsObject cms, javax.servlet.http.HttpServletRequest request, CmsUgcConfiguration config) Creates a new editing session.CmsUgcSessionFactory.createSessionForFile
(CmsObject cms, javax.servlet.http.HttpServletRequest request, String configPath, String fileName) Creates a new session for a given file.CmsUgcActionElement.createSessionForResource
(String configPath, String fileName) Creates a new form session to edit the file with the given name using the given form configuration.CmsUgcSession.createUploadResource
(String fieldName, String rawFileName, byte[] content) Creates a new resource from upload data.CmsUgcSession.createXmlContent()
Creates a new edit resource.void
CmsUgcEditService.destroySession
(CmsUUID sessionId) void
CmsUgcEditService.getContent
(CmsUUID sessionId) CmsUgcSession.loadXmlContent
(String fileName) Loads the existing edit resource.CmsUgcEditService.saveContent
(CmsUUID sessionId, Map<String, String> contentValues) CmsUgcSession.saveContent
(Map<String, String> contentValues) Saves the content values to the sessions edit resource.CmsUgcEditService.validateContent
(CmsUUID sessionId, Map<String, String> contentValues) CmsUgcSession.validateContent
(Map<String, String> contentValues) Validates the content values.