01: /***
02: * jwma Java WebMail
03: * Copyright (c) 2000-2003 jwma team
04: *
05: * jwma is free software; you can distribute and use this source
06: * under the terms of the BSD-style license received along with
07: * the distribution.
08: ***/package dtw.webmail.model;
09:
10: /**
11: * An interface defining the contract for interaction with
12: * the JwmaTrashInfo model.
13: * <p>
14: * The JwmaTrashInfo allows a view programmer to obtain
15: * information about the trash folder.
16: *
17: * @author Dieter Wimberger
18: * @version 0.9.7 07/02/2003
19: */
20: public interface JwmaTrashInfo {
21:
22: /**
23: * Returns a <tt>String</tt> representing the name
24: * of the trash folder.
25: *
26: * @return the name of the trash folder as <tt>String</tt>.
27: */
28: public String getName();
29:
30: /**
31: * Returns a <tt>String</tt> representing the path
32: * of the trash folder.
33: *
34: * @return the path of the trash folder as <tt>String</tt>.
35: */
36: public String getPath();
37:
38: /**
39: * Tests if the trash is empty.
40: *
41: * @return true if the trash is empty, false otherwise.
42: */
43: public boolean isEmpty();
44:
45: }//interface JwmaTrashInfo
|