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