Class FilesPickerResource


  • @Path("/lum-internal/doui/filespicker/rest")
    public class FilesPickerResource
    extends java.lang.Object
    REST used by FilesPickerControl.
    Since:
    10.3.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response goToAdministration​(java.lang.String filesId, java.lang.String filesSourceId, java.lang.String filesFieldId, java.lang.String filesServiceInstanceId, java.lang.String callbackFunction, java.lang.String fileListInterfaceId, java.lang.String fileAddInterfaceId, java.lang.String pageId)
      Returns a response redirecting to add interface if the given Files is empty or to administration interface, otherwise.
      • Methods inherited from class java.lang.Object

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

      • FilesPickerResource

        public FilesPickerResource()
    • Method Detail

      • goToAdministration

        @Path("/admin")
        @GET
        public javax.ws.rs.core.Response goToAdministration​(@QueryParam("filesId")
                                                            java.lang.String filesId,
                                                            @QueryParam("files.sourceId")
                                                            java.lang.String filesSourceId,
                                                            @QueryParam("files.fieldId")
                                                            java.lang.String filesFieldId,
                                                            @QueryParam("serviceInstanceId")
                                                            java.lang.String filesServiceInstanceId,
                                                            @QueryParam("callbackFunction")
                                                            java.lang.String callbackFunction,
                                                            @QueryParam("fileListInterfaceId")
                                                            java.lang.String fileListInterfaceId,
                                                            @QueryParam("fileAddInterfaceId")
                                                            java.lang.String fileAddInterfaceId,
                                                            @QueryParam("pageId")
                                                            java.lang.String pageId)
                                                     throws java.lang.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:
        java.lang.Exception
        Since:
        10.3.0