com.atlassian.confluence.api.impl.service.content.factory
Class AttachmentFactory

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.content.factory.ModelFactory<Attachment,Content>
      extended by com.atlassian.confluence.api.impl.service.content.factory.AttachmentFactory

public class AttachmentFactory
extends ModelFactory<Attachment,Content>

Creates API Model Content objects from Hibernate Attachment objects.


Constructor Summary
AttachmentFactory(ContentFactory contentFactory)
           
 
Method Summary
 Content buildFrom(Attachment attachment, Expansions expansions)
           
 
Methods inherited from class com.atlassian.confluence.api.impl.service.content.factory.ModelFactory
asFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentFactory

public AttachmentFactory(ContentFactory contentFactory)
Method Detail

buildFrom

public Content buildFrom(Attachment attachment,
                         Expansions expansions)
Specified by:
buildFrom in class ModelFactory<Attachment,Content>


Copyright © 2003–2015 Atlassian. All rights reserved.