public class DefaultExportEmbeddedResourceRenderer extends Object implements com.atlassian.renderer.embedded.EmbeddedResourceRenderer
Constructor and Description |
---|
DefaultExportEmbeddedResourceRenderer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isPermittedToViewAttachment(Attachment attachment)
Return true if the user is able to view the attachment.
|
String |
renderResource(com.atlassian.renderer.embedded.EmbeddedResource resource,
com.atlassian.renderer.RenderContext context) |
void |
setPermissionManager(PermissionManager permissionManager) |
public DefaultExportEmbeddedResourceRenderer()
public String renderResource(com.atlassian.renderer.embedded.EmbeddedResource resource, com.atlassian.renderer.RenderContext context)
renderResource
in interface com.atlassian.renderer.embedded.EmbeddedResourceRenderer
protected boolean isPermittedToViewAttachment(Attachment attachment)
public void setPermissionManager(PermissionManager permissionManager)
Copyright © 2003–2015 Atlassian. All rights reserved.