Package | Description |
---|---|
org.xwiki.model | |
org.xwiki.model.reference | |
org.xwiki.model.script |
Modifier and Type | Method and Description |
---|---|
static EntityType |
EntityType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityType[] |
EntityType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
List<EntityType> |
EntityType.getAllowedParents() |
Modifier and Type | Method and Description |
---|---|
String |
ModelConfiguration.getDefaultReferenceValue(EntityType type) |
boolean |
EntityType.isAllowedAncestor(EntityType type) |
Modifier and Type | Method and Description |
---|---|
EntityType |
EntityReference.getType()
Returns the type of this entity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
EntityReference.equals(EntityReference otherReference,
EntityType to)
Compared the two reference between the first reference and the last (including)
to type of entity. |
boolean |
EntityReference.equals(EntityReference otherReference,
EntityType from,
EntityType to)
Compared the two reference between the first (including)
from type of entity and the last
(including) to type of entity. |
EntityReference |
EntityReference.extractFirstReference(EntityType type)
Extract the first entity of the given type from this one by traversing the current entity to the root.
|
EntityReference |
EntityReference.extractReference(EntityType type)
Extract the last entity of the given type from this one by traversing the current entity to the root.
|
Collection<EntityReferenceTreeNode> |
EntityReferenceTreeNode.getChildren(EntityType type) |
EntityReference |
EntityReferenceProvider.getDefaultReference(EntityType type) |
String |
EntityReferenceValueProvider.getDefaultValue(EntityType type)
Deprecated.
|
EntityReference |
EntityReferenceResolver.resolve(T entityReferenceRepresentation,
EntityType type,
Object... parameters) |
protected void |
BlockReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
PageObjectReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
LocalPageReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
ObjectPropertyReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
PageClassPropertyReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
PageObjectPropertyReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
DocumentReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
EntityReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
PageReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
AttachmentReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
ClassPropertyReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
SpaceReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
PageAttachmentReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
ObjectReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
protected void |
WikiReference.setType(EntityType type)
Entity reference are immutable since 3.3M2, so this method is now protected.
|
Modifier and Type | Method and Description |
---|---|
EntityReference |
ModelScriptService.createEntityReference(String name,
EntityType type)
Creates any
EntityReference from a string. |
EntityReference |
ModelScriptService.createEntityReference(String name,
EntityType type,
EntityReference parent)
Creates any
EntityReference from a string. |
String |
ModelScriptService.escape(String name,
EntityType type)
Escape the passed entity name according to reference syntax.
|
EntityReference |
ModelScriptService.getEntityReference(EntityType type)
Get the current reference configured for a specific entity type, like the space reference or wiki reference.
|
EntityReference |
ModelScriptService.getEntityReference(EntityType type,
String hint)
Get the reference configured for a specific entity type, like the space reference or wiki reference.
|
String |
ModelScriptService.getEntityReferenceValue(EntityType type)
Deprecated.
since 7.4.1/8.0M1, use
ModelScriptService.getEntityReference(EntityType) |
String |
ModelScriptService.getEntityReferenceValue(EntityType type,
String hint)
Deprecated.
since 7.2M1, use
ModelScriptService.getEntityReference(EntityType, String) |
Copyright © 2004–2021 XWiki. All rights reserved.