Uses of Class
com.jalios.jcms.FileDocument
Packages that use FileDocument
Package
Description
Contains the core JPlatform classes.
Contains the classes used to deal with calendar in JPlatform.
Contains the javabean classes uses to process HTTP request (aka form handlers).
Contains classes used for data Import/Export.
Contains all the classes to provide the Media Browser.
Provides many of the classes used for JPlatform jsp tags.
-
Uses of FileDocument in com.jalios.jcms
Classes in com.jalios.jcms with type parameters of type FileDocumentModifier and TypeClassDescriptionstatic 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>static classFileDocument.UploadDateComparator<T extends FileDocument>This comparators compare FileDocuments with their uploadDate.Subclasses of FileDocument in com.jalios.jcmsFields in com.jalios.jcms with type parameters of type FileDocumentModifier and TypeFieldDescriptionstatic Class<? extends FileDocument> FileDocument.defaultUploadClassMethods in com.jalios.jcms with type parameters of type FileDocumentModifier and TypeMethodDescriptionstatic <T extends FileDocument>
Comparator<T> FileDocument.getContentTypeComparator()static <T extends FileDocument>
Comparator<T> FileDocument.getDimensionsComparator()static <T extends FileDocument>
Comparator<T> FileDocument.getDurationComparator()static <T extends FileDocument>
Comparator<T> FileDocument.getSizeComparator()static <T extends FileDocument>
Comparator<T> FileDocument.getUploadDateComparator()Methods in com.jalios.jcms that return FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentFileDocument.getFileDocumentFromFile(File file) Retrieves the first FileDocument bound to the given File.static FileDocumentFileDocument.getFileDocumentFromFilename(String filename) Retrieves the first FileDocument bound to the given filename.static FileDocumentDBFileDocument.getInstance(String filename) Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument.getInstance(String filename, Member author, Workspace ws) Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument.getInstance(String filename, String title, String description, Category[] categories) Constructs a FileDocument from an existing file.static FileDocumentDBFileDocument.getInstance(String filename, String title, String description, Category[] categories, Member author, Workspace ws) Constructs a FileDocument from an existing file.static FileDocumentFileDocument.getInstance(Class<? extends FileDocument> clazz, String filename, String title, String description, Category[] categories, Member author, Workspace ws) Constructs a FileDocument from an existing file for the given class.static FileDocumentFileDocument.getInstance(String filename) Constructs a FileDocument from an existing file.static FileDocumentFileDocument.getInstance(String filename, Member author, Workspace ws) Constructs a FileDocument from an existing file.static FileDocumentFileDocument.getInstance(String filename, String title, String description, Category[] categories) Constructs a FileDocument from an existing file.static FileDocumentFileDocument.getInstance(String filename, String title, String description, Category[] categories, Member author, Workspace ws) Constructs a FileDocument from an existing file.static FileDocumentJcmsUtil.rotateImageExif(FileDocument imageDoc) Deprecated, for removal: This API element is subject to removal in a future version.since JCMS-11662 as this method behavior was incorrected and should have been privateMethods in com.jalios.jcms that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionstatic Comparator<FileDocument> FileDocument.getComparator(String str, boolean reverse) Deprecated.static Class<? extends FileDocument> FileDocument.getDefaultUploadClass()Returns the default document class to use for upload.Publication.getDocumentLinkSet()Returns all the FileDocument instance (and subclass) targeted by this Publication through its link fields and through wiki and wysiwyg field.static Class<? extends FileDocument> FileDocument.getFirstDocumentClassAuthorized(Member member, Workspace workspace) Retrieve the first document class authorized for publication by the specified member.static Class<? extends FileDocument> FileDocument.getFirstDocumentClassAuthorized(Member member, Workspace workspace, String contentType) Retrieve the first document class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.static Class<? extends FileDocument> FileDocument.getFirstDocumentClassAuthorized(Member member, Workspace workspace, String contentType, Map<String, ?> contextMap) Retrieve the first document class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.static Set<FileDocument> FileDocument.getLockedDocumentSet(Workspace ws, Member mbr) Returns the set of FileDocument which have a strong lock.static Class<? extends FileDocument> FileDocument.getUploadClass(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 FileDocumentModifier and TypeMethodDescriptionstatic booleanFileDocument.canUploadTracks(FileDocument doc, Member member) Check if this document should allow member to add tracks to it.static longFileDocument.directoryToFileDocuments(File dir, FileFilter filter, FileDocument refFileDoc, Member opAuthor, Map<String, ? extends Object> contextMap) Create FileDocumens from all files in the specified directory (and its sub directory).AssociatedFilesManager.getAssociatedDirectory(FileDocument fileDoc) Returns theFilewhich is the directory in which associated files are storedFileDocument.mergeWith(FileDocument tgtDoc, Member loggedMember) Merges this document with the given the document.static FileDocumentJcmsUtil.rotateImageExif(FileDocument imageDoc) Deprecated, for removal: This API element is subject to removal in a future version.since JCMS-11662 as this method behavior was incorrected and should have been privatestatic longFileDocument.unzipToFileDocuments(File zipFile, 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 FileDocumentModifier and TypeMethodDescriptionstatic voidJcmsUtil.addFileDocument(Set<FileDocument> set, String filename) Adds the FileDocument bound to the given filename in the given set.static voidJcmsUtil.addFileDocument(Set<FileDocument> set, String... filenames) Adds the FileDocuments bound to the given filename array in the given set.static voidJcmsUtil.addFileDocument(Set<FileDocument> set, String[] filenamesMainLanguage, Map<String, 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(Set<FileDocument> set, String filenameMainLanguage, Map<String, 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(Set<FileDocument> set, Collection<String> filenameColl) Adds the FileDocuments bound to the given filename collection in the given set.static voidJcmsUtil.addFileDocument(Set<FileDocument> set, List<String> filenamesMainLanguageList, Map<String, List<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(Class<? extends FileDocument> clazz, String filename, String title, 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 FileDocumentModifierConstructorDescriptionAssociatedFileFilter(FileDocument fileDoc) DBFileDocument(FileDocument other) FileDocument(FileDocument other) -
Uses of FileDocument in com.jalios.jcms.calendar
Methods in com.jalios.jcms.calendar that return FileDocumentModifier and TypeMethodDescriptionabstract FileDocument[]AbstractCalendarEvent.getDocuments()CalendarEventInterface.getDocuments()Deprecated.Methods in com.jalios.jcms.calendar with parameters of type FileDocumentModifier and TypeMethodDescriptionabstract voidAbstractCalendarEvent.setDocuments(FileDocument[] v) voidCalendarEventInterface.setDocuments(FileDocument[] v) Deprecated. -
Uses of FileDocument in com.jalios.jcms.document
Methods in com.jalios.jcms.document with parameters of type FileDocumentModifier and TypeMethodDescriptionstatic booleanAssociatedPDFManager.isPDFUploadAuthorized(FileDocument doc) Check if the PDF upload should be proposed for the specified document kind.Constructors in com.jalios.jcms.document with parameters of type FileDocumentModifierConstructorDescriptionPDFUploadContext(FileDocument fileDoc, File pdfFile, Member author, String userLang) -
Uses of FileDocument in com.jalios.jcms.document.editor
Methods in com.jalios.jcms.document.editor with parameters of type FileDocumentModifier and TypeMethodDescriptionbooleanDocumentEditor.accept(FileDocument doc, Member mbr) Returns true if the editor accepts the member to edit the document.default booleanDocumentEditor.accept(FileDocument doc, Member mbr, OpeningMode openingMode) Returns true if the editor accepts the member to edit the document.booleanImageDocumentEditor.accept(FileDocument doc, Member mbr) DocumentEditorPolicyManager.filterEditorList(List<DocumentEditor> editorList, FileDocument doc, Member mbr) default StringDocumentEditor.getButtonLabel(String lang, FileDocument doc, Member mbr) Return the localized label used for the button (if only this editor is available).ImageDocumentEditor.getButtonLabel(String lang, FileDocument doc, Member mbr) DocumentEditorManager.getDocumentEditorList(FileDocument doc, Member mbr, String lang) DocumentEditorManager.getDocumentEditorList(FileDocument doc, Member mbr, String lang, OpeningMode openingMode) Return the list of DocumentEditor available for the given document and the given member.DocumentEditor.getIcon(FileDocument doc, Member mbr) Returns the 16x16-sized icon of the editor (icon property name without the icon.ImageDocumentEditor.getIcon(FileDocument doc, Member mbr) default StringDocumentEditor.getIcon48(FileDocument doc, Member mbr) Returns the 48x48-sized icon of the editor (icon property name without the icon.default StringDocumentEditor.getLinkAttributes(String lang, FileDocument doc, Member mbr) Returns HTML attributes to add to the link.ImageDocumentEditor.getLinkAttributes(String lang, FileDocument doc, Member mbr) default StringDocumentEditor.getMenuLabel(String lang, FileDocument doc, Member mbr) Return the localized label used in the dropdown menu.default StringDocumentEditor.getMenuLabel(String lang, FileDocument doc, Member mbr, OpeningMode openingMode) Return the localized label used in the dropdown menu.DocumentEditor.getUrl(FileDocument doc, Member mbr, String baseUrl) Returns the URL to open the document.default StringDocumentEditor.getUrl(FileDocument doc, Member mbr, String baseUrl, OpeningMode openingMode) Returns the URL to open the document.ImageDocumentEditor.getUrl(FileDocument doc, Member mbr, String baseUrl) -
Uses of FileDocument in com.jalios.jcms.fileprocessor.test
Methods in com.jalios.jcms.fileprocessor.test that return FileDocumentModifier and TypeMethodDescriptionprotected FileDocumentFileParserTestCase.importFile(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 FileDocumentModifier and TypeMethodDescriptionprotected 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 FileDocumentModifier and TypeFieldDescriptionprotected FileDocument[]MailEditHandler.attachementsprotected FileDocumentAssociatedPDFUploadHandler.fileDocprotected FileDocumentEditFileDocumentHandler.theContentprotected FileDocumentAssociatedPDFUploadHandler.workingFileDocMethods in com.jalios.jcms.handler that return FileDocumentModifier and TypeMethodDescriptionMailEditHandler.getAvailableAttachements()MergeFileDocumentHandler.getAvailableSrcDoc()AssociatedPDFUploadHandler.getFileDocument()Retrieve the FileDocument for which upload is being requestedEditFileDocumentHandler.getFileDocument()JcmsUploadFormHandler.getFileDocument(String id, Member member) Returns the file document from its ID.Methods in com.jalios.jcms.handler that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionList<Class<? extends FileDocument>> EditRemoteDocumentHandler.getDocumentClassList()protected Class<? extends FileDocument> JcmsUploadFormHandler.getFileDocumentClass(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 Class<? extends FileDocument> JcmsUploadFormHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace, String contentType) Returns the FileDocument Class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.protected List<? extends FileDocument> JcmsUploadFormHandler.getFileDocuments(String fieldName) Returns the file documents from the field name.protected List<? extends FileDocument> JcmsUploadFormHandler.getFileDocuments(String fieldName, String lang) Returns the file documents from the field name and the specified language.protected Map<String, List<? extends FileDocument>> JcmsUploadFormHandler.getFileDocumentsML(String fieldName) Returns the file documents from the field name for all the defined languages to the site.Class<? extends FileDocument> EditRemoteDocumentHandler.getFirstDocumentClassAuthorized(Class<? extends FileDocument> defaultValue) Methods in com.jalios.jcms.handler with parameters of type FileDocumentModifier and TypeMethodDescriptionprotected voidJcmsUploadFormHandler.doPrepareFileDocuments(FileDocument fd, String fieldName, 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 FileDocumentModifier and TypeMethodDescriptionprotected booleanJcmsUploadFormHandler.createUploadedFileDocument(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(List<? extends FileDocument> fileDocuments, Member author, Map<?, ?> context) Performs create on given array of data if it is a FileDocument that have just been uploaded.protected booleanJcmsUploadFormHandler.createUploadedFileDocument(Map<String, 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(Map<String, List<FileDocument>> fileDocumentsML, Member author, Map<?, ?> context) Performs create on given array of data if it is a FileDocument that have just been uploaded.protected Class<? extends FileDocument> JcmsUploadFormHandler.getFileDocumentClass(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 Class<? extends FileDocument> JcmsUploadFormHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace, String contentType) Returns the FileDocument Class authorized for publication by the specified member and workspace, and the most relevant regarding specified contentType.Class<? extends FileDocument> EditRemoteDocumentHandler.getFirstDocumentClassAuthorized(Class<? extends FileDocument> defaultValue) protected voidJcmsUploadFormHandler.setFileDocuments(String fieldName, String[] documents, Class<? extends FileDocument> clazz) protected voidJcmsUploadFormHandler.setFileDocuments(String fieldName, String userLang, String[] documents, Class<? extends FileDocument> clazz) protected voidJcmsUploadFormHandler.setFileDocumentsML(String fieldName, String[] documents, Class<? extends FileDocument> clazz) protected booleanJcmsUploadFormHandler.validateUploadedFileDocument(List<? extends FileDocument> fileDocuments, Member author) Validates the specified fileDocuments to upload.protected booleanJcmsUploadFormHandler.validateUploadedFileDocument(Map<String, List<FileDocument>> fileDocumentsML, Member author) Validates the specified fileDocuments to upload. -
Uses of FileDocument in com.jalios.jcms.handler.display
Fields in com.jalios.jcms.handler.display declared as FileDocumentModifier and TypeFieldDescriptionprotected FileDocumentFileDocumentFullDisplayHandler.fileDocumentMethods in com.jalios.jcms.handler.display that return FileDocument -
Uses of FileDocument in com.jalios.jcms.handler.pubchooser
Methods in com.jalios.jcms.handler.pubchooser that return FileDocumentMethods in com.jalios.jcms.handler.pubchooser that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionprotected Class<? extends FileDocument> PubChooserActionHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace) protected Class<? extends FileDocument> PubChooserActionHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace, String contentType) Method parameters in com.jalios.jcms.handler.pubchooser with type arguments of type FileDocumentModifier and TypeMethodDescriptionprotected Class<? extends FileDocument> PubChooserActionHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace) protected Class<? extends FileDocument> PubChooserActionHandler.getFileDocumentClass(Class<? extends FileDocument> clazz, Member member, Workspace workspace, String contentType) -
Uses of FileDocument in com.jalios.jcms.mail
Methods in com.jalios.jcms.mail that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionMailMessage.getAttachements()MailMessage.getAttachements(boolean b) Methods in com.jalios.jcms.mail with parameters of type FileDocumentMethod parameters in com.jalios.jcms.mail with type arguments of type FileDocumentModifier and TypeMethodDescriptionMailMessage.addAttachements(Set<FileDocument> v) voidMailMessage.setAttachements(Set<FileDocument> v) -
Uses of FileDocument in com.jalios.jcms.mashup
Methods in com.jalios.jcms.mashup with parameters of type FileDocumentModifier and TypeMethodDescriptionstatic StringExportUtil.exportFile(int indentLevel, String fieldName, FileDocument doc) Returns a XML representation of a FileDocument.static StringExportUtil.exportFile(int indentLevel, 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.mediaFields in com.jalios.jcms.media declared as FileDocumentModifier and TypeFieldDescriptionprotected FileDocumentEditImageHandler.fdprotected FileDocumentMediaTracksHandler.mediaMethods in com.jalios.jcms.media that return FileDocumentModifier and TypeMethodDescriptionTemplateInitialisationHandler.getFileDoc()EditImageHandler.getFileDocument()MediaTracksHandler.getMedia()Retrieve the FileDocument for which upload is being requestedMethods in com.jalios.jcms.media that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionSet<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 FileDocumentModifier and TypeMethodDescriptionvoidMediaProgressionManager.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 progressionMediaProgressionManager.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.MediaProgressionManager.saveMediaProgression(FileDocument fileDocument, Member member, int progression) Save a media progressionMediaProgressionManager.saveMediaProgression(FileDocument fileDocument, Member member, int progression, Map<?, ?> context) Save a media progressionConstructors in com.jalios.jcms.media with parameters of type FileDocument -
Uses of FileDocument in com.jalios.jcms.policy
Methods in com.jalios.jcms.policy with parameters of type FileDocumentModifier and TypeMethodDescriptionbooleanBasicThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, boolean done) booleanBasicThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean done) booleanBasicThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) booleanDefaultThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) Deprecated.booleanThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) This method is a hook called by Thumbnail tag to generate a thumbnail of the given FileDocument.DocumentEditorPolicyFilter.filterEditorList(List<DocumentEditor> editorList, FileDocument doc, Member mbr) Filter the DocumentEditorsBasicRemoteDocumentPolicyFilter.getDownloadUrl(FileDocument remoteDocument) RemoteDocumentPolicyFilter.getDownloadUrl(FileDocument remoteDocument) RemoteDocumentPolicyManager.getDownloadUrl(FileDocument remoteDocument) BasicRemoteDocumentPolicyFilter.getRemotePreviewUrl(FileDocument remoteDocument) RemoteDocumentPolicyFilter.getRemotePreviewUrl(FileDocument remoteDocument) RemoteDocumentPolicyManager.getRemotePreviewUrl(FileDocument remoteDocument) BasicRemoteDocumentPolicyFilter.getRemoteThumbnailUrl(FileDocument remoteDocument) RemoteDocumentPolicyFilter.getRemoteThumbnailUrl(FileDocument remoteDocument) RemoteDocumentPolicyManager.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 FileDocumentMethods in com.jalios.jcms.publiclink that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionEditPublicLinkHandler.getAvailableDocList()PublicLink.getDocList()PublicLink.getDocList(boolean modifiable) Methods in com.jalios.jcms.publiclink with parameters of type FileDocumentModifier and TypeMethodDescriptionPublicLinkQueryBuilder.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 -
Uses of FileDocument in com.jalios.jcms.quota
Methods in com.jalios.jcms.quota with parameters of type FileDocumentModifier and TypeMethodDescriptionvoidQuotaManager.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.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.restv2
Methods in com.jalios.jcms.restv2 with type parameters of type FileDocumentModifier and TypeMethodDescriptionstatic <T extends FileDocument>
javax.ws.rs.core.ResponseRestV2Util.upsertFileDocument(String id, ThrowingFunction<String, T> getData, ThrowingFunction<T, String> getId, com.fasterxml.jackson.databind.ObjectMapper mapper, org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput input, org.apache.log4j.Logger logger, ThrowingSupplier<javax.servlet.http.HttpServletRequest> getRequest, Class<T> clazz, DocUploadRequestParams params, javax.ws.rs.core.UriInfo uriInfo, ThrowingSupplier<String> getCurrentUserLang, Member member) Creates or updates aFileDocumentusing multipart upload. -
Uses of FileDocument in com.jalios.jcms.restv2.resources
Methods in com.jalios.jcms.restv2.resources with type parameters of type FileDocumentModifier and TypeMethodDescription<T extends FileDocument>
javax.ws.rs.core.ResponseAbstractFileDocumentResource.createFileDocument(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput input, Class<T> clazz, org.apache.log4j.Logger logger) <T extends FileDocument>
javax.ws.rs.core.ResponseAbstractFileDocumentResource.updateFileDocument(org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput input, Class<T> clazz, org.apache.log4j.Logger logger, DocUploadRequestParams params, String idParam) Constructors in com.jalios.jcms.restv2.resources with parameters of type FileDocument -
Uses of FileDocument in com.jalios.jcms.taglib
Methods in com.jalios.jcms.taglib with parameters of type FileDocumentModifier and TypeMethodDescriptionstatic FileThumbnailTag.createThumbnail(FileDocument fileDoc, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight) static FileThumbnailTag.createThumbnail(FileDocument fileDoc, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight, String background) Create a thumbnail using the first valid source from FileDocument, File or URL using given dimensions.static FileThumbnailTag.createThumbnail(FileDocument fileDoc, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight, 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, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight, File destFile) static booleanThumbnailTag.createThumbnailNow(FileDocument fileDoc, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight, File destFile, 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, File srcFile, URL url, ImageFormat format, int maxWidth, int maxHeight, File destFile, 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 ImageFormatThumbnailTag.getDefaultImageFormat(FileDocument fileDoc, File srcFile, URL url) Retrieve the default format to use for the specified source if none was specifiedstatic FileThumbnailTag.getThumbnailFile(FileDocument fileDoc, File srcFile, 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 FileThumbnailTag.getThumbnailFile(FileDocument fileDoc, File srcFile, 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 FileThumbnailTag.getThumbnailFile(FileDocument fileDoc, File srcFile, URL url, int maxWidth, int maxHeight, boolean square, 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, File srcFile, URL url) Invalidates the cache of failure while attempt to create a thumbnail for the given parameter.static booleanThumbnailTag.isSmallImage(FileDocument fileDoc) voidFileIconTag.setDoc(FileDocument doc) voidFileSizeTag.setDoc(FileDocument doc) voidPdfTag.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 FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentJcmsTestCaseUtil.createFileDocument(Member writer, Workspace ws, String title, String filename) static FileDocumentJcmsTestCaseUtil.getFileDocument(Member writer, Workspace ws, String title, String filename) -
Uses of FileDocument in com.jalios.jcms.theming
Methods in com.jalios.jcms.theming that return FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentThemingUtil.createFileDocumentFromTmpFile(File tmpFile, Member author) Creates a FileDocument from a temporary file, associating it with the specified author.static FileDocumentThemingUtil.fileToFileDocument(File file, FileDocument refFileDoc, Member opAuthor, Map<String, ? extends Object> contextMap) Creates a FileDocument from the specified file.Methods in com.jalios.jcms.theming with parameters of type FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentThemingUtil.fileToFileDocument(File file, FileDocument refFileDoc, Member opAuthor, Map<String, ? extends Object> contextMap) Creates a FileDocument from the specified file. -
Uses of FileDocument in com.jalios.jcms.thumbnail
Methods in com.jalios.jcms.thumbnail with parameters of type FileDocumentModifier and TypeMethodDescriptionabstract booleanAbstractThumbnailPolicyFilterImpl.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) booleanDefaultImageThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) booleanDefaultOpenOfficeThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) booleanDefaultOpenXmlThumbnailPolicyFilter.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, String background, boolean square, boolean done) booleanThumbnailPolicyManager.createThumbnail(FileDocument doc, File dest, ImageFormat format, int maxWidth, int maxHeight, 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 FileDocumentModifier and TypeMethodDescriptionstatic StringLightboxUtils.getGlobalContentType(FileDocument doc) static DataAttributeLightboxUtils.getImageDataAttribute(FileDocument doc, String userLang, Locale locale, Member mbr, boolean generateThumbnail) Returns aDataAttributecontaining all required parameters for javascript for lightbox / image editorstatic StringLightboxUtils.getLightboxActionLabel(String userLang, String propPrefix, FileDocument document) -
Uses of FileDocument in com.jalios.jcms.uicomponent.image
Methods in com.jalios.jcms.uicomponent.image with parameters of type FileDocumentModifier and TypeMethodDescriptionvoidDefaultResponsiveImageRenderer.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 FileDocumentModifier and TypeMethodDescriptionbooleanImageEditorManager.canModifyDocument(FileDocument doc, Member mbr) ImageEditorManager.getImageEditorContextDataAttributes(FileDocument fileDocument) Returns aDataAttributefor a givenFileDocumentfor the javascript libraryConstructors in com.jalios.jcms.uicomponent.image.editor with parameters of type FileDocument -
Uses of FileDocument in com.jalios.jcms.upload
Fields in com.jalios.jcms.upload declared as FileDocumentModifier and TypeFieldDescriptionprotected FileDocumentDocUploadHandler.documentstatic final FileDocumentDocUploadInfo.INVALID_DOCUMENTMethods in com.jalios.jcms.upload that return FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) DocUploadHandler.getAvailableFileDocument()DocUploadHandler.getAvailableFileDocuments()DocUploadInfo.getFileDocument()Deprecated.the signature with class must be used insteadDocUploadInfo.getFileDocument(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 FileDocumentModifier and TypeMethodDescriptionClass<? extends FileDocument> DocUploadHandler.getAvailableType()Class<? extends FileDocument> FileUploadOptions.getPreferredClass()Class<? extends FileDocument> DocUploadHandler.getSelectedDocumentClass(DocUploadInfo info) Methods in com.jalios.jcms.upload with parameters of type FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) Method parameters in com.jalios.jcms.upload with type arguments of type FileDocumentModifier and TypeMethodDescriptionstatic FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) static FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) static FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) static FileDocumentDocUploadHandler.doUploadDocument(DocUploadInfo info, FileDocument document, Consumer<FileDocument> updateBlock, ThrowingConsumer<FileDocument> applyJsonUpdate, boolean majorUpdate, BiConsumer<FileDocument, FileDocument> workflowBlock, boolean removeFile, boolean unlock, Member mbr, String userLang, HashMap<String, Object> context, Map<String, String> controllerFailedMap, List<LuceneDataSearchEngine.IndexingLatch> indexingLatchList) FileUploadOptions.setPreferredClass(Class<? extends FileDocument> preferredClass) Set the FileDocument class to preferred for upload if enabled and authorized.voidDocUploadHandler.withJsonUpdate(ThrowingConsumer<FileDocument> applyJsonUpdate) Constructors in com.jalios.jcms.upload with parameters of type FileDocumentModifierConstructorDescriptionConvenient constructor to call method checkPermission() from a given existing FileDocument -
Uses of FileDocument in com.jalios.jcms.wysiwyg
Methods in com.jalios.jcms.wysiwyg that return types with arguments of type FileDocumentModifier and TypeMethodDescriptionstatic Set<FileDocument> WysiwygMediasRewriter.extractMedias(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 FileDocumentModifier and TypeMethodDescriptionprotected 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 FileDocumentModifier and TypeMethodDescriptionvoidWysiwygResponsiveImageRenderer.render(org.jsoup.nodes.Element img, FileDocument fileDoc, int uiWidth, int uiHeight)