Class AutoLayoutContentIdentificationResource


  • @Path("/lumis/content/control/autolayoutcontentidentification/{serviceInstanceId: [A-F0-9]{32}}")
    public class AutoLayoutContentIdentificationResource
    extends java.lang.Object
    Auto layout content identification resource.
    Since:
    17.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String adjustAutomaticSlug​(@NotEmpty java.lang.String jsonParams)
      Adjusts the automatically generated slug value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AutoLayoutContentIdentificationResource

        public AutoLayoutContentIdentificationResource()
    • Method Detail

      • adjustAutomaticSlug

        @POST
        @Path("/adjustAutomaticSlug")
        @Produces("text/plain")
        @Consumes("application/json")
        public java.lang.String adjustAutomaticSlug​(@NotEmpty
                                                    @NotEmpty java.lang.String jsonParams)
                                             throws AccessDeniedException,
                                                    PortalException
        Adjusts the automatically generated slug value.
        Parameters:
        jsonParams - a Json containing the itemId of the content being edited, the slug value to be used, and the sourceId of the current service.
        Throws:
        AccessDeniedException - if the current user does not have edit permission on the specified service instance. (403 response)
        PortalObjectNotFoundException - if the specified service instance does not exist. (404 response)
        PortalException
        Since:
        17.0.0