Class FilesPickerResource


  • @Path("/lum-internal/doui/filespicker/rest")
    public class FilesPickerResource
    extends Object
    REST used by FilesPickerControl.
    Since:
    10.3.0
    Version:
    $Revision: 20808 $ $Date: 2017-11-30 17:13:55 -0200 (Thu, 30 Nov 2017) $
    • Constructor Detail

      • FilesPickerResource

        public FilesPickerResource()
    • Method Detail

      • goToAdministration

        @Path("/admin")
        @GET
        public Response goToAdministration​(@QueryParam("filesId")
                                           String filesId,
                                           @QueryParam("files.sourceId")
                                           String filesSourceId,
                                           @QueryParam("files.fieldId")
                                           String filesFieldId,
                                           @QueryParam("serviceInstanceId")
                                           String filesServiceInstanceId,
                                           @QueryParam("callbackFunction")
                                           String callbackFunction,
                                           @QueryParam("fileListInterfaceId")
                                           String fileListInterfaceId,
                                           @QueryParam("fileAddInterfaceId")
                                           String fileAddInterfaceId,
                                           @QueryParam("pageId")
                                           String pageId)
                                    throws Exception
        Returns a response redirecting to add interface if the given Files is empty or to administration interface, otherwise.
        Parameters:
        filesId - the identifier of the files being added/edited.
        filesSourceId - the identifier of the source of files being added/edited.
        filesFieldId - the identifier of the field of files being added/edited.
        filesServiceInstanceId - the identifier of the service instance of files being added/edited.
        callbackFunction - callback function that will be called after files add/edit.
        fileListInterfaceId - the identifier of the list interface of files being added/edited.
        fileAddInterfaceId - the identifier of the add interface of files being added/edited.
        pageId - the identifier of the page.
        Returns:
        a response redirecting to add interface if the given Files is empty or to administration interface, otherwise.
        Throws:
        Exception
        Since:
        10.3.0