@Test public void resolveWithExplicitDocumentReference() { DocumentReference reference = this.documentReferenceResolver.resolve("", new DocumentReference("wiki", "space", "page")); assertEquals("page", reference.getName()); assertEquals("space", reference.getLastSpaceReference().getName()); assertEquals("wiki", reference.getWikiReference().getName()); }
@Override public DocumentReference resolve(String documentReferenceRepresentation, Object... parameters) { return new DocumentReference(this.entityReferenceResolver.resolve( documentReferenceRepresentation, EntityType.DOCUMENT, parameters)); }
ExplicitStringDocumentReferenceResolver implements DocumentReferenceResolver<String> { @Override public DocumentReference resolve(String documentReferenceRepresentation, Object... parameters) { return new DocumentReference(this.entityReferenceResolver.resolve( documentReferenceRepresentation, EntityType.DOCUMENT, parameters)); } }
ExplicitStringDocumentReferenceResolver implements DocumentReferenceResolver<String> { @Override public DocumentReference resolve(String documentReferenceRepresentation, Object... parameters) { return new DocumentReference(this.entityReferenceResolver.resolve( documentReferenceRepresentation, EntityType.DOCUMENT, parameters)); }  }
ExplicitStringDocumentReferenceResolver implements DocumentReferenceResolver<String> { @Override public DocumentReference resolve(String documentReferenceRepresentation, Object... parameters) { return new DocumentReference(this.entityReferenceResolver.resolve( documentReferenceRepresentation, EntityType.DOCUMENT, parameters)); }  @Override DocumentReference resolve(String documentReferenceRepresentation, Object... parameters); }
ExplicitStringDocumentReferenceResolver implements DocumentReferenceResolver<String> { @Override public DocumentReference resolve(String documentReferenceRepresentation, Object... parameters) { return new DocumentReference(this.entityReferenceResolver.resolve( documentReferenceRepresentation, EntityType.DOCUMENT, parameters)); }  @Override DocumentReference resolve(String documentReferenceRepresentation, Object... parameters);  }