Class RelationInstanceFactory
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.content.factory.ModelFactory<RelationEntity,RelationInstance>
-
- com.atlassian.confluence.api.impl.service.relation.RelationInstanceFactory
-
public class RelationInstanceFactory extends ModelFactory<RelationEntity,RelationInstance>
- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description RelationInstanceFactory(RelatableFactory relatableFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationInstance
buildFrom(RelationEntity hibernateObject, Expansions expansions)
RelationInstance
buildFrom(RelatableEntity sourceEntity, String relationName, RelatableEntity targetEntity, Expansions expansions)
-
Methods inherited from class com.atlassian.confluence.api.impl.service.content.factory.ModelFactory
asFunction, buildFrom
-
-
-
-
Constructor Detail
-
RelationInstanceFactory
public RelationInstanceFactory(RelatableFactory relatableFactory)
-
-
Method Detail
-
buildFrom
public RelationInstance buildFrom(RelationEntity hibernateObject, Expansions expansions)
- Specified by:
buildFrom
in classModelFactory<RelationEntity,RelationInstance>
-
buildFrom
public RelationInstance buildFrom(RelatableEntity sourceEntity, String relationName, RelatableEntity targetEntity, Expansions expansions)
-
-