Class DataSetServiceImpl

java.lang.Object
org.alfresco.module.org_alfresco_module_rm.dataset.DataSetServiceImpl
All Implemented Interfaces:
DataSetService, RecordsManagementCustomModel, RecordsManagementModel

public class DataSetServiceImpl extends Object implements DataSetService, RecordsManagementModel
  • Constructor Details

    • DataSetServiceImpl

      public DataSetServiceImpl()
  • Method Details

    • setImporterService

      public void setImporterService(ImporterService importerService)
      Set importer service
      Parameters:
      importerService - the importer service
    • setSearchService

      public void setSearchService(SearchService searchService)
      Set search service
      Parameters:
      searchService - the search service
    • setNodeService

      public void setNodeService(NodeService nodeService)
      Set node service
      Parameters:
      nodeService - the node service
    • setFilePlanService

      public void setFilePlanService(FilePlanService filePlanService)
      Set file plan service
      Parameters:
      filePlanService - the file plan service
    • setPermissionService

      public void setPermissionService(PermissionService permissionService)
      Set permission service
      Parameters:
      permissionService - the permission service
    • setAuthorityService

      public void setAuthorityService(AuthorityService authorityService)
      Set authority service
      Parameters:
      authorityService - the authority service
    • setFilePlanRoleService

      public void setFilePlanRoleService(FilePlanRoleService filePlanRoleService)
      Parameters:
      filePlanRoleService - file plan role service
    • setRecordsManagementSearchBehaviour

      public void setRecordsManagementSearchBehaviour(RecordsManagementSearchBehaviour recordsManagementSearchBehaviour)
      Set records management search behaviour
      Parameters:
      recordsManagementSearchBehaviour - the records management search behaviour
    • setDispositionService

      public void setDispositionService(DispositionService dispositionService)
      Set disposition service
      Parameters:
      dispositionService - the disposition service
    • setRecordFolderService

      public void setRecordFolderService(RecordFolderService recordFolderService)
      Set record folder service
      Parameters:
      recordFolderService - the record folder service
    • register

      public void register(DataSet dataSet)
      Description copied from interface: DataSetService
      Register a data set implementation with the service
      Specified by:
      register in interface DataSetService
      Parameters:
      dataSet - the data set
      See Also:
    • getDataSets

      public Map<String,DataSet> getDataSets()
      Description copied from interface: DataSetService
      Gets the details of all available data sets.
      Specified by:
      getDataSets in interface DataSetService
      Returns:
      the Map<String, DataSet> with details of all available data sets
      See Also:
    • getDataSets

      public Map<String,DataSet> getDataSets(NodeRef filePlan, boolean excludeLoaded)
      Description copied from interface: DataSetService
      Gets the details of all available data sets for a file plan depending on the parameter "excludeLoaded".
      Specified by:
      getDataSets in interface DataSetService
      Parameters:
      filePlan - the file plan for which the details should be retrieved
      excludeLoaded - if true only data sets will be retrieved which has not been loaded
      Returns:
      Map<String, DataSet> with details of the available data sets for a specified file plan depending on the parameter "excludeLoaded". The result could also be an empty map
      See Also:
    • loadDataSet

      public void loadDataSet(NodeRef filePlan, String dataSetId)
      Description copied from interface: DataSetService
      Loads the data set with the specified id into the specified file plan
      Specified by:
      loadDataSet in interface DataSetService
      Parameters:
      filePlan - the file plan which the data set will load into
      dataSetId - the id of the data set which will be imported
      See Also:
    • existsDataSet

      public boolean existsDataSet(String dataSetId)
      Description copied from interface: DataSetService
      Checks if a data set exists with the given data set id
      Specified by:
      existsDataSet in interface DataSetService
      Parameters:
      dataSetId - the id of the data set which will be checked
      Returns:
      true if the data set exists, false otherwise
      See Also:
    • getLoadedDataSets

      public Map<String,DataSet> getLoadedDataSets(NodeRef filePlan)
      Description copied from interface: DataSetService
      Gets the details of all loaded data sets for a specified file plan
      Specified by:
      getLoadedDataSets in interface DataSetService
      Parameters:
      filePlan - the file plan for which the loaded data sets should be retrieved
      Returns:
      Map<String, DataSet> details of all loaded data sets or an empty map if there has not been any data sets loaded for the specified file plan
      See Also:
    • isLoadedDataSet

      public boolean isLoadedDataSet(NodeRef filePlan, String dataSetId)
      Description copied from interface: DataSetService
      Checks if a data set with the id "dataSetId" has been loaded into the specified file plan
      Specified by:
      isLoadedDataSet in interface DataSetService
      Parameters:
      filePlan - the file plan for which the check should be done
      dataSetId - the id of the data set which should be checked if it has been loaded to the file plan
      Returns:
      true if the data set with the specified id has been loaded into the specified file plan, false otherwise
      See Also: