Package com.jalios.jcms.policy
Class BasicRemoteDocumentPolicyFilter
java.lang.Object
com.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicRemoteDocumentPolicyFilter
- All Implemented Interfaces:
PluginComponent,PolicyFilter,RemoteDocumentPolicyFilter,Comparable
public class BasicRemoteDocumentPolicyFilter
extends AbstractPolicyFilter
implements RemoteDocumentPolicyFilter
-
Field Summary
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentType(String remoteUri) getDownloadUrl(FileDocument remoteDocument) getRemotePreviewUrl(FileDocument remoteDocument) getRemoteThumbnailUrl(FileDocument remoteDocument) booleanInitialize the component with the given plugin configurationbooleanpreviewWithIFrame(FileDocument remoteDocument) booleanpreviewWithMedia(FileDocument remoteDocument) Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
BasicRemoteDocumentPolicyFilter
public BasicRemoteDocumentPolicyFilter()
-
-
Method Details
-
init
Description copied from interface:PluginComponentInitialize the component with the given plugin configuration- Specified by:
initin interfacePluginComponent- Parameters:
plugin- the calling plugin- Returns:
- true if the component has been correctly initialized.
-
getDownloadUrl
- Specified by:
getDownloadUrlin interfaceRemoteDocumentPolicyFilter
-
getRemotePreviewUrl
- Specified by:
getRemotePreviewUrlin interfaceRemoteDocumentPolicyFilter
-
getRemoteThumbnailUrl
- Specified by:
getRemoteThumbnailUrlin interfaceRemoteDocumentPolicyFilter
-
previewWithIFrame
- Specified by:
previewWithIFramein interfaceRemoteDocumentPolicyFilter
-
previewWithMedia
- Specified by:
previewWithMediain interfaceRemoteDocumentPolicyFilter
-
getTitle
- Specified by:
getTitlein interfaceRemoteDocumentPolicyFilter
-
getContentType
- Specified by:
getContentTypein interfaceRemoteDocumentPolicyFilter
-