01: /**
02: * $Id: AllView.java,v 1.3 2005/02/08 06:25:57 sm140826 Exp $
03: * Copyright 2002 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and iPlanet
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.wireless.taglibs.mail;
14:
15: import java.util.*;
16: import java.io.*;
17:
18: import javax.mail.search.*;
19: import javax.mail.*;
20:
21: //import com.sun.portal.wireless.taglibs.base.Util;
22:
23: /**
24: * ViewBean
25: *
26: * @version 1.0
27: * @see
28: */
29:
30: public class AllView extends ViewBean {
31:
32: /*
33: * Constructor
34: */
35: public AllView(int idx) {
36: super ("AllView", idx);
37: }
38:
39: public SearchTerm getRules() {
40: Flags flags = new Flags(Flags.Flag.DELETED);
41: FlagTerm fs = new FlagTerm(flags, false);
42: return fs;
43: }
44:
45: public String toString() {
46: return "AllView[name=\"" + getName() + "\", index=\""
47: + getIndex() + "\"]";
48: }
49:
50: }
|