KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > slide > webdav > util > BindConstants


1 /*
2  * $Header: /home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/util/BindConstants.java,v 1.5 2004/07/28 09:32:08 ib Exp $
3  * $Revision: 1.5 $
4  * $Date: 2004/07/28 09:32:08 $
5  *
6  * ====================================================================
7  *
8  * Copyright 1999-2002 The Apache Software Foundation
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  * http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  */

23
24 package org.apache.slide.webdav.util;
25
26 import java.util.Arrays JavaDoc;
27 import java.util.Collections JavaDoc;
28 import java.util.List JavaDoc;
29
30 /**
31  * Bind constants.
32  *
33  */

34 public interface BindConstants extends WebdavConstants {
35
36     /** URI schemes */
37     String JavaDoc S_RESOURCE_ID = "urn:uuid:";
38
39     /** Features */
40     String JavaDoc F_BINDING = "binding";
41
42     /** Headers */
43
44     /** XML Elements */
45     String JavaDoc E_BIND = "bind";
46     String JavaDoc E_UNBIND = "unbind";
47     String JavaDoc E_REBIND = "rebind";
48     String JavaDoc E_PARENT = "parent";
49     String JavaDoc E_SEGMENT = "segment";
50
51     /** XML Attributes */
52
53     /** Property filters */
54
55     /** Live Properties */
56     String JavaDoc P_RESOURCE_ID = "resource-id";
57     String JavaDoc P_PARENT_SET = "parent-set";
58
59     String JavaDoc[] BIND_PROPERTIES = new String JavaDoc[] {
60         P_RESOURCE_ID,
61             P_PARENT_SET
62     };
63
64     List JavaDoc BIND_PROPERTY_LIST = Collections.unmodifiableList(Arrays.asList(BIND_PROPERTIES));
65
66     /** Methods */
67     String JavaDoc M_BIND = "BIND";
68     String JavaDoc M_UNBIND = "UNBIND";
69     String JavaDoc M_REBIND = "REBIND";
70
71     /** Reports */
72
73     /** Pre- and postconditions */
74     String JavaDoc C_BIND_INTO_COLLECTION = "bind-into-collection";
75     String JavaDoc C_BIND_SOURCE_EXISTS = "bind-source-exists";
76     String JavaDoc C_BINDING_ALLOWED = "binding-allowed";
77     String JavaDoc C_BINDING_DELETED = "binding-deleted";
78     String JavaDoc C_CAN_OVERWRITE = "can-overwrite";
79     String JavaDoc C_CROSS_SERVER_BINDING = "cross-server-binding";
80     String JavaDoc C_CYCLE_ALLOWED = "cycle-allowed";
81     String JavaDoc C_LOCKED_OVERWRITE_ALLOWED = "locked-overwrite-allowed";
82     String JavaDoc C_LOCKED_SOURCE_COLLECTION_UPDATE_ALLOWED = "locked-source-collection-update-allowed";
83     String JavaDoc C_LOCKED_UPDATE_ALLOWED = "locked-update-allowed";
84     String JavaDoc C_NAME_ALLOWED = "name-allowed";
85     String JavaDoc C_NEW_BINDING = "new-binding";
86     String JavaDoc C_PROTECTED_SOURCE_URL_DELETION_ALLOWED = "protected-source-url-deletion-allowed";
87     String JavaDoc C_PROTECTED_URL_DELETION_ALLOWED = "protected-url-deletion-allowed";
88     String JavaDoc C_PROTECTED_URL_MODIFICATION_ALLOWED = "protected-url-modification-allowed";
89     String JavaDoc C_REBIND_INTO_COLLECTION = "rebind-into-collection";
90     String JavaDoc C_REBIND_SOURCE_EXISTS = "rebind-source-exists";
91     String JavaDoc C_UNBIND_FROM_COLLECTION = "unbind-from-collection";
92     String JavaDoc C_UNBIND_SOURCE_EXISTS = "unbind-source-exists";
93 }
94
95
Popular Tags