public interface EdgeFactory
Modifier and Type | Method and Description |
---|---|
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,
Date likeDate)
Creates a new instance of an edge which represents a user liking content.
|
Edge getCreateEdge(ContentEntityObject contentEntity)
contentEntity
- the new content that has been createdEdge getLikeEdge(ConfluenceUser liker, ContentEntityObject likedContent, Date likeDate)
boolean canBuildCreatEdge(ContentEntityObject contentEntity)
contentEntity
- the content to checkCopyright © 2003–2016 Atlassian. All rights reserved.