Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31640

Remove deprecated code since 6.0

    XMLWordPrintable

    Details

    • Upgrade notes:
      Hide

      Deprecated 6.0 code removal

      Operations

      Context.RunDocumentOperationInNewTx was replaced by Context.RunDocumentOperation
      Context.RunOperationOnListInNewTx was replaced by Context.RunOperationOnList

      Contributions

      Extension point

      whereClause@docType attribute in objects of org.nuxeo.ecm.platform.query.api.PageProviderService#providers was replaced by searchDocumentType element

      Constants

      org.nuxeo.ecm.platform.task.TaskQueryConstant.TASK_VARIABLES_WHERE_CLAUSE was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.TASK_ACTORS_WHERE_CLAUSE was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_ACTORS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENTS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_AND_ACTORS_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_AND_NODE_ID_QUERY was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS_QUERY_OR_DELEGATED_ACTORS_QUERY was replaced by Page Provider

      Fields

      org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.page was replaced by org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.currentPageIndex, the operation parameter was page and it is now currentPageIndex
      org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortInfoAsStringList was replaced by org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortBy & org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortOrder, the operation parameter was sortInfo and it is now sortBy & sortOrder
      org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.maxResults was not used, no replacement
      org.nuxeo.ecm.platform.query.core.WhereClauseDescriptor.docType was replaced by org.nuxeo.ecm.platform.query.core.BasePageProviderDescriptor.searchDocumentType

      Methods

      org.nuxeo.elasticsearch.api.ElasticSearchService#query(CoreSession, String, int, int, SortInfo...) was replaced by org.nuxeo.elasticsearch.api.ElasticSearchService#query(NxQueryBuilder)
      org.nuxeo.elasticsearch.api.ElasticSearchService#query(CoreSession, QueryBuilder, int, int, SortInfo...) was replaced by org.nuxeo.elasticsearch.api.ElasticSearchService#query(NxQueryBuilder)
      org.nuxeo.ecm.platform.importer.random.HunspellDictionaryHolder#loadDic(String) was not used, no replacement
      org.nuxeo.ecm.directory.Session#getEntries() was replaced by query methods
      org.nuxeo.ecm.platform.query.core.WhereClauseDescriptor#getDocType() was replaced by org.nuxeo.ecm.platform.query.core.BasePageProviderDescriptor#getSearchDocumentType()
      org.nuxeo.ecm.platform.task.TaskQueryConstant#getVariableWhereClause(String, String) was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant#getActorsWhereClause(List) was replaced by Page Provider
      org.nuxeo.ecm.platform.task.TaskQueryConstant#formatStringList(List) was replaced by Page Provider
      org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(DocumentModelList) was replaced by org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(List)
      org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(DocumentModelList, boolean) was replaced by org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(List)

      Classes

      org.nuxeo.ecm.automation.core.operations.execution.RunInNewTransaction was replaced by org.nuxeo.ecm.automation.core.operations.execution.RunDocumentChain, the operation id was Context.RunDocumentOperationInNewTx, the new one is Context.RunDocumentOperation
      org.nuxeo.ecm.automation.core.operations.execution.RunOperationOnListInNewTransaction was replaced by org.nuxeo.ecm.automation.core.operations.execution.RunOperationOnList
      org.nuxeo.ecm.platform.suggestbox.service.SearchDocumentsSuggestion was not used, no replacement
      org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester was not used, no replacement
      org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester was not used, no replacement

      Show
      Deprecated 6.0 code removal Operations Context.RunDocumentOperationInNewTx was replaced by Context.RunDocumentOperation Context.RunOperationOnListInNewTx was replaced by Context.RunOperationOnList Contributions Extension point whereClause@docType attribute in objects of org.nuxeo.ecm.platform.query.api.PageProviderService#providers was replaced by searchDocumentType element Constants org.nuxeo.ecm.platform.task.TaskQueryConstant.TASK_VARIABLES_WHERE_CLAUSE was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.TASK_ACTORS_WHERE_CLAUSE was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_ACTORS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENTS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENTS_AND_ACTORS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_AND_ACTORS_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_PROCESS_ID_AND_NODE_ID_QUERY was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant.GET_TASKS_FOR_TARGET_DOCUMENT_AND_ACTORS_QUERY_OR_DELEGATED_ACTORS_QUERY was replaced by Page Provider Fields org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.page was replaced by org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.currentPageIndex , the operation parameter was page and it is now currentPageIndex org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortInfoAsStringList was replaced by org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortBy & org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.sortOrder , the operation parameter was sortInfo and it is now sortBy & sortOrder org.nuxeo.ecm.automation.core.operations.services.AuditPageProviderOperation.maxResults was not used, no replacement org.nuxeo.ecm.platform.query.core.WhereClauseDescriptor.docType was replaced by org.nuxeo.ecm.platform.query.core.BasePageProviderDescriptor.searchDocumentType Methods org.nuxeo.elasticsearch.api.ElasticSearchService#query(CoreSession, String, int, int, SortInfo...) was replaced by org.nuxeo.elasticsearch.api.ElasticSearchService#query(NxQueryBuilder) org.nuxeo.elasticsearch.api.ElasticSearchService#query(CoreSession, QueryBuilder, int, int, SortInfo...) was replaced by org.nuxeo.elasticsearch.api.ElasticSearchService#query(NxQueryBuilder) org.nuxeo.ecm.platform.importer.random.HunspellDictionaryHolder#loadDic(String) was not used, no replacement org.nuxeo.ecm.directory.Session#getEntries() was replaced by query methods org.nuxeo.ecm.platform.query.core.WhereClauseDescriptor#getDocType() was replaced by org.nuxeo.ecm.platform.query.core.BasePageProviderDescriptor#getSearchDocumentType() org.nuxeo.ecm.platform.task.TaskQueryConstant#getVariableWhereClause(String, String) was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant#getActorsWhereClause(List) was replaced by Page Provider org.nuxeo.ecm.platform.task.TaskQueryConstant#formatStringList(List) was replaced by Page Provider org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(DocumentModelList) was replaced by org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(List) org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(DocumentModelList, boolean) was replaced by org.nuxeo.ecm.platform.task.core.service.DocumentTaskProvider#wrapDocModelInTask(List) Classes org.nuxeo.ecm.automation.core.operations.execution.RunInNewTransaction was replaced by org.nuxeo.ecm.automation.core.operations.execution.RunDocumentChain , the operation id was Context.RunDocumentOperationInNewTx , the new one is Context.RunDocumentOperation org.nuxeo.ecm.automation.core.operations.execution.RunOperationOnListInNewTransaction was replaced by org.nuxeo.ecm.automation.core.operations.execution.RunOperationOnList org.nuxeo.ecm.platform.suggestbox.service.SearchDocumentsSuggestion was not used, no replacement org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester was not used, no replacement org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester was not used, no replacement
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #80
    • Story Points:
      3

      Description

      Remove all deprecated code since Nuxeo 6.0.

      Make sure the upgrade notes list:

      • The removed classes
      • The removed public/protected methods
      • The removed public/protected constants

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: