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 |
---|---|
String |
ModelConfiguration.getDefaultReferenceValue(EntityType type) |
Modifier and Type | Method and Description |
---|---|
EntityType |
EntityReference.getType()
Returns the type of this entity.
|
Modifier and Type | Method and Description |
---|---|
EntityReference |
EntityReference.extractReference(EntityType type)
Extract the entity of the given type from this one.
|
String |
EntityReferenceValueProvider.getDefaultValue(EntityType type) |
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 |
ObjectReference.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 |
ObjectPropertyReference.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 |
EntityReference.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 |
ClassPropertyReference.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.
|
Constructor and Description |
---|
EntityReference(String name,
EntityType type)
Create a new root EntityReference.
|
EntityReference(String name,
EntityType type,
EntityReference parent)
Create a new EntityReference.
|
EntityReference(String name,
EntityType type,
EntityReference parent,
Map<String,Serializable> parameters)
Create a new EntityReference.
|
PartialEntityReference(String name,
EntityType type)
Create a new root EntityReference.
|
PartialEntityReference(String name,
EntityType type,
EntityReference parent)
Create a new EntityReference.
|
RegexEntityReference(Pattern pattern,
EntityType type) |
RegexEntityReference(Pattern pattern,
EntityType type,
EntityReference parent) |
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.getEntityReferenceValue(EntityType type)
Get the current value for a specific entity type, like the current space or wiki name.
|
String |
ModelScriptService.getEntityReferenceValue(EntityType type,
String hint)
Get the value configured for a specific entity type, like the space name or wiki name.
|
Copyright © 2004–2015 XWiki. All rights reserved.