| 1 |
|
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
| 5 |
|
|
| 6 |
|
|
| 7 |
|
|
| 8 |
|
|
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
|
| 15 |
|
|
| 16 |
|
|
| 17 |
|
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
package org.xwiki.component.wiki.internal; |
| 21 |
|
|
| 22 |
|
import org.xwiki.model.EntityType; |
| 23 |
|
import org.xwiki.model.reference.EntityReference; |
| 24 |
|
|
| 25 |
|
import com.xpn.xwiki.user.api.XWikiRightService; |
| 26 |
|
|
| 27 |
|
|
| 28 |
|
|
| 29 |
|
|
| 30 |
|
@version |
| 31 |
|
@since |
| 32 |
|
|
| |
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
| 33 |
|
public interface WikiComponentConstants |
| 34 |
|
{ |
| 35 |
|
|
| 36 |
|
|
| 37 |
|
|
| 38 |
|
String CLASS_AUTHOR = XWikiRightService.SUPERADMIN_USER; |
| 39 |
|
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
EntityReference CLASS_SPACE_REFERENCE = new EntityReference("XWiki", EntityType.SPACE); |
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
@Deprecated |
| 49 |
|
String COMPONENT_CLASS = "XWiki.ComponentClass"; |
| 50 |
|
|
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
EntityReference COMPONENT_CLASS_REFERENCE = new EntityReference("ComponentClass", EntityType.DOCUMENT) |
| 55 |
|
.appendParent(CLASS_SPACE_REFERENCE); |
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
@Deprecated |
| 61 |
|
String DEPENDENCY_CLASS = "XWiki.ComponentDependencyClass"; |
| 62 |
|
|
| 63 |
|
|
| 64 |
|
|
| 65 |
|
|
| 66 |
|
EntityReference DEPENDENCY_CLASS_REFERENCE = new EntityReference("ComponentDependencyClass", EntityType.DOCUMENT) |
| 67 |
|
.appendParent(CLASS_SPACE_REFERENCE); |
| 68 |
|
|
| 69 |
|
|
| 70 |
|
|
| 71 |
|
|
| 72 |
|
@Deprecated |
| 73 |
|
String METHOD_CLASS = "XWiki.ComponentMethodClass"; |
| 74 |
|
|
| 75 |
|
|
| 76 |
|
|
| 77 |
|
|
| 78 |
|
EntityReference METHOD_CLASS_REFRENCE = new EntityReference("ComponentMethodClass", EntityType.DOCUMENT) |
| 79 |
|
.appendParent(CLASS_SPACE_REFERENCE); |
| 80 |
|
|
| 81 |
|
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
@Deprecated |
| 85 |
|
String INTERFACE_CLASS = "XWiki.ComponentInterfaceClass"; |
| 86 |
|
|
| 87 |
|
|
| 88 |
|
|
| 89 |
|
|
| 90 |
|
EntityReference INTERFACE_CLASS_REFERENCE = new EntityReference("ComponentInterfaceClass", EntityType.DOCUMENT) |
| 91 |
|
.appendParent(CLASS_SPACE_REFERENCE); |
| 92 |
|
|
| 93 |
|
|
| 94 |
|
@link |
| 95 |
|
|
| 96 |
|
String INTERFACE_NAME_FIELD = "name"; |
| 97 |
|
|
| 98 |
|
|
| 99 |
|
@link |
| 100 |
|
|
| 101 |
|
String METHOD_NAME_FIELD = INTERFACE_NAME_FIELD; |
| 102 |
|
|
| 103 |
|
|
| 104 |
|
@link |
| 105 |
|
|
| 106 |
|
String METHOD_CODE_FIELD = "code"; |
| 107 |
|
|
| 108 |
|
|
| 109 |
|
@link@link |
| 110 |
|
|
| 111 |
|
String COMPONENT_ROLE_HINT_FIELD = "roleHint"; |
| 112 |
|
|
| 113 |
|
|
| 114 |
|
@link@link |
| 115 |
|
|
| 116 |
|
String COMPONENT_ROLE_TYPE_FIELD = "roleType"; |
| 117 |
|
|
| 118 |
|
@link |
| 119 |
|
|
| 120 |
|
String COMPONENT_SCOPE_FIELD = "scope"; |
| 121 |
|
|
| 122 |
|
|
| 123 |
|
@link |
| 124 |
|
|
| 125 |
|
String DEPENDENCY_BINDING_NAME_FIELD = "bindingName"; |
| 126 |
|
} |