public class DefaultEdgeDocumentFactory extends Object implements EdgeDocumentFactory
| Constructor and Description |
|---|
DefaultEdgeDocumentFactory(ContentPermissionCalculator contentPermissionCalculator) |
| Modifier and Type | Method and Description |
|---|---|
AtlassianDocument |
buildDocument(String edgeId,
com.atlassian.sal.api.user.UserKey userKey,
ContentEntityObject target,
Date date,
String edgeTypeKey)
Build the AtlassianDocument which will be stored as an edge index document
|
public DefaultEdgeDocumentFactory(ContentPermissionCalculator contentPermissionCalculator)
public AtlassianDocument buildDocument(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey)
EdgeDocumentFactorybuildDocument in interface EdgeDocumentFactoryedgeId - the edge IDuserKey - the user keytarget - the target object (usually a page, blog post or comment)date - the date when this edge index is creatededgeTypeKey - the edge typeAtlassianDocument representing the edge index documentCopyright © 2003–2022 Atlassian. All rights reserved.