ch.busyboxes.agoo.controller
Class FileController

java.lang.Object
  extended by ch.busyboxes.agoo.controller.FileController

@Controller
public class FileController
extends java.lang.Object

This class represents the controller for file page

Author:
julien@busyboxes.ch

Constructor Summary
FileController()
           
 
Method Summary
 org.springframework.ui.ModelMap fileDetails(java.lang.Long fileId)
          This method responds to a request on the file details page
 void setWatchedFileService(WatchedFileService watchedFileService)
          Sets the watched file service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileController

public FileController()
Method Detail

fileDetails

@RequestMapping(value="/file/details",
                method=GET)
public org.springframework.ui.ModelMap fileDetails(@RequestParam(value="fileId")
                                                                  java.lang.Long fileId)
This method responds to a request on the file details page

Parameters:
fileId - the id of the folder
Returns:
model the model for the page

setWatchedFileService

public void setWatchedFileService(WatchedFileService watchedFileService)
Sets the watched file service

Parameters:
watchedFileService - the watched file service


Copyright © 2009. All Rights Reserved.