|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use EntityReference | |
|---|---|
| org.xwiki.model | |
| org.xwiki.model.reference | |
| Uses of EntityReference in org.xwiki.model |
|---|
| Methods in org.xwiki.model that return EntityReference | |
|---|---|
EntityReference |
ModelContext.getCurrentEntityReference()
|
| Methods in org.xwiki.model with parameters of type EntityReference | |
|---|---|
void |
ModelContext.setCurrentEntityReference(EntityReference entityReference)
|
| Uses of EntityReference in org.xwiki.model.reference |
|---|
| Subclasses of EntityReference in org.xwiki.model.reference | |
|---|---|
class |
AttachmentReference
Represents a reference to an Attachment (document reference and file name). |
class |
ClassPropertyReference
References a property in a class in a document (the description of the property). |
class |
DocumentReference
Represents a reference to a document (wiki, space and page names). |
class |
LocalDocumentReference
Represents a reference to a document in the current wiki. |
class |
ObjectPropertyReference
References a property in an object in a document (the value of the property). |
class |
ObjectReference
Reference to an object in a document (by classname and index, document, space, wiki). |
class |
RegexEntityReference
An EntityReference used to match another one. |
class |
SpaceReference
Represents a reference to a space (space name). |
class |
WikiReference
Represents a reference to a wiki (wiki name). |
| Methods in org.xwiki.model.reference that return EntityReference | |
|---|---|
EntityReference |
EntityReference.appendParent(EntityReference newParent)
Return a clone of this reference with a parent appended at the root of its parents chain. |
EntityReference |
EntityReference.extractReference(EntityType type)
Extract the entity of the given type from this one. |
EntityReference |
EntityReference.getParent()
|
EntityReference |
EntityReference.getRoot()
|
EntityReference |
EntityReference.removeParent(EntityReference oldParent)
Return a clone of this reference truncated to a null parent when it reach the given parent. |
EntityReference |
EntityReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
Return a clone of this reference, but with one of its parent replaced by another one. |
EntityReference |
EntityReferenceResolver.resolve(T entityReferenceRepresentation,
EntityType type,
Object... parameters)
|
| Methods in org.xwiki.model.reference that return types with arguments of type EntityReference | |
|---|---|
List<EntityReference> |
EntityReference.getReversedReferenceChain()
|
| Methods in org.xwiki.model.reference with parameters of type EntityReference | |
|---|---|
EntityReference |
EntityReference.appendParent(EntityReference newParent)
Return a clone of this reference with a parent appended at the root of its parents chain. |
int |
EntityReference.compareTo(EntityReference reference)
|
EntityReference |
EntityReference.removeParent(EntityReference oldParent)
Return a clone of this reference truncated to a null parent when it reach the given parent. |
EntityReference |
EntityReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
Return a clone of this reference, but with one of its parent replaced by another one. |
ObjectPropertyReference |
ObjectPropertyReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
SpaceReference |
SpaceReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
ObjectReference |
ObjectReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
ClassPropertyReference |
ClassPropertyReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
DocumentReference |
DocumentReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
AttachmentReference |
AttachmentReference.replaceParent(EntityReference oldParent,
EntityReference newParent)
|
T |
EntityReferenceSerializer.serialize(EntityReference reference,
Object... parameters)
Serialize an entity reference into a new representation of type |
protected void |
EntityReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
ObjectPropertyReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
SpaceReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
ObjectReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
ClassPropertyReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
DocumentReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
AttachmentReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
protected void |
WikiReference.setParent(EntityReference parent)
Entity reference are immutable since 3.3M2, so this method is now protected. |
| Constructors in org.xwiki.model.reference with parameters of type EntityReference | |
|---|---|
AttachmentReference(EntityReference reference)
Special constructor that transforms a generic entity reference into an AttachmentReference. |
|
AttachmentReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an AttachmentReference, but replace one of the parent in the chain by a new one. |
|
ClassPropertyReference(EntityReference reference)
Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc. |
|
ClassPropertyReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an ClassPropertyReference, but replace one of the parent in the chain by a new one. |
|
DocumentReference(EntityReference reference)
Special constructor that transforms a generic entity reference into a DocumentReference. |
|
DocumentReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an DocumentReference, but replace one of the parent in the chain by a new one. |
|
DocumentReference(EntityReference reference,
Locale locale)
Clone the provided reference and change the Locale. |
|
EntityReference(EntityReference reference)
Clone an EntityReference. |
|
EntityReference(EntityReference reference,
EntityReference parent)
Clone an EntityReference, but use the specified parent for its new parent. |
|
EntityReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an EntityReference, but replace one of the parent in the chain by an other one. |
|
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. |
|
ObjectPropertyReference(EntityReference reference)
Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc. |
|
ObjectPropertyReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an ObjectPropertyReference, but replace one of the parent in the chain by a new one. |
|
ObjectReference(EntityReference reference)
Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc. |
|
ObjectReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an ObjectReference, but replace one of the parent in the chain by a new one. |
|
RegexEntityReference(Pattern pattern,
EntityType type,
EntityReference parent)
|
|
SpaceReference(EntityReference reference)
Special constructor that transforms a generic entity reference into a SpaceReference. |
|
SpaceReference(EntityReference reference,
EntityReference oldReference,
EntityReference newReference)
Clone an SpaceReference, but replace one of the parent in the chain by a new one. |
|
SpaceReference(String spaceName,
EntityReference parent)
Create a space reference based on a space name and a parent entity reference. |
|
WikiReference(EntityReference reference)
Special constructor that transforms a generic entity reference into a WikiReference. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||