Package com.jalios.jcms.policy
Class RemoteDocumentPolicyManager
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyManager<RemoteDocumentPolicyFilter>
-
- com.jalios.jcms.policy.RemoteDocumentPolicyManager
-
public class RemoteDocumentPolicyManager extends AbstractPolicyManager<RemoteDocumentPolicyFilter>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getContentType(java.lang.String remoteUri)
java.lang.String
getDownloadUrl(FileDocument remoteDocument)
static RemoteDocumentPolicyManager
getInstance()
java.lang.String
getRemotePreviewUrl(FileDocument remoteDocument)
java.lang.String
getRemoteThumbnailUrl(FileDocument remoteDocument)
protected java.lang.String
getStatusXmlTagName()
java.lang.String
getTitle(java.lang.String remoteUri)
boolean
previewWithIFrame(FileDocument remoteDocument)
boolean
previewWithMedia(FileDocument remoteDocument)
-
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyManager
addPolicyFilter, getPolicyFilters, getPolicyFiltersMap, handleException, removePolicyFilter, replacePolicyFilter
-
-
-
-
Method Detail
-
getInstance
public static RemoteDocumentPolicyManager getInstance()
-
getStatusXmlTagName
protected java.lang.String getStatusXmlTagName()
- Specified by:
getStatusXmlTagName
in classAbstractPolicyManager<RemoteDocumentPolicyFilter>
-
getDownloadUrl
public java.lang.String getDownloadUrl(FileDocument remoteDocument)
-
getRemotePreviewUrl
public java.lang.String getRemotePreviewUrl(FileDocument remoteDocument)
-
getRemoteThumbnailUrl
public java.lang.String getRemoteThumbnailUrl(FileDocument remoteDocument)
-
previewWithIFrame
public boolean previewWithIFrame(FileDocument remoteDocument)
-
previewWithMedia
public boolean previewWithMedia(FileDocument remoteDocument)
-
getTitle
public java.lang.String getTitle(java.lang.String remoteUri)
-
getContentType
public java.lang.String getContentType(java.lang.String remoteUri)
-
-