Class DefaultEdgeIndexTaskFactory
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.DefaultEdgeIndexTaskFactory
-
- All Implemented Interfaces:
EdgeIndexTaskFactory
public class DefaultEdgeIndexTaskFactory extends Object implements EdgeIndexTaskFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultEdgeIndexTaskFactory(EdgeDocumentFactory edgeDocumentFactory, InheritedContentPermissionManager inheritedContentPermissionManager, ContentEntityManager contentEntityManager, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate, EdgeSearchIndexAccessor edgeSearchIndexAccessor, ContentPermissionCalculator contentPermissionCalculator)
-
Method Summary
-
-
-
Constructor Detail
-
DefaultEdgeIndexTaskFactory
public DefaultEdgeIndexTaskFactory(EdgeDocumentFactory edgeDocumentFactory, InheritedContentPermissionManager inheritedContentPermissionManager, ContentEntityManager contentEntityManager, com.atlassian.sal.api.transaction.TransactionTemplate txTemplate, EdgeSearchIndexAccessor edgeSearchIndexAccessor, ContentPermissionCalculator contentPermissionCalculator)
-
-
Method Detail
-
createAddDocumentTask
public EdgeIndexTask createAddDocumentTask(Edge edge)
- Specified by:
createAddDocumentTask
in interfaceEdgeIndexTaskFactory
-
createAddDocumentTask
public com.atlassian.fugue.Maybe<EdgeIndexTask> createAddDocumentTask(com.atlassian.confluence.plugins.edgeindex.IndexableEdge edge)
- Specified by:
createAddDocumentTask
in interfaceEdgeIndexTaskFactory
-
createAddDocumentTask
public EdgeIndexTask createAddDocumentTask(String edgeId, com.atlassian.sal.api.user.UserKey userKey, ContentEntityObject target, Date date, String edgeTypeKey)
- Specified by:
createAddDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteDocumentTask
public com.atlassian.fugue.Maybe<EdgeIndexTask> createDeleteDocumentTask(Edge edge)
- Specified by:
createDeleteDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteDocumentTask
public EdgeIndexTask createDeleteDocumentTask(com.atlassian.confluence.plugins.edgeindex.IndexableEdge edge)
- Specified by:
createDeleteDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteDocumentTask
public EdgeIndexTask createDeleteDocumentTask(String edgeId)
- Specified by:
createDeleteDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteEdgeTargetingDocumentTask
public EdgeIndexTask createDeleteEdgeTargetingDocumentTask(Edge edge)
- Specified by:
createDeleteEdgeTargetingDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteEdgeTargetingDocumentTask
public EdgeIndexTask createDeleteEdgeTargetingDocumentTask(com.atlassian.confluence.plugins.edgeindex.IndexableEdge edge)
- Specified by:
createDeleteEdgeTargetingDocumentTask
in interfaceEdgeIndexTaskFactory
-
createDeleteEdgeTargetingDocumentTask
public EdgeIndexTask createDeleteEdgeTargetingDocumentTask(String targetId)
- Specified by:
createDeleteEdgeTargetingDocumentTask
in interfaceEdgeIndexTaskFactory
-
createReIndexPermissionsTask
public EdgeIndexTask createReIndexPermissionsTask(ContentEntityObject ceo)
- Specified by:
createReIndexPermissionsTask
in interfaceEdgeIndexTaskFactory
-
createReIndexPermissionsTask
public EdgeIndexTask createReIndexPermissionsTask(com.atlassian.confluence.plugins.edgeindex.IndexableEdge edge)
- Specified by:
createReIndexPermissionsTask
in interfaceEdgeIndexTaskFactory
-
createDeleteEdgeByTargetIdAndUserTask
public EdgeIndexTask createDeleteEdgeByTargetIdAndUserTask(Edge edge)
- Specified by:
createDeleteEdgeByTargetIdAndUserTask
in interfaceEdgeIndexTaskFactory
-
createDeleteEdgeByTargetIdAndUserTask
public EdgeIndexTask createDeleteEdgeByTargetIdAndUserTask(com.atlassian.confluence.plugins.edgeindex.IndexableEdge edge)
- Specified by:
createDeleteEdgeByTargetIdAndUserTask
in interfaceEdgeIndexTaskFactory
-
-