Interface JpaDataSetService
- All Known Implementing Classes:
JpaDataSetServiceImpl
public interface JpaDataSetService
-
Method Summary
Modifier and TypeMethodDescriptioncopyDsAttributeValue(UUID sourceDsId, UUID targetDsId, UUID sourceAttrId, UUID targetAttrId) Copy value from source ds to target ds by attr id.voidcopyDsAttributeValueBulk(UUID sourceDsId, UUID targetDsId) Copy values from source ds to target ds.createDsSelectJavers(String name, UUID dataSetListId, boolean isJavers) getByDataSetListId(UUID dataSetList) getByDataSetListIdIn(Collection<UUID> dataSetListIds) getByIds(Collection<UUID> ids) getByNameAndDataSetListId(String name, UUID dataSetList) getBySourceAndDataSetListId(UUID sourceId, UUID dataSetList) getDatasetListContext(UUID dataSetId) org.springframework.data.domain.Page<AbstractEntityResponse> getDatasetsIdNamesPageByNameAndVaId(String name, UUID visibilityAreaId, org.springframework.data.domain.Pageable pageable) getDataSetTreeInAtpFormat(UUID dataSetId, boolean evaluate, String atpContext, ContextType contextType) List<org.json.simple.JSONObject> getDataSetTreeInAtpFormat(UUID dataSetId, boolean evaluate, String atpContext, ContextType contextType, Integer numberOfCopies) getDataSetTreeInItfFormat(UUID dataSetId) getLockedDataSets(UUID dataSetList) voidvoidvoidvoidsetOverlapValue(ParameterValue value, UUID dataSetId, UUID attributeId, List<UUID> attributePath) setParameterValue(ParameterValue value, UUID dataSetId, UUID attributeId) voidsetPosition(UUID dataSetId, Integer position)
-
Method Details
-
getDataSetTreeInAtpFormat
DataSetTree getDataSetTreeInAtpFormat(UUID dataSetId, boolean evaluate, String atpContext, ContextType contextType) -
getDataSetTreeInAtpFormat
List<org.json.simple.JSONObject> getDataSetTreeInAtpFormat(UUID dataSetId, boolean evaluate, String atpContext, ContextType contextType, Integer numberOfCopies) -
remove
-
getDatasetListContext
-
getDataSetTreeInItfFormat
-
create
-
createDsSelectJavers
@Transactional DataSet createDsSelectJavers(String name, UUID dataSetListId, boolean isJavers) throws DataSetServiceException - Throws:
DataSetServiceException
-
replicate
DataSet replicate(UUID id, String name, UUID dataSetListId, Long ordering, UUID sourceId, Boolean isLocked) throws DataSetServiceException - Throws:
DataSetServiceException
-
setParameterValue
@Transactional Parameter setParameterValue(ParameterValue value, UUID dataSetId, UUID attributeId) throws DataSetServiceException - Throws:
DataSetServiceException
-
lock
-
setOverlapValue
@Transactional void setOverlapValue(ParameterValue value, UUID dataSetId, UUID attributeId, List<UUID> attributePath) throws DataSetServiceException - Throws:
DataSetServiceException
-
getDatasetsIdNamesPageByNameAndVaId
org.springframework.data.domain.Page<AbstractEntityResponse> getDatasetsIdNamesPageByNameAndVaId(String name, UUID visibilityAreaId, org.springframework.data.domain.Pageable pageable) -
getById
-
getByIds
-
save
-
setPosition
-
getByNameAndDataSetListId
-
getByDataSetListId
-
getLockedDataSets
-
getByDataSetListIdIn
-
getBySourceAndDataSetListId
-
copyDsAttributeValue
UUID copyDsAttributeValue(UUID sourceDsId, UUID targetDsId, @Nullable UUID sourceAttrId, @Nullable UUID targetAttrId) Copy value from source ds to target ds by attr id. If source attribute id and target attribute id are null then do nothing- Parameters:
sourceDsId- source dataset idtargetDsId- target dataset idsourceAttrId- source attribute id, may be nulltargetAttrId- target attribute id, may be null- Returns:
- targetAttributeId
-
copyDsAttributeValueBulk
Copy values from source ds to target ds.- Parameters:
sourceDsId- source dataset idtargetDsId- target dataset id
-