public class BasicRemoteDocumentPolicyFilter extends AbstractPolicyFilter implements RemoteDocumentPolicyFilter
order
REVISION
Constructor and Description |
---|
BasicRemoteDocumentPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType(java.lang.String remoteUri) |
java.lang.String |
getDownloadUrl(FileDocument remoteDocument) |
java.lang.String |
getRemotePreviewUrl(FileDocument remoteDocument) |
java.lang.String |
getRemoteThumbnailUrl(FileDocument remoteDocument) |
java.lang.String |
getTitle(java.lang.String remoteUri) |
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
boolean |
previewWithIFrame(FileDocument remoteDocument) |
boolean |
previewWithMedia(FileDocument remoteDocument) |
compareTo, equals, getOrder, setOrder
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginpublic java.lang.String getDownloadUrl(FileDocument remoteDocument)
getDownloadUrl
in interface RemoteDocumentPolicyFilter
public java.lang.String getRemotePreviewUrl(FileDocument remoteDocument)
getRemotePreviewUrl
in interface RemoteDocumentPolicyFilter
public java.lang.String getRemoteThumbnailUrl(FileDocument remoteDocument)
getRemoteThumbnailUrl
in interface RemoteDocumentPolicyFilter
public boolean previewWithIFrame(FileDocument remoteDocument)
previewWithIFrame
in interface RemoteDocumentPolicyFilter
public boolean previewWithMedia(FileDocument remoteDocument)
previewWithMedia
in interface RemoteDocumentPolicyFilter
public java.lang.String getTitle(java.lang.String remoteUri)
getTitle
in interface RemoteDocumentPolicyFilter
public java.lang.String getContentType(java.lang.String remoteUri)
getContentType
in interface RemoteDocumentPolicyFilter
Copyright © 2001-2018 Jalios SA. All Rights Reserved.