Deprecated API


Contents
Deprecated Classes
com.jalios.jcms.MailSender
          use MailMessage instead 
com.jalios.util.MailSender
            
 

Deprecated Fields
com.jalios.jcms.JcmsConstants.ERROR_MSG
          use methods indicated in the javadoc above. 
com.jalios.jcms.JcmsConstants.INFORMATION_MSG
          use methods indicated in the javadoc above. 
com.jalios.jcms.JcmsConstants.WARNING_MSG
          use methods indicated in the javadoc above. 
 

Deprecated Methods
com.jalios.jcms.archive.ArchiveManager.archivePublication(Publication)
            
com.jalios.jcms.Group.canReceiveMail(boolean, boolean)
          since jcms-6.0.2 see Group.canReceiveMail(boolean), will be removed for jcms-6.1 
com.jalios.jcms.policy.PortalPolicyFilter.checkPermalink(String, Data)
          use PortalPolicyFilter.checkPermalink(String, Data, Locale) 
com.jalios.jcms.policy.PolicyManager.checkPermalink(String, Data)
          use PolicyManager.checkPermalink(String, Data, Locale) 
com.jalios.jcms.policy.BasicPortalPolicyFilter.checkPermalink(String, Data)
          use BasicPortalPolicyFilter.checkPermalink(String, Data, Locale) 
com.jalios.jcms.Publication.computeSignature()
          use #computeSignature(boolean, boolean) 
com.jalios.jcms.db.HibernateUtil.deleteQuery(Class, String[], String[])
          this method only supports string properties, use HibernateUtil.deleteQuery(Class, String[], Object[]) 
com.jalios.jcms.db.HibernateUtil.deleteQuery(Class, String[], String[], boolean)
          this method only supports string properties, use HibernateUtil.deleteQuery(Class, String[], Object[], boolean) 
com.jalios.jcms.db.HibernateUtil.deleteQuery(Class, String, String)
          this method only supports string property, use HibernateUtil.deleteQuery(Class, String, Object) 
com.jalios.jcms.db.HibernateUtil.deleteQuery(Class, String, String, boolean)
          this method only supports string properties, use HibernateUtil.deleteQuery(Class, String, Object, boolean) 
com.jalios.jcms.portlet.PortalElement.duplicate(String, Member, boolean, Workspace, Map, Map)
          Used instead PortalElement.duplicate(WizardContext, boolean) 
com.jalios.jcms.portlet.PortalElement.duplicateDeep(PortalElement, String, Member, Workspace, Map, Map)
          Used instead PortalElement.duplicateDeep(WizardContext, PortalElement) 
com.jalios.util.Util.encodeJavaScriptQuote(String)
          use com.jalios.jcms.HttpUtil.encodeForJavaScript 
com.jalios.util.Util.escapeHtmlQuote(String)
          use com.jalios.jcms.HttpUtil.encodeFor[HTML|HTMLAttribute|Javascript] depending on the context 
com.jalios.util.Util.escapeInputQuote(String)
          use com.jalios.jcms.HttpUtil.encodeFor[HTML|HTMLAttribute|Javascript] depending on the context 
com.jalios.util.Util.escapeJavaScriptQuote(String)
          use com.jalios.jcms.HttpUtil.encodeForJavaScript 
com.jalios.jcms.mashup.ExportManager.exportXml(Data)
          use ExportManager.exportXml(Data, Member) 
com.jalios.jcms.mashup.ExportManager.exportXml(String)
          use ExportManager.exportXml(String, Member) 
com.jalios.util.Util.formatDuration(Date, Date)
          Use DateUtil.formatDuration(Date,Date) instead 
com.jalios.util.Util.formatDuration(Date, Date, Locale)
          Use DateUtil.formatDuration(Date,Date,Locale) instead 
com.jalios.util.Util.formatDuration(long)
          Use DateUtil.formatDuration(long) instead 
com.jalios.util.Util.formatDuration(long, Locale)
          Use DateUtil.formatDuration(long,Locale) instead 
com.jalios.util.Util.formatIso8601Date(Date)
          Use DateUtil.formatIso8601Date(Date) instead 
com.jalios.util.Util.formatNoSpaceDate(Date)
          Use DateUtil.formatNoSpaceDate(Date) instead 
com.jalios.util.Util.formatRfc822Date(Date)
          Use DateUtil.formatRfc822Date(Date) instead 
com.jalios.util.Util.formatW3cDate(Date)
          Use DateUtil.formatW3cDate(Date) instead 
com.jalios.jcms.portlet.PortalManager.getAjaxPortalUrl(PortalElement)
          use #getAjaxPortalUrl() 
com.jalios.util.RssItem.getCategory()
            
com.jalios.jcms.Publication.getComparator(Class, String, boolean)
          use ComparatorManager 
com.jalios.jcms.Publication.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.Member.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.Group.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.FileDocument.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.workspace.Workspace.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.Data.getComparator(String, boolean)
          use ComparatorManager 
com.jalios.jcms.Publication.getComparator(String, boolean, QueryResultSet)
          use ComparatorManager 
com.jalios.jcms.authentication.handlers.CookieAuthenticationHandler.getCookieDigest(String, String)
            
com.jalios.jcms.Category.getDeepOrderComparator()
          use Category.getDeepOrderComparator(String) instead. 
com.jalios.jcms.TypeFieldEntry.getDescription()
          since jcms-5.7.0. 
com.jalios.jcms.Publication.getDisplayTemplateFile()
          Must call instead getTemplatePath() 
com.jalios.util.RssItem.getEnclosureType()
            
com.jalios.util.RssItem.getEnclosureURL()
            
com.jalios.jcms.JcmsUtil.getFileSizeMap()
          since jcms-7.1.0, use Channel.getGlobalFileAnalyzer method to have more information about satellites files 
com.jalios.jcms.Channel.getFileSizeMap(boolean)
          since jcms-7.1.0, use getGlobalFileAnalyzer method to have more information about satellites files 
com.jalios.jcms.JcmsUtil.getFileSizeMap(Workspace)
          since jcms-7.1.0, use Workspace.getFileAnalyzer method to have more information about satellites files 
com.jalios.jcms.FileDocument.getIndexedDate()
          see FileDocument.getFileIndexingDate() 
com.jalios.jcms.TypeFieldEntry.getLabel()
          since jcms-5.7.0. 
com.jalios.util.RssChannel.getLastBuildDate()
            
com.jalios.util.Util.getNewDateWithoutMillis()
          Use DateUtil.getNewDateWithoutMillis() instead 
com.jalios.jcms.Data.getNewDefaultExtraDataMap(Class, boolean)
            
com.jalios.jcms.Data.getNewDefaultExtraDBDataMap(Class, boolean)
            
com.jalios.jcms.handler.PubBrowserHandler.getOpCaddy()
          use PubBrowserHandler.isCaddyFilter() 
com.jalios.util.RssItem.getParsedPubDate()
            
com.jalios.jcms.portlet.PortalManager.getPermalink(Data)
          user PortalManager.getPermalink(Data, Locale) 
com.jalios.util.RssItem.getPubDate()
            
com.jalios.util.RssChannel.getPubDate()
            
com.jalios.jcms.Publication.getQueryTemplateFile()
          Must call instead getTemplatePath() 
com.jalios.jcms.AbstractReview.getReviewed()
          Use AbstractReview.getReviewedPublication() 
com.jalios.jcms.QueryResultSet.getScore(Object)
          use QueryResultSet.getScore(Publication) 
com.jalios.jcms.TypeProcessor.getTypeLabel(Class)
          since jcms-5.7.0 
com.jalios.jcms.workspace.WKRole.getWorkerSet(Publication, boolean)
          Use new signature with publication class as third parameter to manage correctly creation process (pub == null) 
com.jalios.jcms.FileDocument.hasStrongLock()
          see Data.isStrongLocked() 
com.jalios.util.Util.html2text(String)
          use HtmlUtil.html2text(String) 
com.jalios.jcms.servlet.InitFilter.initMemberRequest(HttpServletRequest, Member, String)
          use InitFilter.initMemberRequest(HttpServletRequest, Member, Locale) 
com.jalios.jcms.context.JcmsJspContext.isEditIcon()
          Use new method isEditIcon with workspace and data as parameters 
com.jalios.util.Util.isSameDay(Date, Date)
          Use DateUtil.isSameDay(Date,Date) instead 
com.jalios.util.Util.isToday(Date)
          Use DateUtil.isToday(Date) instead 
com.jalios.util.Util.isTomorrow(Date)
          Use DateUtil.isTomorrow(Date) instead 
com.jalios.util.Util.isYesterday(Date)
          Use DateUtil.isYesterday(Date) instead 
com.jalios.jcms.authentication.AuthenticationManager.login(HttpServletRequest, HttpServletResponse, String)
          use AuthenticationManager.login(HttpServletRequest, HttpServletResponse, Locale) 
com.jalios.jcms.authentication.AuthenticationManager.logout(HttpServletRequest, HttpServletResponse, String, Member)
          use AuthenticationManager.logout(HttpServletRequest, HttpServletResponse, Locale, Member) 
com.jalios.util.Util.mainTestFormatDuration(String[])
          Use DateUtil.mainTestFormatDuration(String[]) instead 
com.jalios.util.Util.parseIso8601Date(String)
          Use DateUtil.parseIso8601Date(String) instead 
com.jalios.util.Util.parseNoSpaceDate(String)
          Use DateUtil.parseNoSpaceDate(String) instead 
com.jalios.util.Util.parseRfc822Date(String)
          Use DateUtil.parseRfc822Date(String) instead 
com.jalios.util.Util.parseW3cDate(String)
          Use DateUtil.parseW3cDate(String) instead 
com.jalios.util.Util.removeJavaScriptQuote(String)
          use com.jalios.jcms.HttpUtil.encodeForJavaScript 
com.jalios.util.Util.roundDuration(long)
          Use DateUtil.roundDuration(long) instead 
com.jalios.util.RssItem.setCategory(String)
            
com.jalios.jcms.taglib.WidgetTag.setChooserQS(String)
           
com.jalios.util.RssItem.setEnclosureLength(int)
            
com.jalios.util.RssItem.setEnclosureType(String)
            
com.jalios.util.RssItem.setEnclosureURL(String)
            
com.jalios.jcms.taglib.WidgetTag.setHiddenActions(String)
           
com.jalios.jcms.taglib.WidgetTag.setInPopup(boolean)
           
com.jalios.util.RssChannel.setLastBuildDate(String)
            
com.jalios.jcms.taglib.WidgetTag.setNowIfNull(boolean)
           
com.jalios.jcms.handler.PubBrowserHandler.setOpCaddy(String)
          use PubBrowserHandler.setCaddyFilter(boolean) 
com.jalios.jcms.taglib.WidgetTag.setPrintLabel(boolean)
           
com.jalios.util.RssItem.setPubDate(String)
            
com.jalios.util.RssChannel.setPubDate(String)
            
com.jalios.jcms.taglib.WidgetTag.setShowTime(boolean)
           
com.jalios.jcms.taglib.WidgetTag.setShowWeek(boolean)
           
com.jalios.jcms.taglib.WidgetTag.setWidgetNameAddCount(String[])
           
com.jalios.jcms.policy.WidgetPolicyFilter.updateHiddenActions(String, AbstractWidget)
            
com.jalios.jcms.WikiRenderer.wiki2html(String)
          use WikiRenderer.wiki2html(String, Locale, WikiRenderingHints) 
com.jalios.jcms.WikiRenderer.wiki2html(String, String, boolean, Locale)
          use WikiRenderer.wiki2html(String, Locale, WikiRenderingHints) 
 

Deprecated Constructors
com.jalios.jcms.Category.DeepOrderComparator()
          this constructor does not specify the language to use for sorting, use the constructor with a lang parameter instead. 
 



Copyright © 2001-2010 Jalios SA. All Rights Reserved.