Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionsince JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-11230. Use method signatures requiring a Logger object to ensure your log are scope to your code.since JCMS-11662 as this method behavior was incorrected and should have been privatesince use of MultiFieldQueryParser with JCMS-11884
-
Deprecated InterfacesInterfaceDescriptionthis class will be moved to CalendarPlugin and will be removed in further version
-
Deprecated ClassesClassDescriptionsince 10.0.8 / JCMS-4770, use
AccessTokenOptionsthis class will be moved to CalendarPlugin and will be removed in further versionthis class will be moved to CalendarPlugin and will be removed in further versionthis class will be moved to CalendarPlugin and will be removed in further versionthis class will be moved to CalendarPlugin and will be removed in further versionsince jcms-10.0.1 useWorkspaceQueryHandlerinsteaduseMailMessageandMailManagerinsteadthis comparator does not properly sort complex plugins dependencies. UsePluginManager.orderPlugins(Collection, boolean)for proper topological sorting of all plugins.the DefaultThumbnailPolicyFilter will be split to 3 independents ThumbnailPolicyFilterthis class has been deprecated,StateManagershould be used insteaduseWysiwygSettingssince jcms-10.0.3. UseApplicationManagerinsteaduseWikiRenderersince JCMS-6614, useWorkspace.TitleSelectorOnly works with javax mail API. Use jplatform MAilMessage and MailManager to have more features.
-
Deprecated FieldsFieldDescriptionthe MailManager.isIncomingMailEnabled should be used insteadsince JCMS-7376, use
<jalios:country>tag in JSP, orCountryTag.getCountryIcon(String)in Java codeuse methods indicated in the javadoc above.use methods indicated in the javadoc above.since JCMS-7376, use<jalios:lang>tag in JSP, orLangTag.getLangIcon(String)in Java codeuse methods indicated in the javadoc above.use methods indicated in the javadoc above.since JCMS-6281, last login time are store in dedicated tablesince JCMS-6281. Read max login through property"member.max-last-login-date"
-
Deprecated MethodsMethodDescriptionUse
AbstractFileIndexListener.add(String, Map, Data)insteadsince JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.since JCMS-3712, inline onclick event are not compliance with strict Content-Security-Policy.useApplicationManager.addApplication(Member, String, Shortcut, boolean, boolean)since it returns a ControllerStatussince 10.0.8 / JCMS-4770, no longer used, suitable authkey format automatically computed from options specifiedsince 10.0.8 / JCMS-4770, no longer used, suitable authkey format automatically computed from options specifiedsince jcms-10.0.3, useDelegationAuthenticationHandler.getDelegationHolderSet(Member)if you want to retrieve logged member's possible delegation, orDelegationAuthenticationHandler.canDelegateTo(Member, Member, HttpServletRequest)to check if delegation is authorized as it performs all verificationssince jcms-10.0.3, useDelegationAuthenticationHandler.canDelegateTo(Member, Member, HttpServletRequest)which performs all verificationsuseCategory.getDeepOrderComparator(String)instead.useCheckIntegrityReportManagerto manipulate dataIntegrityReport mapuseCheckIntegrityReportManagerto manipulate dataIntegrityReportDate variablesince JCMS-9, with the removal of Workspace.getEmail(), this method now ALWAYS returns either the channel default email or the default admin email, useChannel.getSenderFullEmail()since JCMS-9, with the removal of Workspace.getEmail(), this method now ALWAYS returns either the channel default email or the default admin email, useChannel.getSenderFullEmail()since JCMS-9, with the removal of Workspace.getEmail(), this method now ALWAYS returns either the channel default email or the default admin email, useChannel.getSenderFullEmail()usegetStoreInfo().getCreateCount()usegetStoreInfo().getDeleteCount()usegetStoreInfo().getLoadReport()usegetStoreInfo().getStorableCount()usegetStoreInfo().getUpdateCount()Since jcms-10.0.5, use MailManager.getInstance().isEnabled() insteadSince jcms-10.0.5, use MailManager.getInstance().isEnabled() insteadUse new method isEditIcon with workspace and data as parametersThis method should not be used any more as it's limited in size, other db event log will be not read after this limit before full scansince 10.0.6 prefer using this classWebPageMetaDataExtractorUtilswhich search for favicon using jsoup instead of regexpssince jcms-6.0.2 seeGroup.canReceiveMail(boolean), will be removed for jcms-6.1TheJcmsUploadFormHandler.getFileDocumentClass(Class, Member, Workspace, String)method is used directly by theJcmsUploadFormHandler.setFileDocuments(String, String, List)method. It is no longer necessary to call this method. It is preferable to use the methods setFileDocuments(...) and setFileDocumentsML(...) that don't take the Class as an argument.sub-providers are not supported by the publication chooser modalthe provider JSP is responsible for its search interfaceusePubChooserProviderManager.getExternalProviders(PubChooserDisplayMode, PubChooserMode, Member, Workspace, String[], String, JcmsJspContext)and select a provider from the accepted providers insteadusePubChooserProviderManager.getExternalProviders(PubChooserDisplayMode, PubChooserMode, Member, Workspace, String[], String, JcmsJspContext)and select a provider from the accepted providers insteadUse getClosestJPaletteColor()Use getClosestJPaletteColorVar()Use getForegroundJPaletteColor()Use getHexColorFromJPaletteColor()since JCMS-11230. Use method signatures requiring a Logger object to ensure your log are scope to your code.since JCMS-7737, useJcmsUtil.getMergedMLMap(Map, Map)and invoke setter with return valuesince JCMS-11662 as this method behavior was incorrected and should have been privateuses of log4j MDC cannot easily be guaranteed without memory leak instead, useJcmsPatternLayoutin log4j.xml with the pattern%sThe method is deprecated, See MessageUtil.writeEml to the new implementationsince jcms-9.0.0, use individual fieldssince jcms-9.0.2 : useMentionManager.notifyMention(Publication, Member, Set)since JCMS-10131, useNotificationQuery.getMemberPublicationSet(Member)since 10.0.8 / JCMS-10220. You should use a logger specific to your package/class, not this generic one. The visilibty of this method will be changed in a further version (JCMS-10221)Plugin.getDisplayedStatus(String)method should be used insteadUsed insteadPortalElement.duplicate(WizardContext, boolean)use #getAjaxPortalUrl()use #computeSignature(boolean, boolean)Must call instead getTemplatePath()Must call instead getTemplatePath()since jcms-10.0.8 : useShareManager.getShareLink(Data, String, String, String, String)since jcms-10.0.8 : useShareManager.printShareLinkEnd(StringBuilder)since jcms-10.0.8 : useShareManager.printShareLinkStart(StringBuilder, Data, String, String, String)Prefer method with mediatype parameteruseRestUtil.sendDetailedError(HttpServletResponse, int, String, String, MediaType)which allows the correct media type to be specifieduse insteadMediaManager.getMediaTemplatePath(String, Data)useBasicSettings.toStringArray(Object, Object...)insteaduseTreeViewTag.TreeView.isRemoved(Object)insteaduseHeapDumper.dumpHeap(String, boolean)insteadsince jcms-5.7.0.since jcms-5.7.0.this value might not reflect the proper translation status of the label list, you should now consider that enumerate label are always I18Nedsince jcms-5.7.0since jcms-10.0.3. UseApplicationManagerinsteadsince jcms-10.0.3. UseApplicationManagerinsteadsince jcms-10.0.3. UseApplicationManagerinsteadsince jcms-10.0.3. UseApplicationManagerinsteadsince jcms-10.0.3. UseApplicationManagerinsteadsince jcms-10.0.3. UseApplicationManagerinsteadthe signature with class must be used insteadUse new signature with publication class as third parameter to manage correctly creation process (pub == null)since JCMS-5751, useAllMemberQueryHandlersince JCMS-5751, useAllMemberQueryHandlercom.jalios.jcms.workspace.WorkspaceManager.deepDuplicate(Workspace, Member, String, String, boolean) this method use legacy HttpClient 3.x, useHttpClientUtils.newHttpClient()this method use legacy HttpClient 3.x, useHttpClientUtils.newHttpClient()this method use legacy HttpClient 3.x, useHttpClientUtils.newHttpClient()this method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthe method will be removed in further release, replaced by MessageUtil methodsthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformthis method is deprecated in profit of MailManager in JPlatformuseRssItem.getCategories()insteadthe type must be retrieved fromRssItem.getEnclosures()list insteadthe URL must be retrieved fromRssItem.getEnclosures()list insteaduseRssItem.getPublicationDate()insteaduseRssItem.getPublicationDate()instead and reformat the dateuseRssItem.getCategories()insteadRssItem.setEnclosures(List)must be used insteadRssItem.setEnclosures(List)must be used insteadRssItem.setEnclosures(List)must be used insteaduseRssItem.setPublicationDate(Date)insteadusing MD5 algorithm for "encryption" is completely unsecure, don't.
If you need to encrypt data, use a dedicated library.
If you need to validate passwords or other kind of authentication digest, use strong algorithm such asBCrypt.
If you need to hash data for signing or other basic use case, use DigestUtils from Apache Commons Codec.
And if you absolutely need the same contract for backward compatibility, useUtil.md5Base64(String)which provides exactly the same behavior with a method name which does not implying it can be used for encryption.using this algorythm for "encryption" is completely unsecure. Do NOT use.use com.jalios.jcms.HttpUtil.encodeForJavaScriptsince jcms-9.0.0
-
Deprecated ConstructorsConstructorDescriptionuse
MailMessageandMailManagerinsteaduseMailMessageandMailManagerinsteaduseMailMessageandMailManagerinsteadsince use of MultiFieldQueryParser with JCMS-11884