Uses of Class
org.xwiki.model.reference.EntityReference
-
Packages that use EntityReference Package Description org.xwiki.model org.xwiki.model.reference org.xwiki.model.script -
-
Uses of EntityReference in org.xwiki.model
Methods in org.xwiki.model that return EntityReference Modifier and Type Method Description EntityReferenceModelContext. getCurrentEntityReference()Methods in org.xwiki.model with parameters of type EntityReference Modifier and Type Method Description voidModelContext. setCurrentEntityReference(EntityReference entityReference) -
Uses of EntityReference in org.xwiki.model.reference
Subclasses of EntityReference in org.xwiki.model.reference Modifier and Type Class Description classAbstractLocalizedEntityReferenceRepresents an entity reference which contains a locale.classAttachmentReferenceRepresents a reference to an Attachment (document reference and file name).classBlockReferenceReference to a block, a structured part of the content of a document or an object property.classClassPropertyReferenceReferences a property in a class in a document (the description of the property).classDocumentReferenceRepresents a reference to a document (wiki, space and document names).classDocumentVersionReferenceA reference to a document version.classLocalDocumentReferenceRepresents a reference to a document in the current wiki.classLocalPageReferenceRepresents a reference to a page in the current wiki.classObjectPropertyReferenceReferences a property in an object in a document (the value of the property).classObjectReferenceReference to an object in a document (by classname and index, document, space, wiki).classPageAttachmentReferenceRepresents a reference to an Attachment (page reference and file name).classPageClassPropertyReferenceReferences a property in a class in a page (the description of the property).classPageObjectPropertyReferenceReferences a property in an object in a document (the value of the property).classPageObjectReferenceReference to an object in a page (by classname and index, page, wiki).classPageReferenceRepresents a reference to a page.classPartialEntityReferenceAnEntityReferenceused to match another one.classRegexEntityReferenceAnEntityReferenceused to match another one.classSpaceReferenceRepresents a reference to a space (space name).classWikiReferenceRepresents a reference to a wiki (wiki name).Methods in org.xwiki.model.reference that return EntityReference Modifier and Type Method Description EntityReferenceEntityReference. appendParent(EntityReference newParent)Return a clone of this reference with a parent appended at the root of its parents chain.EntityReferenceEntityReference. extractFirstReference(EntityType type)Extract the first entity of the given type from this one by traversing the current entity to the root.EntityReferenceEntityReference. extractReference(EntityType type)Extract the last entity of the given type from this one by traversing the current entity to the root.EntityReferenceEntityReferenceProvider. getDefaultReference(EntityType type)EntityReferenceEntityReference. getParent()EntityReferenceEntityReferenceTreeNode. getReference()EntityReferenceEntityReference. getRoot()EntityReferenceEntityReference. removeParent(EntityReference oldParent)Return a clone of this reference truncated to a null parent when it reach the given parent.EntityReferenceEntityReference. replaceParent(EntityReference newParent)Return a clone of this reference, but with its parent replaced by the passed one.EntityReferenceEntityReference. replaceParent(EntityReference oldParent, EntityReference newParent)Return a clone of this reference, but with one of its parent replaced by another one.EntityReferenceEntityReferenceResolver. resolve(T entityReferenceRepresentation, EntityType type, Object... parameters)Methods in org.xwiki.model.reference that return types with arguments of type EntityReference Modifier and Type Method Description Collection<EntityReference>EntityReferenceTreeNode. getLocales()List<EntityReference>EntityReference. getReversedReferenceChain()Methods in org.xwiki.model.reference with parameters of type EntityReference Modifier and Type Method Description EntityReferenceEntityReference. appendParent(EntityReference newParent)Return a clone of this reference with a parent appended at the root of its parents chain.intEntityReference. compareTo(EntityReference reference)booleanEntityReference. equals(EntityReference otherReference, EntityType to)Compared the two reference between the first reference and the last (including)totype of entity.booleanEntityReference. equals(EntityReference otherReference, EntityType from, EntityType to)Compared the two reference between the first (including)fromtype of entity and the last (including)totype of entity.booleanEntityReference. equalsNonRecursive(EntityReference otherReference)Same asequals(Object)but only the first level of the references (ignore parents).EntityReferenceSetEntityReferenceSet. excludes(EntityReference reference)EntityReferenceTreeNodeEntityReferenceTreeNode. get(EntityReference path)booleanEntityReference. hasParent(EntityReference expectedParent)Checks if a given reference is a parent of this reference.EntityReferenceSetEntityReferenceSet. includes(EntityReference reference)booleanEntityReferenceSet. matches(EntityReference reference)EntityReferenceEntityReference. removeParent(EntityReference oldParent)Return a clone of this reference truncated to a null parent when it reach the given parent.AttachmentReferenceAttachmentReference. replaceParent(EntityReference newParent)AttachmentReferenceAttachmentReference. replaceParent(EntityReference oldParent, EntityReference newParent)BlockReferenceBlockReference. replaceParent(EntityReference newParent)BlockReferenceBlockReference. replaceParent(EntityReference oldParent, EntityReference newParent)ClassPropertyReferenceClassPropertyReference. replaceParent(EntityReference newParent)ClassPropertyReferenceClassPropertyReference. replaceParent(EntityReference oldParent, EntityReference newParent)DocumentReferenceDocumentReference. replaceParent(EntityReference newParent)DocumentReferenceDocumentReference. replaceParent(EntityReference oldParent, EntityReference newParent)EntityReferenceEntityReference. replaceParent(EntityReference newParent)Return a clone of this reference, but with its parent replaced by the passed one.EntityReferenceEntityReference. replaceParent(EntityReference oldParent, EntityReference newParent)Return a clone of this reference, but with one of its parent replaced by another one.LocalDocumentReferenceLocalDocumentReference. replaceParent(EntityReference newParent)LocalPageReferenceLocalPageReference. replaceParent(EntityReference newParent)ObjectPropertyReferenceObjectPropertyReference. replaceParent(EntityReference newParent)ObjectPropertyReferenceObjectPropertyReference. replaceParent(EntityReference oldParent, EntityReference newParent)ObjectReferenceObjectReference. replaceParent(EntityReference newParent)ObjectReferenceObjectReference. replaceParent(EntityReference oldParent, EntityReference newParent)PageAttachmentReferencePageAttachmentReference. replaceParent(EntityReference newParent)PageAttachmentReferencePageAttachmentReference. replaceParent(EntityReference oldParent, EntityReference newParent)PageClassPropertyReferencePageClassPropertyReference. replaceParent(EntityReference newParent)PageClassPropertyReferencePageClassPropertyReference. replaceParent(EntityReference oldParent, EntityReference newParent)PageObjectPropertyReferencePageObjectPropertyReference. replaceParent(EntityReference newParent)PageObjectPropertyReferencePageObjectPropertyReference. replaceParent(EntityReference oldParent, EntityReference newParent)PageObjectReferencePageObjectReference. replaceParent(EntityReference newParent)PageObjectReferencePageObjectReference. replaceParent(EntityReference oldParent, EntityReference newParent)PageReferencePageReference. replaceParent(EntityReference newParent)PageReferencePageReference. replaceParent(EntityReference oldParent, EntityReference newParent)SpaceReferenceSpaceReference. replaceParent(EntityReference newParent)SpaceReferenceSpaceReference. replaceParent(EntityReference oldParent, EntityReference newParent)TEntityReferenceSerializer. serialize(EntityReference reference, Object... parameters)Serialize an entity reference into a new representation of typeT.protected voidAttachmentReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidBlockReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidClassPropertyReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidDocumentReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidEntityReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidLocalPageReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidObjectPropertyReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidObjectReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidPageAttachmentReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidPageClassPropertyReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidPageObjectPropertyReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidPageObjectReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidPageReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidSpaceReference. setParent(EntityReference parent)Entity reference are immutable since 3.3M2, so this method is now protected.protected voidWikiReference. 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 Constructor Description AbstractLocalizedEntityReference(String name, EntityType type, EntityReference parent)Create a new EntityReference.AbstractLocalizedEntityReference(String name, EntityType type, EntityReference parent, Locale locale)AbstractLocalizedEntityReference(String name, EntityType type, EntityReference parent, Map<String,Serializable> parameters)Create a new EntityReference.AbstractLocalizedEntityReference(EntityReference reference)Clone an EntityReference.AbstractLocalizedEntityReference(EntityReference reference, Locale locale)Clone an EntityReference and change/add the passed Locale.AbstractLocalizedEntityReference(EntityReference reference, EntityReference parent)Clone an AbstractLocalizedEntityReference, but use the specified parent for its new parent.AbstractLocalizedEntityReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an EntityReference, but replace one of the parent in the chain by an other one.AttachmentReference(EntityReference reference)Special constructor that transforms a generic entity reference into anAttachmentReference.AttachmentReference(EntityReference reference, EntityReference parent)Clone an AttachmentReference, but use the specified parent for its new parent.AttachmentReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an AttachmentReference, but replace one of the parent in the chain by a new one.BlockReference(EntityReference reference)Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.BlockReference(EntityReference reference, EntityReference parent)Clone an BlockReference, but use the specified parent for its new parent.BlockReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an BlockReference, 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 parent)Clone an ClassPropertyReference, but use the specified parent for its new parent.ClassPropertyReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an ClassPropertyReference, but replace one of the parent in the chain by a new one.DocumentReference(String pageName, EntityReference parent, Map<String,Serializable> parameters)DocumentReference(EntityReference reference)Special constructor that transforms a generic entity reference into aDocumentReference.DocumentReference(EntityReference reference, Locale locale)Clone the provided reference and change the Locale.DocumentReference(EntityReference reference, EntityReference parent)Clone an DocumentReference, but use the specified parent for its new parent.DocumentReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an DocumentReference, but replace one of the parent in the chain by a new 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.EntityReference(EntityReference reference)Clone an EntityReference.EntityReference(EntityReference reference, Map<String,Serializable> parameters)Clone an EntityReference, but use the specified paramaters.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.EntityReferenceTree(Comparator<String> comparator, EntityReference... references)EntityReferenceTree(EntityReference... references)LocalDocumentReference(String pageName, EntityReference spaceReference)Create a new Document reference in the current wiki.LocalDocumentReference(EntityReference reference)LocalDocumentReference(EntityReference entityReference, Locale locale)LocalDocumentReference(EntityReference reference, EntityReference parent)Clone an LocalDocumentReference, but use the specified parent for its new parent.LocalPageReference(String pageName, EntityReference pageReference)Create a new Page reference in the current wiki.LocalPageReference(EntityReference reference)LocalPageReference(EntityReference entityReference, Locale locale)LocalPageReference(EntityReference reference, EntityReference parent)Clone an DocumentVersionReference, but use the specified parent for its new parent.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 parent)Clone an ObjectPropertyReference, but use the specified parent for its new parent.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 parent)Clone an ObjectReference, but use the specified parent for its new parent.ObjectReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an ObjectReference, but replace one of the parent in the chain by a new one.PageAttachmentReference(EntityReference reference)Special constructor that transforms a generic entity reference into anPageAttachmentReference.PageAttachmentReference(EntityReference reference, EntityReference parent)Clone an PageAttachmentReference, but use the specified parent for its new parent.PageAttachmentReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an AttachmentReference, but replace one of the parent in the chain by a new one.PageClassPropertyReference(EntityReference reference)Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.PageClassPropertyReference(EntityReference reference, EntityReference parent)Clone an PageClassPropertyReference, but use the specified parent for its new parent.PageClassPropertyReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an ClassPropertyReference, but replace one of the parent in the chain by a new one.PageObjectPropertyReference(EntityReference reference)Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.PageObjectPropertyReference(EntityReference reference, EntityReference parent)Clone an PageObjectPropertyReference, but use the specified parent for its new parent.PageObjectPropertyReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an ObjectPropertyReference, but replace one of the parent in the chain by a new one.PageObjectReference(EntityReference reference)Constructor which would raise exceptions if the source entity reference does not have the appropriate type or parent, etc.PageObjectReference(EntityReference reference, EntityReference parent)Clone an PageObjectReference, but use the specified parent for its new parent.PageObjectReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an ObjectReference, but replace one of the parent in the chain by a new one.PageReference(String pageName, EntityReference parent)Create a page reference based on a page name and a parent entity reference.PageReference(String pageName, EntityReference parent, Locale locale)Create a page reference based on a page name and a parent entity reference.PageReference(EntityReference reference)Special constructor that transforms a generic entity reference into aPageReference.PageReference(EntityReference reference, Locale locale)Clone an EntityReference and change/add the passed Locale.PageReference(EntityReference reference, EntityReference parent)Clone an PageReference, but use the specified parent for its new parent.PageReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone a page reference, but replace one of the parent in the chain by a new one.PartialEntityReference(String name, EntityType type, EntityReference parent)Create a new EntityReference.RegexEntityReference(Pattern pattern, EntityType type, EntityReference parent)SpaceReference(String spaceName, EntityReference parent)Create a space reference based on a space name and a parent entity reference.SpaceReference(EntityReference reference)Special constructor that transforms a generic entity reference into aSpaceReference.SpaceReference(EntityReference reference, EntityReference parent)Clone an SpaceReference, but use the specified parent for its new parent.SpaceReference(EntityReference reference, EntityReference oldReference, EntityReference newReference)Clone an SpaceReference, but replace one of the parent in the chain by a new one.WikiReference(EntityReference reference)Special constructor that transforms a generic entity reference into aWikiReference.Constructor parameters in org.xwiki.model.reference with type arguments of type EntityReference Constructor Description EntityReferenceTree(Iterable<? extends EntityReference> references)EntityReferenceTree(Comparator<String> comparator, Iterable<? extends EntityReference> references) -
Uses of EntityReference in org.xwiki.model.script
Methods in org.xwiki.model.script that return EntityReference Modifier and Type Method Description EntityReferenceModelScriptService. createEntityReference(String name, EntityType type)Creates anyEntityReferencefrom a string.EntityReferenceModelScriptService. createEntityReference(String name, EntityType type, EntityReference parent)Creates anyEntityReferencefrom a string.EntityReferenceModelScriptService. getEntityReference(EntityType type)Get the current reference configured for a specific entity type, like the space reference or wiki reference.EntityReferenceModelScriptService. getEntityReference(EntityType type, String hint)Get the reference configured for a specific entity type, like the space reference or wiki reference.Methods in org.xwiki.model.script with parameters of type EntityReference Modifier and Type Method Description EntityReferenceModelScriptService. createEntityReference(String name, EntityType type, EntityReference parent)Creates anyEntityReferencefrom a string.StringModelScriptService. serialize(EntityReference reference, Object... parameters)StringModelScriptService. serialize(EntityReference reference, String hint, Object... parameters)EntityReferenceTreeModelScriptService. toTree(EntityReference... references)Convert passed references to a tree of references.Method parameters in org.xwiki.model.script with type arguments of type EntityReference Modifier and Type Method Description EntityReferenceTreeModelScriptService. toTree(Iterable<? extends EntityReference> references)Convert passed references to a tree of references.
-