Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    fr.paris.lutece.portal.service.accesscontrol.AccessControlService.getInstance()
    Use @Inject to obtain the AccessControlService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.captcha.CaptchaSecurityService
    since 8.0 — use CDI injection of the ICaptchaService bean instead.
    fr.paris.lutece.portal.service.dashboard.admin.AdminDashboardService.getInstance()
    Use @Inject to obtain the AdminDashboardService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.dashboard.DashboardService.getInstance()
    Use @Inject to obtain the DashboardService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.editor.EditorBbcodeService.getInstance()
    Use @Inject to obtain the EditorBbcodeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.event.AbstractEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.event.LuteceUserEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.event.ResourceEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.file.FileService.getInstance()
    Use @Inject to obtain the FileService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.fileimage.FileImagePublicService.getInstance()
    Use @Inject to obtain the FileImagePublicService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.fileimage.FileImageService.getInstance()
    Use @Inject to obtain the FileImageService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.filter.FilterService.getInstance()
    Use @Inject to obtain the FilterService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.mailinglist.MailingListRemovalListenerService
    fr.paris.lutece.portal.service.portal.PortalMenuService.getInstance()
    Use @Inject to obtain the PortalMenuService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.portlet.PortletEventListener
    Use CDI events and @observes instead of implementing this interface. This interface will be removed in future versions.
    fr.paris.lutece.portal.service.portlet.PortletRemovalListenerService
    fr.paris.lutece.portal.service.portlet.PortletRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.portlet.PortletService.getInstance()
    Use @Inject to obtain the PortletService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.progressmanager.ProgressManagerService.getInstance()
    Use @Inject to obtain the ProgressManagerService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.rbac.RBACRemovalListenerService
    fr.paris.lutece.portal.service.regularexpression.RegularExpressionRemovalListenerService
    fr.paris.lutece.portal.service.regularexpression.RegularExpressionService.getInstance()
    Use @Inject to obtain the RegularExpressionService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.resource.ExtendableResourceActionHit.getInstance()
    Use @Inject to obtain the ExtendableResourceActionHit instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.role.RoleRemovalListenerService
    fr.paris.lutece.portal.service.search.QueryListenersService
    Use CDI events and @Observes pattern instead. This class will be removed in future versions.
    fr.paris.lutece.portal.service.search.QueryListenersService.getInstance()
    Use @Inject to obtain the QueryListenersService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.search.QueryListenersService.notifyListeners(QueryEvent)
    Use CDI events to notify others. This method will be removed in future versions.
    fr.paris.lutece.portal.service.search.QueryListenersService.registerQueryListener(QueryEventListener)
    Use CDI events and @Observes pattern instead. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.AccessLogService.getInstance()
    Use @Inject to obtain the AccessLogService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.LuteceUserCacheService.getInstance()
    Use @Inject to obtain the LuteceUserCacheService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.SecurityTokenService.getInstance()
    Use @Inject to obtain the SecurityTokenService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.servlet.ServletService.getInstance()
    Use @Inject to obtain the ServletService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeFieldService.getInstance()
    Use @Inject to obtain the AttributeFieldService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeService.getInstance()
    Use @Inject to obtain the AttributeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeTypeService.getInstance()
    Use @Inject to obtain the AttributeTypeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.util.CryptoService.encryptLegacy(String, String)
    since 8.0 — will be removed once no legacy password hashes remain in any supported deployment.
    fr.paris.lutece.portal.service.workflow.WorkflowRemovalListenerService
    fr.paris.lutece.portal.service.workflow.WorkflowService.getInstance()
    Use @Inject to obtain the WorkflowService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.workgroup.WorkgroupRemovalListenerService
    fr.paris.lutece.util.rsa.RSAKeyPairUtil.getInstance()
    use CDI injection instead
  • Deprecated Interfaces
    Interface
    Description
    fr.paris.lutece.portal.service.portlet.PortletEventListener
    Use CDI events and @observes instead of implementing this interface. This interface will be removed in future versions.
  • Deprecated Classes
    Class
    Description
    fr.paris.lutece.portal.business.rbac.AdminRole
    Since 7.0 replaced by RBACRole
    fr.paris.lutece.portal.service.captcha.CaptchaSecurityService
    since 8.0 — use CDI injection of the ICaptchaService bean instead.
    fr.paris.lutece.portal.service.editor.ParserBbcodeServlet
    fr.paris.lutece.portal.service.event.AbstractEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.event.LuteceUserEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.event.ResourceEventManager
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.mailinglist.MailingListRemovalListenerService
    fr.paris.lutece.portal.service.portlet.PortletRemovalListenerService
    fr.paris.lutece.portal.service.rbac.RBACRemovalListenerService
    fr.paris.lutece.portal.service.regularexpression.RegularExpressionRemovalListenerService
    fr.paris.lutece.portal.service.role.RoleRemovalListenerService
    fr.paris.lutece.portal.service.search.QueryListenersService
    Use CDI events and @Observes pattern instead. This class will be removed in future versions.
    fr.paris.lutece.portal.service.workflow.WorkflowRemovalListenerService
    fr.paris.lutece.portal.service.workgroup.WorkgroupRemovalListenerService
  • Deprecated Methods
    Method
    Description
    fr.paris.lutece.portal.business.file.File.getIdFile()
    fr.paris.lutece.portal.business.file.File.setIdFile(int)
    fr.paris.lutece.portal.business.user.AdminUser.getRoles()
    use getUserRoles( )
    fr.paris.lutece.portal.service.accesscontrol.AccessControlService.getInstance()
    Use @Inject to obtain the AccessControlService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.cache.AbstractCacheableService.getFromCache(K)
    fr.paris.lutece.portal.service.cache.AbstractCacheableService.putInCache(K, V)
    fr.paris.lutece.portal.service.cache.AbstractCacheableService.removeKey(K)
    fr.paris.lutece.portal.service.cache.CacheableService.getMaxElements()
    fr.paris.lutece.portal.service.cache.CacheableService.getMemorySize()
    fr.paris.lutece.portal.service.cache.CacheableService.getTimeToLive()
    fr.paris.lutece.portal.service.dashboard.admin.AdminDashboardService.getInstance()
    Use @Inject to obtain the AdminDashboardService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.dashboard.DashboardService.getInstance()
    Use @Inject to obtain the DashboardService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.editor.EditorBbcodeService.getInstance()
    Use @Inject to obtain the EditorBbcodeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.event.AbstractEventManager.notifyListeners(T)
    Use CDI events firing instead
    fr.paris.lutece.portal.service.event.AbstractEventManager.register(String, Consumer<T>)
    Use CDI events and @observes listeners instead
    fr.paris.lutece.portal.service.event.ResourceEventManager.fireAddedResource(ResourceEvent)
    Use CDI events firing instead
    fr.paris.lutece.portal.service.event.ResourceEventManager.fireDeletedResource(ResourceEvent)
    Use CDI events firing instead
    fr.paris.lutece.portal.service.event.ResourceEventManager.fireUpdatedResource(ResourceEvent)
    Use CDI events firing instead
    fr.paris.lutece.portal.service.file.FileService.getInstance()
    Use @Inject to obtain the FileService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.fileimage.FileImagePublicService.getInstance()
    Use @Inject to obtain the FileImagePublicService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.fileimage.FileImageService.getInstance()
    Use @Inject to obtain the FileImageService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.filter.FilterService.getInstance()
    Use @Inject to obtain the FilterService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.mailinglist.MailingListRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.plugin.PluginFile.addFreemarkerMacrosFile(String)
    fr.paris.lutece.portal.service.plugin.PluginFile.getFreemarkerMacrosFiles()
    fr.paris.lutece.portal.service.portal.PortalMenuService.getInstance()
    Use @Inject to obtain the PortalMenuService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.portlet.PortletRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.portlet.PortletService.getInstance()
    Use @Inject to obtain the PortletService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.progressmanager.ProgressManagerService.getInstance()
    Use @Inject to obtain the ProgressManagerService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.rbac.RBACRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.rbac.RBACService.getAuthorizedActionsCollection(Collection<E>, RBACResource, AdminUser)
    use getAuthorizedActionsCollection( Collection, RBACResource, User )
    fr.paris.lutece.portal.service.rbac.RBACService.getAuthorizedCollection(Collection<E>, String, AdminUser)
    use getAuthorizedCollection( Collection, String, User )
    fr.paris.lutece.portal.service.rbac.RBACService.getAuthorizedReferenceList(ReferenceList, String, String, AdminUser)
    use getAuthorizedReferenceList( ReferenceList, String, String, User )
    fr.paris.lutece.portal.service.rbac.RBACService.isAuthorized(RBACResource, String, AdminUser)
    use isAuthorized( RBACResource, String, User )
    fr.paris.lutece.portal.service.rbac.RBACService.isAuthorized(String, String, String, AdminUser)
    use isAuthorized( String, String, String, User )
    fr.paris.lutece.portal.service.rbac.RBACService.isUserInRole(AdminUser, String)
    use isUserInRole( User, String )
    fr.paris.lutece.portal.service.regularexpression.RegularExpressionRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.regularexpression.RegularExpressionService.getInstance()
    Use @Inject to obtain the RegularExpressionService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.resource.ExtendableResourceActionHit.getInstance()
    Use @Inject to obtain the ExtendableResourceActionHit instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.role.RoleRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.search.QueryListenersService.getInstance()
    Use @Inject to obtain the QueryListenersService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.search.QueryListenersService.notifyListeners(QueryEvent)
    Use CDI events to notify others. This method will be removed in future versions.
    fr.paris.lutece.portal.service.search.QueryListenersService.registerQueryListener(QueryEventListener)
    Use CDI events and @Observes pattern instead. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.AccessLogService.getInstance()
    Use @Inject to obtain the AccessLogService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.LuteceUserCacheService.getInstance()
    Use @Inject to obtain the LuteceUserCacheService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.security.SecurityTokenService.getInstance()
    Use @Inject to obtain the SecurityTokenService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.servlet.ServletService.getInstance()
    Use @Inject to obtain the ServletService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeFieldService.getInstance()
    Use @Inject to obtain the AttributeFieldService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeService.getInstance()
    Use @Inject to obtain the AttributeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.user.attribute.AttributeTypeService.getInstance()
    Use @Inject to obtain the AttributeTypeService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.util.AppPathService.getBaseUrl()
    Use AppPathService.getBaseUrl(HttpServletRequest) instead
    fr.paris.lutece.portal.service.util.AppPathService.getResourceAsStream(String, String)
    fr.paris.lutece.portal.service.util.CryptoService.encryptLegacy(String, String)
    since 8.0 — will be removed once no legacy password hashes remain in any supported deployment.
    fr.paris.lutece.portal.service.workflow.WorkflowRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.portal.service.workflow.WorkflowService.canProcessAction(int, String, int, Integer, HttpServletRequest, boolean)
    use canProcessAction( int, String, int, Integer, HttpServletRequest, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.doProcessAction(int, String, int, Integer, HttpServletRequest, Locale, boolean)
    use doProcessAction( int, String, int, Integer, HttpServletRequest, Locale, boolean, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.doProcessAutomaticReflexiveActions(int, String, int, Integer, Locale)
    use doProcessAutomaticReflexiveActions( int, String, int, Integer, Locale, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.doSaveTasksForm(int, String, int, Integer, HttpServletRequest, Locale)
    use doSaveTasksForm( int, String, int, Integer, HttpServletRequest, Locale, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.executeActionAutomatic(int, String, int, Integer)
    use executeActionAutomatic( int, String, int, Integer, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getActions(int, String, int, AdminUser)
    use getActions( int, String, int, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getActions(List<Integer>, String, Integer, int, AdminUser)
    getActions( List, String, Integer, int, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getAllStateByWorkflow(int, AdminUser)
    use getAllStateByWorkflow( int, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getAuthorizedResourceList(String, int, int, Integer, AdminUser)
    use getAuthorizedResourceList( String, int, int, Integer, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getAuthorizedResourceList(String, int, List<Integer>, Integer, AdminUser)
    use getAuthorizedResourceList( String, int, List, Integer, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale)
    use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getDisplayDocumentHistory(int, String, int, HttpServletRequest, Locale, Map<String, Object>, String)
    use getDisplayDocumentHistory( int, String, int, HttpServletRequest, Locale, Map, String, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getDisplayTasksForm(int, String, int, HttpServletRequest, Locale)
    use getDisplayTasksForm( int, String, int, HttpServletRequest, Locale, User )
    fr.paris.lutece.portal.service.workflow.WorkflowService.getInstance()
    Use @Inject to obtain the WorkflowService instance. This method will be removed in future versions.
    fr.paris.lutece.portal.service.workflow.WorkflowService.getWorkflowsEnabled(AdminUser, Locale)
    use getWorkflowsEnabled( User, Locale )
    fr.paris.lutece.portal.service.workflow.WorkflowService.isAuthorized(int, String, int, AdminUser)
    use isAuthorized( int, String, int, User )
    fr.paris.lutece.portal.service.workgroup.AdminWorkgroupService.getAuthorizedCollection(Collection<E>, AdminUser)
    use getAuthorizedCollection( Collection, User )
    fr.paris.lutece.portal.service.workgroup.AdminWorkgroupService.isAuthorized(AdminWorkgroupResource, AdminUser)
    use isAuthorized( AdminWorkgroupResource, User )
    fr.paris.lutece.portal.service.workgroup.WorkgroupRemovalListenerService.getService()
    since 8.0 — use CDI injection instead of this static method.
    fr.paris.lutece.util.rsa.RSAKeyPairUtil.getInstance()
    use CDI injection instead

Copyright © 2026 City of Paris. All rights reserved.