Uses of Class
com.jalios.jcms.FileDocument
-
-
Uses of FileDocument in com.jalios.jcms
Classes in com.jalios.jcms with type parameters of type FileDocument Modifier and Type Class Description static classFileDocument.ContentTypeComparator<T extends FileDocument>static classFileDocument.DimensionsComparator<T extends FileDocument>This comparators compare FileDocuments of image file type according to their dimensions.static classFileDocument.DurationComparator<T extends FileDocument>This comparators compare FileDocuments of audio file type according to their duration.static classFileDocument.SizeComparator<T extends FileDocument>Subclasses of FileDocument in com.jalios.jcms Modifier and Type Class Description classDBFileDocumentFields in com.jalios.jcms with type parameters of type FileDocument Modifier and Type Field Description static java.lang.Class<? extends FileDocument>FileDocument. defaultUploadClassMethods in com.jalios.jcms with type parameters of type FileDocument Modifier and Type Method Description static <T extends FileDocument>
java.util.Comparator<T>FileDocument. getContentTypeComparator()static <T extends FileDocument>
java.util.Comparator<T>FileDocument. getDimensionsComparator()static <T extends FileDocument>
java.util.Comparator<T>FileDocument. getDurationComparator()static <T extends FileDocument>
java.util.Comparator<T>FileDocument. getSizeComparator()Methods in com.jalios.jcms that return FileDocument Modifier and Type Method Description static FileDocumentFileDocument. getFileDocumentFromFile(java.io.File file)Retrieves the first FileDocument bound to the given File.static FileDocumentFileDocument. getFileDocumentFromFilename(java.lang.String filename)Retrieves the first FileDocument bound to the given filename.static FileDocumentDBFileDocument. getInstance(java.lang.String filename)Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument. getInstance(java.lang.String filename, Member author, Workspace ws)Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument. getInstance(java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories)Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument. getInstance(java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories, Member author, Workspace ws)Constructs a FileDocument from an existing file.static FileDocumentFileDocument. getInstance(java.lang.Class<? extends FileDocument> clazz, java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories, Member author, Workspace ws)Constructs a FileDocument from an existing file for the given class.static FileDocumentFileDocument. getInstance(java.lang.String filename)Constructs a FileDocument from an existing file.static FileDocumentFileDocument. getInstance(java.lang.String filename, Member author, Workspace ws)Constructs a FileDocument from an existing file.static FileDocumentFileDocument. getInstance(java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories)Constructs a FileDocument from an existing file.static FileDocumentFileDocument. getInstance(java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories, Member author, Workspace ws)Constructs a FileDocument from an existing file.static FileDocumentJcmsUtil. rotateImageExif(FileDocument imageDoc)Rotates the image based on the EXIF orientation (if needed).Methods in com.jalios.jcms that return types with arguments of type FileDocument Modifier and Type Method Description static java.util.Comparator<FileDocument>FileDocument. getComparator(java.lang.String str, boolean reverse)Deprecated.static java.lang.Class<? extends FileDocument>FileDocument. getDefaultUploadClass()Returns the default document class to use for upload.java.util.Set<FileDocument>Publication. getDocumentLinkSet()Returns all the FileDocument instance (and subclass) targeted by this Publication through its link fields and through wiki and wysiwyg field.static java.lang.Class<? extends FileDocument>FileDocument. getFirstDocumentClassAuthorized(Member member, Workspace workspace)Retrieve the first document class authorized for publication by the specified member.static java.lang.Class<? extends FileDocument>FileDocument. getFirstDocumentClassAuthorized(Member member, Workspace workspace, java.lang.String contentType)Retrieve the first document class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.static java.lang.Class<? extends FileDocument>FileDocument. getFirstDocumentClassAuthorized(Member member, Workspace workspace, java.lang.String contentType, java.util.Map<java.lang.String,?> contextMap)Retrieve the first document class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.static java.util.Set<FileDocument>FileDocument. getLockedDocumentSet(Workspace ws, Member mbr)Returns the set of FileDocument which have a strong lock.static java.lang.Class<? extends FileDocument>FileDocument. getUploadClass(java.lang.String contentType)Returns the FileDocument class to be used for the given contentType or null if no mapping is declared for this content-type.Methods in com.jalios.jcms with parameters of type FileDocument Modifier and Type Method Description static booleanFileDocument. canUploadTracks(FileDocument doc, Member member)Check if this document should allow member to add tracks to it.static longFileDocument. directoryToFileDocuments(java.io.File dir, java.io.FileFilter filter, FileDocument refFileDoc, Member opAuthor, java.util.Map<java.lang.String,? extends java.lang.Object> contextMap)Create FileDocumens from all files in the specified directory (and its sub directory).java.io.FileAssociatedFilesManager. getAssociatedDirectory(FileDocument fileDoc)Returns theFilewhich is the directory in which associated files are storedControllerStatusFileDocument. mergeWith(FileDocument tgtDoc, Member loggedMember)Merges this document with the given the document.static FileDocumentJcmsUtil. rotateImageExif(FileDocument imageDoc)Rotates the image based on the EXIF orientation (if needed).static longFileDocument. unzipToFileDocuments(java.io.File zipFile, java.io.FileFilter filter, FileDocument refFileDoc, Member opAuthor)Unzip the specified File to n new FileDocument.Method parameters in com.jalios.jcms with type arguments of type FileDocument Modifier and Type Method Description static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.lang.String filename)Adds the FileDocument bound to the given filename in the given set.static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.lang.String... filenames)Adds the FileDocuments bound to the given filename array in the given set.static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.lang.String[] filenamesMainLanguage, java.util.Map<java.lang.String,java.lang.String[]> mlMap)Adds the FileDocuments bound to the given array of filename and to the array of filename contains as value of mlMap in the given set.static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.lang.String filenameMainLanguage, java.util.Map<java.lang.String,java.lang.String> mlMap)Adds the FileDocuments bound to the given filename and to the filename contains as value of mlMap in the given set.static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.util.Collection<java.lang.String> filenameColl)Adds the FileDocuments bound to the given filename collection in the given set.static voidJcmsUtil. addFileDocument(java.util.Set<FileDocument> set, java.util.List<java.lang.String> filenamesMainLanguageList, java.util.Map<java.lang.String,java.util.List<java.lang.String>> mlMap)Adds the FileDocuments bound to the given list of filename and to the list of filename contains as value of mlMap in the given set.static FileDocumentFileDocument. getInstance(java.lang.Class<? extends FileDocument> clazz, java.lang.String filename, java.lang.String title, java.lang.String description, Category[] categories, Member author, Workspace ws)Constructs a FileDocument from an existing file for the given class.Constructors in com.jalios.jcms with parameters of type FileDocument Constructor Description AssociatedFileFilter(FileDocument fileDoc)DBFileDocument(FileDocument other)FileDocument(FileDocument other) -
Uses of FileDocument in com.jalios.jcms.calendar
Methods in com.jalios.jcms.calendar that return FileDocument Modifier and Type Method Description abstract FileDocument[]AbstractCalendarEvent. getDocuments()FileDocument[]CalendarEventInterface. getDocuments()Deprecated.Methods in com.jalios.jcms.calendar with parameters of type FileDocument Modifier and Type Method Description abstract voidAbstractCalendarEvent. setDocuments(FileDocument[] v)voidCalendarEventInterface. setDocuments(FileDocument[] v)Deprecated. -
Uses of FileDocument in com.jalios.jcms.document.editor
Methods in com.jalios.jcms.document.editor with parameters of type FileDocument Modifier and Type Method Description booleanDocumentEditor. accept(FileDocument doc, Member mbr)Returns true if the editor accepts the member to edit the document.booleanImageDocumentEditor. accept(FileDocument doc, Member mbr)java.util.List<DocumentEditor>DocumentEditorPolicyManager. filterEditorList(java.util.List<DocumentEditor> editorList, FileDocument doc, Member mbr)default java.lang.StringDocumentEditor. getButtonLabel(java.lang.String lang, FileDocument doc, Member mbr)Return the localized label used for the button (if only this editor is available).java.lang.StringImageDocumentEditor. getButtonLabel(java.lang.String lang, FileDocument doc, Member mbr)java.util.List<DocumentEditor>DocumentEditorManager. getDocumentEditorList(FileDocument doc, Member mbr, java.lang.String lang)Return the list of DocumentEditor available for the given document and the given member.java.lang.StringDocumentEditor. getIcon(FileDocument doc, Member mbr)Returns the 16x16-sized icon of the editor (icon property name without the icon.java.lang.StringImageDocumentEditor. getIcon(FileDocument doc, Member mbr)default java.lang.StringDocumentEditor. getIcon48(FileDocument doc, Member mbr)Returns the 48x48-sized icon of the editor (icon property name without the icon.default java.lang.StringDocumentEditor. getLinkAttributes(java.lang.String lang, FileDocument doc, Member mbr)Returns HTML attributes to add to the link.java.lang.StringImageDocumentEditor. getLinkAttributes(java.lang.String lang, FileDocument doc, Member mbr)default java.lang.StringDocumentEditor. getMenuLabel(java.lang.String lang, FileDocument doc, Member mbr)Return the localized label used in the dropdown menu.java.lang.StringDocumentEditor. getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl)Returns the URL to open the document.default java.lang.StringDocumentEditor. getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl, OpeningMode mode)Returns the URL to open the document.java.lang.StringImageDocumentEditor. getUrl(FileDocument doc, Member mbr, java.lang.String baseUrl) -
Uses of FileDocument in com.jalios.jcms.fileprocessor.test
Methods in com.jalios.jcms.fileprocessor.test that return FileDocument Modifier and Type Method Description protected FileDocumentFileParserTestCase. importFile(java.io.File file)Create a new FileDocument by copying the specified file into JCMS and returning the newly created FileDocument.Methods in com.jalios.jcms.fileprocessor.test with parameters of type FileDocument Modifier and Type Method Description protected voidFileParserTestCase. waitForLuceneIndexation(FileDocument fd)Wait appropriate amount of time before the specified FileDocument is indexed in JCMS. -
Uses of FileDocument in com.jalios.jcms.handler
Fields in com.jalios.jcms.handler declared as FileDocument Modifier and Type Field Description protected FileDocument[]MailEditHandler. attachementsprotected FileDocumentAssociatedPDFUploadHandler. fileDocprotected FileDocumentEditFileDocumentHandler. theContentprotected FileDocumentAssociatedPDFUploadHandler. workingFileDocMethods in com.jalios.jcms.handler that return FileDocument Modifier and Type Method Description FileDocument[]MailEditHandler. getAvailableAttachements()FileDocumentMergeFileDocumentHandler. getAvailableSrcDoc()FileDocumentAssociatedPDFUploadHandler. getFileDocument()Retrieve the FileDocument for which upload is being requestedFileDocumentEditFileDocumentHandler. getFileDocument()FileDocumentJcmsUploadFormHandler. getFileDocument(java.lang.String id, Member member)Returns the file document from its ID.Methods in com.jalios.jcms.handler that return types with arguments of type FileDocument Modifier and Type Method Description java.util.List<java.lang.Class<? extends FileDocument>>EditRemoteDocumentHandler. getDocumentClassList()protected java.lang.Class<? extends FileDocument>JcmsUploadFormHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace)Deprecated.TheJcmsUploadFormHandler.getFileDocumentClass(Class, Member, Workspace, String)method is used directly by theJcmsUploadFormHandler.setFileDocuments(String, String, List)method.protected java.lang.Class<? extends FileDocument>JcmsUploadFormHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace, java.lang.String contentType)Returns the FileDocument Class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.protected java.util.List<? extends FileDocument>JcmsUploadFormHandler. getFileDocuments(java.lang.String fieldName)Returns the file documents from the field name.protected java.util.List<? extends FileDocument>JcmsUploadFormHandler. getFileDocuments(java.lang.String fieldName, java.lang.String lang)Returns the file documents from the field name and the specified language.protected java.util.Map<java.lang.String,java.util.List<? extends FileDocument>>JcmsUploadFormHandler. getFileDocumentsML(java.lang.String fieldName)Returns the file documents from the field name for all the defined languages to the site.java.lang.Class<? extends FileDocument>EditRemoteDocumentHandler. getFirstDocumentClassAuthorized(java.lang.Class<? extends FileDocument> defaultValue)Methods in com.jalios.jcms.handler with parameters of type FileDocument Modifier and Type Method Description protected voidJcmsUploadFormHandler. doPrepareFileDocuments(FileDocument fd, java.lang.String fieldName, java.lang.String language)Prepares the new uploaded file document.static booleanAssociatedPDFUploadHandler. isPDFUploadAuthorized(FileDocument doc)Check if the PDF upload should be proposed for the specified document kind.Method parameters in com.jalios.jcms.handler with type arguments of type FileDocument Modifier and Type Method Description protected booleanJcmsUploadFormHandler. createUploadedFileDocument(java.util.List<? extends FileDocument> fileDocuments, Member author)Performs create on given array of data if it is a FileDocument that have just been uploaded.protected booleanJcmsUploadFormHandler. createUploadedFileDocument(java.util.List<? extends FileDocument> fileDocuments, Member author, java.util.Map<?,?> context)Performs create on given array of data if it is a FileDocument that have just been uploaded.protected booleanJcmsUploadFormHandler. createUploadedFileDocument(java.util.Map<java.lang.String,java.util.List<FileDocument>> fileDocumentsML, Member author)Performs create on given array of data if it is a FileDocument that have just been uploaded.protected booleanJcmsUploadFormHandler. createUploadedFileDocument(java.util.Map<java.lang.String,java.util.List<FileDocument>> fileDocumentsML, Member author, java.util.Map<?,?> context)Performs create on given array of data if it is a FileDocument that have just been uploaded.protected java.lang.Class<? extends FileDocument>JcmsUploadFormHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace)Deprecated.TheJcmsUploadFormHandler.getFileDocumentClass(Class, Member, Workspace, String)method is used directly by theJcmsUploadFormHandler.setFileDocuments(String, String, List)method.protected java.lang.Class<? extends FileDocument>JcmsUploadFormHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace, java.lang.String contentType)Returns the FileDocument Class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.java.lang.Class<? extends FileDocument>EditRemoteDocumentHandler. getFirstDocumentClassAuthorized(java.lang.Class<? extends FileDocument> defaultValue)protected voidJcmsUploadFormHandler. setFileDocuments(java.lang.String fieldName, java.lang.String[] documents, java.lang.Class<? extends FileDocument> clazz)protected voidJcmsUploadFormHandler. setFileDocuments(java.lang.String fieldName, java.lang.String userLang, java.lang.String[] documents, java.lang.Class<? extends FileDocument> clazz)protected voidJcmsUploadFormHandler. setFileDocumentsML(java.lang.String fieldName, java.lang.String[] documents, java.lang.Class<? extends FileDocument> clazz)protected booleanJcmsUploadFormHandler. validateUploadedFileDocument(java.util.List<? extends FileDocument> fileDocuments, Member author)Validates the specified fileDocuments to upload.protected booleanJcmsUploadFormHandler. validateUploadedFileDocument(java.util.Map<java.lang.String,java.util.List<FileDocument>> fileDocumentsML, Member author)Validates the specified fileDocuments to upload. -
Uses of FileDocument in com.jalios.jcms.handler.pubchooser
Methods in com.jalios.jcms.handler.pubchooser that return FileDocument Modifier and Type Method Description FileDocumentPubChooserActionHandler. getAvailableFileDocument()Methods in com.jalios.jcms.handler.pubchooser that return types with arguments of type FileDocument Modifier and Type Method Description protected java.lang.Class<? extends FileDocument>PubChooserActionHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace)protected java.lang.Class<? extends FileDocument>PubChooserActionHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace, java.lang.String contentType)Method parameters in com.jalios.jcms.handler.pubchooser with type arguments of type FileDocument Modifier and Type Method Description protected java.lang.Class<? extends FileDocument>PubChooserActionHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace)protected java.lang.Class<? extends FileDocument>PubChooserActionHandler. getFileDocumentClass(java.lang.Class<? extends FileDocument> clazz, Member member, Workspace workspace, java.lang.String contentType) -
Uses of FileDocument in com.jalios.jcms.mail
Methods in com.jalios.jcms.mail that return types with arguments of type FileDocument Modifier and Type Method Description java.util.Set<FileDocument>MailMessage. getAttachements()java.util.Set<FileDocument>MailMessage. getAttachements(boolean b)Methods in com.jalios.jcms.mail with parameters of type FileDocument Modifier and Type Method Description MailMessageMailMessage. addAttachements(FileDocument v)Method parameters in com.jalios.jcms.mail with type arguments of type FileDocument Modifier and Type Method Description MailMessageMailMessage. addAttachements(java.util.Set<FileDocument> v)voidMailMessage. setAttachements(java.util.Set<FileDocument> v) -
Uses of FileDocument in com.jalios.jcms.mashup
Methods in com.jalios.jcms.mashup with parameters of type FileDocument Modifier and Type Method Description static java.lang.StringExportUtil. exportFile(int indentLevel, java.lang.String fieldName, FileDocument doc)Returns a XML representation of a FileDocument.static java.lang.StringExportUtil. exportFile(int indentLevel, java.lang.String fieldName, FileDocument[] docs)Returns a XML representation of an array of FileDocument. -
Uses of FileDocument in com.jalios.jcms.media
Subclasses of FileDocument in com.jalios.jcms.media Modifier and Type Class Description classAbstractMediaFields in com.jalios.jcms.media declared as FileDocument Modifier and Type Field Description protected FileDocumentEditImageHandler. fdprotected FileDocumentMediaTracksHandler. mediaMethods in com.jalios.jcms.media that return FileDocument Modifier and Type Method Description FileDocumentTemplateInitialisationHandler. getFileDoc()FileDocumentEditImageHandler. getFileDocument()FileDocumentMediaTracksHandler. getMedia()Retrieve the FileDocument for which upload is being requestedMethods in com.jalios.jcms.media that return types with arguments of type FileDocument Modifier and Type Method Description java.util.Set<java.lang.Class<? extends FileDocument>>MediaBrowserHandler. getTypeSet()Returns the Set of document type that can used in the given workspace by the given member.Methods in com.jalios.jcms.media with parameters of type FileDocument Modifier and Type Method Description voidMediaProgressionManager. completeMediaProgression(FileDocument fileDocument, Member member)Complete a media progression (set "completed" flag to true)voidMediaProgressionManager. deleteAllMediaProgression(FileDocument fileDocument)Delete all media progressionvoidMediaProgressionManager. deleteMediaProgression(FileDocument fileDocument, Member member)Delete a media progressionMediaProgressionMediaProgressionManager. getMediaProgression(FileDocument fileDocument, Member member)Retrieve a media progression associated to a givenFileDocumentandMemberstatic booleanMediaTracksHandler. isMediaTrackAuthorized(FileDocument doc)Check if the Media track update can be proposed for the specified document.MediaProgressionMediaProgressionManager. saveMediaProgression(FileDocument fileDocument, Member member, int progression)Save a media progressionMediaProgressionMediaProgressionManager. saveMediaProgression(FileDocument fileDocument, Member member, int progression, java.util.Map<?,?> context)Save a media progressionConstructors in com.jalios.jcms.media with parameters of type FileDocument Constructor Description AbstractMedia(FileDocument other) -
Uses of FileDocument in com.jalios.jcms.policy
Methods in com.jalios.jcms.policy with parameters of type FileDocument Modifier and Type Method Description booleanBasicThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, boolean done)booleanBasicThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean done)booleanBasicThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)booleanDefaultThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)Deprecated.booleanThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)This method is a hook called by Thumbnail tag to generate a thumbnail of the given FileDocument.java.util.List<DocumentEditor>DocumentEditorPolicyFilter. filterEditorList(java.util.List<DocumentEditor> editorList, FileDocument doc, Member mbr)Filter the DocumentEditorsjava.lang.StringBasicRemoteDocumentPolicyFilter. getDownloadUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyFilter. getDownloadUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyManager. getDownloadUrl(FileDocument remoteDocument)java.lang.StringBasicRemoteDocumentPolicyFilter. getRemotePreviewUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyFilter. getRemotePreviewUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyManager. getRemotePreviewUrl(FileDocument remoteDocument)java.lang.StringBasicRemoteDocumentPolicyFilter. getRemoteThumbnailUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyFilter. getRemoteThumbnailUrl(FileDocument remoteDocument)java.lang.StringRemoteDocumentPolicyManager. getRemoteThumbnailUrl(FileDocument remoteDocument)booleanBasicRemoteDocumentPolicyFilter. previewWithIFrame(FileDocument remoteDocument)booleanRemoteDocumentPolicyFilter. previewWithIFrame(FileDocument remoteDocument)booleanRemoteDocumentPolicyManager. previewWithIFrame(FileDocument remoteDocument)booleanBasicRemoteDocumentPolicyFilter. previewWithMedia(FileDocument remoteDocument)booleanRemoteDocumentPolicyFilter. previewWithMedia(FileDocument remoteDocument)booleanRemoteDocumentPolicyManager. previewWithMedia(FileDocument remoteDocument)booleanBasicThumbnailPolicyFilter. supportsThumbnail(FileDocument doc, boolean jcms)booleanDefaultThumbnailPolicyFilter. supportsThumbnail(FileDocument doc)Deprecated.booleanThumbnailPolicyFilter. supportsThumbnail(FileDocument doc, boolean jcms)Returns true if a thumbnail can be generated for the given document. -
Uses of FileDocument in com.jalios.jcms.publiclink
Fields in com.jalios.jcms.publiclink with type parameters of type FileDocument Modifier and Type Field Description protected java.util.List<FileDocument>PublicLink. docListMethods in com.jalios.jcms.publiclink that return types with arguments of type FileDocument Modifier and Type Method Description java.util.List<FileDocument>EditPublicLinkHandler. getAvailableDocList()java.util.List<FileDocument>PublicLink. getDocList()java.util.List<FileDocument>PublicLink. getDocList(boolean modifiable)Methods in com.jalios.jcms.publiclink with parameters of type FileDocument Modifier and Type Method Description PublicLinkQueryBuilderPublicLinkQueryBuilder. document(FileDocument doc)voidPublicLinkManager. processDocumentDeletion(FileDocument doc, Member opAuthor)Delete or update PublicLink when a document is deletedMethod parameters in com.jalios.jcms.publiclink with type arguments of type FileDocument Modifier and Type Method Description voidPublicLink. setDocList(java.util.List<FileDocument> v) -
Uses of FileDocument in com.jalios.jcms.quota
Methods in com.jalios.jcms.quota with parameters of type FileDocument Modifier and Type Method Description voidQuotaManager. addDocumentToVersionCache(FileDocument fileDoc)Add the current filename of the specified FileDocument to the cache.voidQuotaManager. addDocumentVersionToVersionCache(FileDocument oldFileDoc, FileDocument fileDoc)Add the current filename of the new FileDocument version to the cache.voidQuotaManager. deleteDocumentFromVersionCache(FileDocument fileDoc)Remove filename of the specified FileDocument from the cache.java.util.List<java.lang.String>QuotaManager. getCachedVersionList(FileDocument fileDoc)Retrieve all filename previously cached for the specified FileDocument.static FileQuotaInfosQuotaManager. getFileQuotaInfos(FileDocument fileDoc)voidQuotaManager. updateAfterFileDocumentChange(FileDocument fileDoc)update quota after a filedocument changevoidQuotaManager. updateAfterFileDocumentDelete(FileDocument fileDoc)update quota after a filedocument change -
Uses of FileDocument in com.jalios.jcms.taglib
Fields in com.jalios.jcms.taglib declared as FileDocument Modifier and Type Field Description protected FileDocumentFileWebdavTag. docMethods in com.jalios.jcms.taglib with parameters of type FileDocument Modifier and Type Method Description static java.io.FileThumbnailTag. createThumbnail(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight)static java.io.FileThumbnailTag. createThumbnail(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background)Create a thumbnail using the first valid source from FileDocument, File or URL using given dimensions.static java.io.FileThumbnailTag. createThumbnail(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square)Create a thumbnail using the first valid source from FileDocument, File or URL using given dimensions.static booleanThumbnailTag. createThumbnailNow(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight, java.io.File destFile)static booleanThumbnailTag. createThumbnailNow(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight, java.io.File destFile, java.lang.String background)This method create a thumbnail of one of the three source given using the options passed as parameters ("now" as opposed to generation when going through ajax}.static booleanThumbnailTag. createThumbnailNow(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, ImageFormat format, int maxWidth, int maxHeight, java.io.File destFile, java.lang.String background, boolean square)This method create a thumbnail of one of the three source given using the options passed as parameters ("now" as opposed to generation when going through ajax}.static java.io.FileThumbnailTag. getThumbnailFile(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, int maxWidth, int maxHeight)Gets the File to use for a thumbnail of the given FileDocument, File or URL using given dimensions.static java.io.FileThumbnailTag. getThumbnailFile(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, int maxWidth, int maxHeight, boolean square)Gets the File to use for a thumbnail of the given FileDocument, File or URL using given dimensions.static java.io.FileThumbnailTag. getThumbnailFile(FileDocument fileDoc, java.io.File srcFile, java.net.URL url, int maxWidth, int maxHeight, boolean square, java.lang.String extension)Gets the File to use for a thumbnail of the given FileDocument, File or URL using given dimensions.static voidThumbnailTag. invalidateCacheAttemptThumbnail(FileDocument fileDoc, java.io.File srcFile, java.net.URL url)Invalidates the cache of failure while attempt to create a thumbnail for the given parameter.voidFileWebdavTag.Webdav. printDownloadIcon(java.lang.StringBuffer sb, FileDocument doc)Prints a download link for the specified FileDocument.voidFileWebdavTag.Webdav. printWebdavFileIcon(java.lang.StringBuffer sb, FileDocument doc)Check Webdav rights then print a Webdav edit iconvoidFileWebdavTag.Webdav. printWebdavFileIcon(java.lang.StringBuffer sb, FileDocument doc, boolean checkRights)A convenient method to generate Webdav FileIcon without checking rightsvoidFileWebdavTag.Webdav. printWebdavFolderIcon(java.lang.StringBuffer sb, FileDocument doc)Print the Webdav Folder Icon for the first valid parent folder of the specified Document.voidFileIconTag. setDoc(FileDocument doc)voidFileSizeTag. setDoc(FileDocument doc)voidFileWebdavTag. setDoc(FileDocument doc)This method set the FileDocument to open with webdavvoidPdfTag. setDoc(FileDocument doc)voidMediaTag. setFileDoc(FileDocument fileDoc)voidThumbnailTag. setFileDoc(FileDocument fd) -
Uses of FileDocument in com.jalios.jcms.test
Methods in com.jalios.jcms.test that return FileDocument Modifier and Type Method Description static FileDocumentJcmsTestCaseUtil. createFileDocument(Member writer, Workspace ws, java.lang.String title, java.lang.String filename)static FileDocumentJcmsTestCaseUtil. getFileDocument(Member writer, Workspace ws, java.lang.String title, java.lang.String filename) -
Uses of FileDocument in com.jalios.jcms.thumbnail
Methods in com.jalios.jcms.thumbnail with parameters of type FileDocument Modifier and Type Method Description abstract booleanAbstractThumbnailPolicyFilterImpl. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)booleanDefaultImageThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)booleanDefaultOpenOfficeThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)booleanDefaultOpenXmlThumbnailPolicyFilter. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square, boolean done)booleanThumbnailPolicyManager. createThumbnail(FileDocument doc, java.io.File dest, ImageFormat format, int maxWidth, int maxHeight, java.lang.String background, boolean square)booleanAbstractThumbnailPolicyFilterImpl. supportsThumbnail(FileDocument doc)booleanThumbnailPolicyManager. supportsThumbnail(FileDocument doc, boolean jcms) -
Uses of FileDocument in com.jalios.jcms.uicomponent
Methods in com.jalios.jcms.uicomponent with parameters of type FileDocument Modifier and Type Method Description static java.lang.StringLightboxUtils. getGlobalContentType(FileDocument doc)static DataAttributeLightboxUtils. getImageDataAttribute(FileDocument doc, java.lang.String userLang, java.util.Locale locale, Member mbr, boolean generateThumbnail)Returns aDataAttributecontaining all required parameters for javascript for lightbox / image editorstatic java.lang.StringLightboxUtils. getLightboxActionLabel(java.lang.String userLang, java.lang.String propPrefix, FileDocument document) -
Uses of FileDocument in com.jalios.jcms.uicomponent.image
Methods in com.jalios.jcms.uicomponent.image with parameters of type FileDocument Modifier and Type Method Description voidDefaultResponsiveImageRenderer. render(org.jsoup.nodes.Element img, FileDocument fileDoc, int uiWidth, int uiHeight)An empty implementation.voidResponsiveImageRenderer. render(org.jsoup.nodes.Element img, FileDocument fileDoc, int mediaTagWidth, int mediaTagHeight) -
Uses of FileDocument in com.jalios.jcms.uicomponent.image.editor
Methods in com.jalios.jcms.uicomponent.image.editor with parameters of type FileDocument Modifier and Type Method Description booleanImageEditorManager. canModifyDocument(FileDocument doc, Member mbr)DataAttributeImageEditorManager. getImageEditorContextDataAttributes(FileDocument fileDocument)Returns aDataAttributefor a givenFileDocumentfor the javascript libraryConstructors in com.jalios.jcms.uicomponent.image.editor with parameters of type FileDocument Constructor Description ImageEditorContext(FileDocument document) -
Uses of FileDocument in com.jalios.jcms.upload
Fields in com.jalios.jcms.upload declared as FileDocument Modifier and Type Field Description protected FileDocumentDocUploadHandler. documentstatic FileDocumentDocUploadInfo. INVALID_DOCUMENTMethods in com.jalios.jcms.upload that return FileDocument Modifier and Type Method Description static FileDocumentDocUploadHandler. doUploadDocument(DocUploadInfo info, FileDocument document, java.util.function.Consumer<FileDocument> updateBlock, java.util.function.BiConsumer<FileDocument,FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, java.lang.String userLang, java.util.HashMap<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> controllerFailedMap, java.util.List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList)FileDocumentDocUploadHandler. getAvailableFileDocument()FileDocument[]DocUploadHandler. getAvailableFileDocuments()FileDocumentDocUploadInfo. getFileDocument()Returns an instance of FileDocument build from current upload infos.FileDocumentDocUploadInfo. getFileDocument(java.lang.Class clazz)Returns an instance of FileDocument build from current upload infos.Methods in com.jalios.jcms.upload that return types with arguments of type FileDocument Modifier and Type Method Description java.lang.Class<? extends FileDocument>DocUploadHandler. getAvailableType()static java.lang.Class<? extends FileDocument>DocUploadHandler. getFirstDocumentClassAuthorized(Member member, Workspace workspace, java.lang.Class<? extends FileDocument> defaultValue)java.lang.Class<? extends FileDocument>FileUploadOptions. getPreferredClass()java.lang.Class<? extends FileDocument>DocUploadHandler. getSelectedDocumentClass(DocUploadInfo info)Methods in com.jalios.jcms.upload with parameters of type FileDocument Modifier and Type Method Description static FileDocumentDocUploadHandler. doUploadDocument(DocUploadInfo info, FileDocument document, java.util.function.Consumer<FileDocument> updateBlock, java.util.function.BiConsumer<FileDocument,FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, java.lang.String userLang, java.util.HashMap<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> controllerFailedMap, java.util.List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList)Method parameters in com.jalios.jcms.upload with type arguments of type FileDocument Modifier and Type Method Description static FileDocumentDocUploadHandler. doUploadDocument(DocUploadInfo info, FileDocument document, java.util.function.Consumer<FileDocument> updateBlock, java.util.function.BiConsumer<FileDocument,FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, java.lang.String userLang, java.util.HashMap<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> controllerFailedMap, java.util.List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList)static FileDocumentDocUploadHandler. doUploadDocument(DocUploadInfo info, FileDocument document, java.util.function.Consumer<FileDocument> updateBlock, java.util.function.BiConsumer<FileDocument,FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, java.lang.String userLang, java.util.HashMap<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> controllerFailedMap, java.util.List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList)static FileDocumentDocUploadHandler. doUploadDocument(DocUploadInfo info, FileDocument document, java.util.function.Consumer<FileDocument> updateBlock, java.util.function.BiConsumer<FileDocument,FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, java.lang.String userLang, java.util.HashMap<java.lang.String,java.lang.Object> context, java.util.Map<java.lang.String,java.lang.String> controllerFailedMap, java.util.List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList)static java.lang.Class<? extends FileDocument>DocUploadHandler. getFirstDocumentClassAuthorized(Member member, Workspace workspace, java.lang.Class<? extends FileDocument> defaultValue)FileUploadOptionsFileUploadOptions. setPreferredClass(java.lang.Class<? extends FileDocument> preferredClass)Set the FileDocument class to preferred for upload if enabled and authorized.Constructors in com.jalios.jcms.upload with parameters of type FileDocument Constructor Description DocUploadInfo(FileDocument fd)Convenient constructor to call method checkPermission() from a given existing FileDocument -
Uses of FileDocument in com.jalios.jcms.webdav.cat
Methods in com.jalios.jcms.webdav.cat with parameters of type FileDocument Modifier and Type Method Description static java.lang.StringCatWebdavUtil. getParentPath(FileDocument doc)Retrieve the WebDav path of the first valid parent folder of the specified FileDocument.static java.lang.StringCatWebdavUtil. getPath(FileDocument doc)Retrieve the WebDav path of the specified FileDocument.static booleanCatWebdavUtil. isWebdavEditable(FileDocument doc)Check if the specified document can be edited through WebDAV.static booleanCatWebdavUtil. isWebdavEditable(FileDocument doc, Member mbr)Check if the specified document can be edited through WebDAV by the specified member. -
Uses of FileDocument in com.jalios.jcms.wysiwyg
Methods in com.jalios.jcms.wysiwyg that return types with arguments of type FileDocument Modifier and Type Method Description static java.util.Set<FileDocument>WysiwygMediasRewriter. extractMedias(java.lang.String html)Find all the "object" tags in the specified html and extract the corresponding FileDocument.Methods in com.jalios.jcms.wysiwyg with parameters of type FileDocument Modifier and Type Method Description protected voidWysiwygManager. addResponsiveImageAttributes(org.jsoup.nodes.Element img, FileDocument fileDoc, int mediaTagWidth, int mediaTagHeight)Adds srcset HTML image tag attribute to allow client side browser to use the more relevant image regarding client viewport. -
Uses of FileDocument in com.jalios.jcms.wysiwyg.image
Methods in com.jalios.jcms.wysiwyg.image with parameters of type FileDocument Modifier and Type Method Description voidWysiwygResponsiveImageRenderer. render(org.jsoup.nodes.Element img, FileDocument fileDoc, int uiWidth, int uiHeight)
-