Interface ValidationResource
- All Superinterfaces:
AuthenticatedResource
@Path("/validate")
@Consumes("text/html; charset=UTF-8")
public interface ValidationResource
extends AuthenticatedResource
REST API for validating user input.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetFormattedError(boolean formattedError) jakarta.ws.rs.core.ResponsevalidateFileDescription(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateFileName(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateFolderDescription(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateFolderName(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateFsPath(String unsafe) jakarta.ws.rs.core.ResponsevalidateGenericInput(String unsafe) jakarta.ws.rs.core.ResponsevalidateGroupDescription(String unsafe) jakarta.ws.rs.core.ResponsevalidateGroupName(String unsafe) jakarta.ws.rs.core.ResponsevalidateHostName(String unsafe) jakarta.ws.rs.core.ResponsevalidateMimeType(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateNodeDescription(String unsafe) jakarta.ws.rs.core.ResponsevalidateNodeInput(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateNodeName(String unsafe) jakarta.ws.rs.core.ResponsevalidatePageDescription(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidatePageName(int nodeId, String unsafe) jakarta.ws.rs.core.ResponsevalidateRoleDescription(String unsafe) jakarta.ws.rs.core.ResponsevalidateRoleName(String unsafe) jakarta.ws.rs.core.ResponsevalidateTagPart(int partId, String unsafe) jakarta.ws.rs.core.ResponsevalidateUserDescription(String unsafe) jakarta.ws.rs.core.ResponsevalidateUserEmail(String unsafe) jakarta.ws.rs.core.ResponsevalidateUserFirstName(String unsafe) jakarta.ws.rs.core.ResponsevalidateUserLastName(String unsafe) jakarta.ws.rs.core.ResponsevalidateUserMessage(String unsafe) jakarta.ws.rs.core.ResponsevalidateUserName(String unsafe) Methods inherited from interface com.gentics.contentnode.rest.resource.AuthenticatedResource
setSessionId
-
Method Details
-
setFormattedError
@QueryParam("formattedError") void setFormattedError(boolean formattedError) - Parameters:
formattedError- If true, the response will include a formatted error message.
-
validateTagPart
@POST @Path("/tagPart/{partId}") jakarta.ws.rs.core.Response validateTagPart(@PathParam("partId") int partId, String unsafe) throws Exception - Throws:
Exception
-
validateGenericInput
@POST @Path("/genericInput") jakarta.ws.rs.core.Response validateGenericInput(String unsafe) throws Exception - Throws:
Exception
-
validateUserName
@POST @Path("/userName") jakarta.ws.rs.core.Response validateUserName(String unsafe) throws Exception - Throws:
Exception
-
validateUserEmail
@POST @Path("/userEmail") jakarta.ws.rs.core.Response validateUserEmail(String unsafe) throws Exception - Throws:
Exception
-
validateUserFirstName
@POST @Path("/userFirstName") jakarta.ws.rs.core.Response validateUserFirstName(String unsafe) throws Exception - Throws:
Exception
-
validateUserLastName
@POST @Path("/userLastName") jakarta.ws.rs.core.Response validateUserLastName(String unsafe) throws Exception - Throws:
Exception
-
validateUserDescription
@POST @Path("/userDescription") jakarta.ws.rs.core.Response validateUserDescription(String unsafe) throws Exception - Throws:
Exception
-
validateNodeName
@POST @Path("/nodeName") jakarta.ws.rs.core.Response validateNodeName(String unsafe) throws Exception - Throws:
Exception
-
validateHostName
@POST @Path("/hostName") jakarta.ws.rs.core.Response validateHostName(String unsafe) throws Exception - Throws:
Exception
-
validateFsPath
- Throws:
Exception
-
validateNodeDescription
@POST @Path("/nodeDescription") jakarta.ws.rs.core.Response validateNodeDescription(String unsafe) throws Exception - Throws:
Exception
-
validateUserMessage
@POST @Path("/userMessage") jakarta.ws.rs.core.Response validateUserMessage(String unsafe) throws Exception - Throws:
Exception
-
validateGroupName
@POST @Path("/groupName") jakarta.ws.rs.core.Response validateGroupName(String unsafe) throws Exception - Throws:
Exception
-
validateGroupDescription
@POST @Path("/groupDescription") jakarta.ws.rs.core.Response validateGroupDescription(String unsafe) throws Exception - Throws:
Exception
-
validateRoleName
@POST @Path("/roleName") jakarta.ws.rs.core.Response validateRoleName(String unsafe) throws Exception - Throws:
Exception
-
validateRoleDescription
@POST @Path("/roleDescription") jakarta.ws.rs.core.Response validateRoleDescription(String unsafe) throws Exception - Throws:
Exception
-
validateNodeInput
@POST @Path("/nodeInput/{nodeId}") jakarta.ws.rs.core.Response validateNodeInput(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validateFolderName
@POST @Path("/nodeInput/{nodeId}/folderName") jakarta.ws.rs.core.Response validateFolderName(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validateFolderDescription
@POST @Path("/nodeInput/{nodeId}/folderDescription") jakarta.ws.rs.core.Response validateFolderDescription(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validatePageName
@POST @Path("/nodeInput/{nodeId}/pageName") jakarta.ws.rs.core.Response validatePageName(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validatePageDescription
@POST @Path("/nodeInput/{nodeId}/pageDescription") jakarta.ws.rs.core.Response validatePageDescription(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validateFileDescription
@POST @Path("/nodeInput/{nodeId}/fileDescription") jakarta.ws.rs.core.Response validateFileDescription(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validateFileName
@POST @Path("/nodeInput/{nodeId}/fileName") jakarta.ws.rs.core.Response validateFileName(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-
validateMimeType
@POST @Path("/nodeInput/{nodeId}/mimeType") jakarta.ws.rs.core.Response validateMimeType(@PathParam("nodeId") int nodeId, String unsafe) throws Exception - Throws:
Exception
-