ch.busyboxes.agoo.controller.model
Class WebWatchedFolder

java.lang.Object
  extended by ch.busyboxes.agoo.controller.model.WebWatchedFolder

public class WebWatchedFolder
extends java.lang.Object

A representation of a folder watched by the Agoo system, this object contains what is required to display in a view

Author:
julien@busyboxes.ch

Constructor Summary
WebWatchedFolder()
           
 
Method Summary
 java.lang.String getFolderPath()
          Returns the path corresponding to this folder
 java.lang.Long getId()
          Returns the id of the watched folder
 int getWatchedFilesCount()
          Sets the number for watched files
 void setFolderPath(java.lang.String folderPath)
          Sets the path corresponding to this folder
 void setId(java.lang.Long id)
          Sets the id of the watched folder param id the id of the watched folder
 void setWatchedFilesCount(int watchedFilesCount)
          Gets the number of watches files
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebWatchedFolder

public WebWatchedFolder()
Method Detail

getId

public java.lang.Long getId()
Returns the id of the watched folder

Returns:
the id of the watched folder

setId

public void setId(java.lang.Long id)
Sets the id of the watched folder param id the id of the watched folder


getFolderPath

public java.lang.String getFolderPath()
Returns the path corresponding to this folder

Returns:
the folderPath the path of this folder

setFolderPath

public void setFolderPath(java.lang.String folderPath)
Sets the path corresponding to this folder

Parameters:
folderPath - the folder's path to set

getWatchedFilesCount

public int getWatchedFilesCount()
Sets the number for watched files

Returns:
the watchedFilesCount

setWatchedFilesCount

public void setWatchedFilesCount(int watchedFilesCount)
Gets the number of watches files

Parameters:
watchedFilesCount - the watchedFilesCount to set


Copyright © 2009. All Rights Reserved.