Uses of Class
org.opencms.ugc.shared.CmsUgcException
Packages that use CmsUgcException
-
Uses of CmsUgcException in org.opencms.ugc
Methods in org.opencms.ugc that throw CmsUgcExceptionModifier and TypeMethodDescriptionstatic voidCmsUgcSessionSecurityUtil.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 voidCmsUgcSessionSecurityUtil.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.voidCmsUgcEditService.destroySession(CmsUUID sessionId) voidCmsUgcEditService.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.