Class Refs
- java.lang.Object
 - 
- com.atlassian.confluence.impl.pages.attachments.filesystem.model.Refs
 
 
- 
public final class Refs extends Object
Provides factory methods for creatingAttachmentReftypes.- Since:
 - 7.12
 
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttachmentRef.Containerref(ContentEntityObject attachmentContainer)static AttachmentRefref(Attachment attachment)static AttachmentRef.Spaceref(Space space) 
 - 
 
- 
- 
Method Detail
- 
ref
public static AttachmentRef ref(Attachment attachment)
- Returns:
 - an 
AttachmentReffor the givenAttachment. 
 
- 
ref
public static AttachmentRef.Space ref(Space space)
- Returns:
 - an 
AttachmentRef.Spacefor the givenSpace. 
 
- 
ref
public static AttachmentRef.Container ref(ContentEntityObject attachmentContainer)
- Returns:
 - an 
AttachmentRef.Containerfor the givenContentEntityObject. 
 
 - 
 
 -