|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugins.edgeindex.DefaultEdgeFactory
public class DefaultEdgeFactory
Constructor Summary | |
---|---|
DefaultEdgeFactory(EdgeTypeRepository edgeTypeRepository)
|
Method Summary | |
---|---|
boolean |
canBuildCreatEdge(ContentEntityObject contentEntity)
Determines if the edge factory is capable of building create edges for a particular piece of content. |
Edge |
getCreateEdge(ContentEntityObject contentEntity)
Creates a new instance of an edge which indicates new content creation. |
Edge |
getLikeEdge(ConfluenceUser liker,
ContentEntityObject likedContent,
java.util.Date likeDate)
Creates a new instance of an edge which represents a user liking content. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultEdgeFactory(EdgeTypeRepository edgeTypeRepository)
Method Detail |
---|
public Edge getCreateEdge(ContentEntityObject contentEntity)
EdgeFactory
getCreateEdge
in interface EdgeFactory
contentEntity
- the new content that has been createdpublic Edge getLikeEdge(ConfluenceUser liker, ContentEntityObject likedContent, java.util.Date likeDate)
EdgeFactory
getLikeEdge
in interface EdgeFactory
public boolean canBuildCreatEdge(ContentEntityObject contentEntity)
EdgeFactory
canBuildCreatEdge
in interface EdgeFactory
contentEntity
- the content to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |