KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > business > drive > directory > DirectoryConstants


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * -----------------------------------------------------------------------------
5  * ivata groupware may be redistributed under the GNU General Public
6  * License as published by the Free Software Foundation;
7  * version 2 of the License.
8  *
9  * These programs are free software; you can redistribute them and/or
10  * modify them under the terms of the GNU General Public License
11  * as published by the Free Software Foundation; version 2 of the License.
12  *
13  * These programs are distributed in the hope that they will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  *
17  * See the GNU General Public License in the file LICENSE.txt for more
18  * details.
19  *
20  * If you would like a copy of the GNU General Public License write to
21  *
22  * Free Software Foundation, Inc.
23  * 59 Temple Place - Suite 330
24  * Boston, MA 02111-1307, USA.
25  *
26  *
27  * To arrange commercial support and licensing, contact ivata at
28  * http://www.ivata.com/contact.jsp
29  * -----------------------------------------------------------------------------
30  * $Log: DirectoryConstants.java,v $
31  * Revision 1.2 2005/04/09 17:19:43 colinmacleod
32  * Changed copyright text to GPL v2 explicitly.
33  *
34  * Revision 1.1.1.1 2005/03/10 17:51:52 colinmacleod
35  * Restructured ivata op around Hibernate/PicoContainer.
36  * Renamed ivata groupware.
37  *
38  * Revision 1.3 2004/07/13 20:00:00 colinmacleod
39  * Moved project to POJOs from EJBs.
40  * Applied PicoContainer to services layer (replacing session EJBs).
41  * Applied Hibernate to persistence layer (replacing entity EJBs).
42  *
43  * Revision 1.2 2004/03/21 21:16:25 colinmacleod
44  * Shortened name to ivata op.
45  *
46  * Revision 1.1.1.1 2004/01/27 20:58:26 colinmacleod
47  * Moved ivata op to sourceforge.
48  *
49  * Revision 1.2 2003/10/15 14:05:21 colin
50  * fixing for XDoclet
51  *
52  * Revision 1.2 2003/08/18 10:47:55 peter
53  * new directory methods
54  *
55  * Revision 1.1 2003/08/14 15:17:11 peter
56  * added to cvs
57  * -----------------------------------------------------------------------------
58  */

59
60 // Source file: h:/cvslocal/ivata op/src/com.ivata.portal/business/drive/directory/DirectoryConstants.java
61
package com.ivata.groupware.business.drive.directory;
62
63
64 /**
65  * <p>This class holds the ids of special folders in virtual drive</p>
66  */

67 public class DirectoryConstants {
68     /**
69      * <p>The root directory, this directory has no parent</p>
70      */

71     public static final Integer JavaDoc ROOT_DIRECTORY = new Integer JavaDoc(0);
72
73     /**
74      * <p>The attached files of library items are kept inside
75      * subdirectories of this directory</p>
76      */

77     public static final Integer JavaDoc LIBRARY_DIRECTORY = new Integer JavaDoc(1);
78
79     /**
80      <p>No navigation available (no history)</p>
81      */

82     public static final Integer JavaDoc NAVIGATION_NONE = new Integer JavaDoc(0);
83
84     /**
85      <p>Forward navigation available</p>
86      */

87     public static final Integer JavaDoc NAVIGATION_FORWARD = new Integer JavaDoc(1);
88
89     /**
90      <p>Backward navigation available</p>
91      */

92     public static final Integer JavaDoc NAVIGATION_BACKWARD = new Integer JavaDoc(2);
93
94     /**
95      <p>Forward and backward navigation both available</p>
96      */

97     public static final Integer JavaDoc NAVIGATION_BOTH = new Integer JavaDoc(3);
98 }
99
Popular Tags