public class BimfaceClient extends Object
| 构造器和说明 |
|---|
BimfaceClient(String appKey,
String appSecret)
构造BimfaceClient对象
|
BimfaceClient(String appKey,
String appSecret,
Config config)
构造BimfaceClient对象
|
BimfaceClient(String appKey,
String appSecret,
Endpoint endpoint)
构造BimfaceClient对象
|
BimfaceClient(String appKey,
String appSecret,
Endpoint endpoint,
Config config)
构造BimfaceClient对象
|
BimfaceClient(String appKey,
String appSecret,
Endpoint endpoint,
Config config,
AccessTokenStorage accessTokenStorage)
构造BimfaceClient对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
abortMultiPartUpload(String projectId,
com.bimface.bdfs.bean.dto.v1.multipartupload.AbortMultipartUploadRequest abortMultipartUploadRequest)
终止分片上传任务
|
void |
addAssociations(String integrateId,
String fromIntegrationId,
String fromBusinessType,
String fromBusinessFlag,
com.bimface.data.bean.BusinessAssociationRequest request)
新增双向业务挂接,可以在request body中指定新增项,也可以指定从其他集成拷贝
|
com.bimface.bdfs.bean.dto.FileItemAppendFileDTO |
appendUpload(InputStream fileIn,
String projectId,
String appendFileId,
String position)
追加上传文件
|
void |
batchDeleteFileItems(String projectId,
List<String> fileItemIds)
批量删除文件
|
com.bimface.api.bean.compatible.response.BatchDeleteResultBean<Long> |
batchDeteleShare(List<Long> sourceIds)
批量删除分享链接
|
com.bimface.api.bean.response.ModelCompareBean |
compare(com.bimface.api.bean.request.modelCompare.ModelCompareRequest modelCompareRequest)
已过时。
|
com.bimface.api.bean.response.ModelCompareBean |
compareV2(com.bimface.api.bean.request.modelCompare.CompareRequest compareRequest)
发起模型对比,V2
|
com.bimface.bdfs.bean.dto.v1.FileItemDTOV1 |
completeMultiPartUpload(String projectId,
com.bimface.bdfs.bean.dto.v1.multipartupload.CompleteMultipartUploadRequest completeMultipartUploadRequest)
合并分片生成文件
|
List<com.bimface.bdfs.bean.dto.FileItemDTO> |
copyFile(String projectId,
com.bimface.bdfs.bean.CopyFileRequest copyFileRequest)
复制文件
|
com.bimface.file.bean.AppendFileBean |
createAppendFile(String name,
String sourceId,
Long length)
创建追加文件
|
com.bimface.bdfs.bean.dto.FileItemAppendFileDTO |
createAppendFile(String projectId,
String parentId,
String parentPath,
String name,
Long length,
String sourceId)
创建追加文件
|
com.bimface.api.bean.response.clashDetective.ClashDetectiveResponse |
createClashDetective(com.bimface.api.bean.request.clashDetective.ClashDetectiveRequest request)
发起碰撞检测
|
com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean |
createDrawingSplit(Long fileId,
String callback,
Map<String,String> config)
发起图纸拆分
|
com.bimface.bdfs.bean.dto.FileItemDTO |
createFolder(String projectId,
CreateFolderRequest createFolderRequest)
指定目录创建文件夹
|
com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean |
createIntegrateBakeDatabag(Long integrateId,
String callback,
Map<String,String> config)
为集成模型创建bake数据包
需要模型集成成功后调用
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createIntegrateShare(Long integrateId)
创建集成文件浏览分享链接,永久有效
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createIntegrateShare(Long integrateId,
Integer activeHours)
创建集成文件浏览分享链接
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createIntegrateShare(Long integrateId,
String expireDate,
Boolean needPassword)
创建集成文件浏览分享链接,带分享密码
|
com.bimface.bdfs.bean.dto.ProjectDTO |
createProject(String hubId,
ProjectCreateRequest request)
创建项目
|
com.bimface.scene.bean.CreateSceneResp |
createScene(com.bimface.scene.bean.CreateSceneRequest sceneInfo)
创建场景
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createSceneShare(Long sceneId) |
com.bimface.api.bean.compatible.response.ShareLinkBean |
createSceneShare(Long sceneId,
Integer activeHours) |
com.bimface.api.bean.compatible.response.ShareLinkBean |
createSceneShare(Long sceneId,
String expireDate,
Boolean needPassword)
创建场景分享链接,带分享密码
|
com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean |
createTranslateBakeDatabag(Long fileId,
String callback,
Map<String,String> config)
为文件创建bake数据包
需要文件转换成功后调用
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createTranslateShare(Long fileId)
创建单个文件浏览分享链接,永久有效
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createTranslateShare(Long fileId,
Integer activeHours)
创建单个文件浏览分享链接
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
createTranslateShare(Long fileId,
String expireDate,
Boolean needPassword)
创建单个文件浏览分享链接,带分享密码
|
com.bimface.bdfs.bean.dto.FileItemDTO |
createVersion(InputStream fileIn,
String projectId,
String fileItemId,
String path,
String name,
Long length,
String sourceId)
上传版本文件
|
void |
deleteAssociationsByBizIds(String integrateId,
String businessType,
String businessFlag,
List<String> businessIds)
删除业务挂接
|
void |
deleteAssociationsByBusinessId(String integrateId,
String businessType,
String businessId)
删除业务ID关联的业务挂接
|
void |
deleteAssociationsByElementId(String integrateId,
String elementId,
String businessType,
String businessFlag,
List<String> businessIds)
删除构件关联的业务挂接
|
void |
deleteAssociationsByElements(String integrateId,
String businessType,
String businessFlag,
List<String> elementIds)
删除业务挂接
|
void |
deleteCompare(Long compareId)
已过时。
|
void |
deleteFile(Long fileId)
删除文件
|
String |
deleteFolder(String projectId,
String folderId,
String path)
删除文件夹
根据folderId(path)删除文件夹
|
void |
deleteIntegrate(Long integrateId)
删除集成模型
|
String |
deleteIntegrateModelElementProperties(Long integrateId,
String fileIdHash,
String elementId,
List<com.bimface.data.bean.PropertyGroup> propertyGroups)
删除集成模型指定构件的属性, V2
|
void |
deleteIntegrateShare(Long integrateId)
取消集成文件浏览分享链接
|
com.bimface.bdfs.bean.dto.ProjectDTO |
deleteProject(String hubId,
String projectId)
删除项目
|
void |
deleteSceneShare(Long sceneId)
取消场景分享
|
String |
deleteSingleModelElementProperties(Long fileId,
String elementId,
List<com.bimface.data.bean.PropertyGroup> propertyGroups)
删除构件基本属性组以外的属性, V2
|
void |
deleteTranslateShare(Long fileId)
取消单个文件浏览分享链接
|
String |
deleteVersion(String projectId,
List<String> fileIds)
删除指定版本文件
|
InputStream |
download(Long fileId,
String fileName)
获取文件流
|
String |
downloadFiles(String projectId,
List<String> fileItemIds)
打包下载压缩文件
|
com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean |
exportIntegrate3DTilesDatabag(Long integrateId,
String callback,
Map<String,String> config)
通过集成模型ID创建3DTiles数据包
需要模型集成成功后调用
|
com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean |
exportIntegrateGltfDatabag(Long integrateId,
String callback)
通过集成模型ID创建gltf数据包
|
com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean |
exportTranslate3DTilesDatabag(Long fileId,
String callback,
Map<String,String> config)
通过文件ID创建3DTiles数据包
需要文件转换成功后调用
|
com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean |
exportTranslateGltfDatabag(Long fileId,
String callback)
通过文件ID导出gltf数据包
|
com.bimface.bdfs.bean.dto.FileItemDTO |
fileRename(String projectId,
com.bimface.bdfs.bean.UpdateFileRequest updateFileRequest)
文件重命名
|
com.bimface.page.es.PagedList<com.bimface.api.bean.response.v1.FileTranslateResponseV1> |
fileTranslateList(Long projectId,
com.bimface.api.bean.request.v1.FileTranslateRequestV1 request)
获取转换资源列表
|
com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean |
generateOfflineDatabag(OfflineDatabagRequest offlineDatabagRequest)
构建离线数据包
|
AccessTokenService |
getAccessTokenService() |
com.bimface.page.PagedList<com.bimface.bdfs.bean.dto.FileItemDTO> |
getAllVersions(String projectId,
String fileItemId,
String path,
Integer pageNo,
Integer pageSize)
获取所有版本文件信息
|
com.bimface.bdfs.bean.dto.FileItemAppendFileDTO |
getAppendFile(String projectId,
String appendFileId)
获取追加文件信息
获取FileItemAppendFile
|
List<com.bimface.data.bean.SearchAreaIdsResp> |
getAreas(String requestBody)
查询areaId
|
List<com.bimface.data.bean.BusinessElementAssociation> |
getAssociationsByBusinessId(String integrateId,
String businessType,
String businessId)
根据业务ID查询对应构件
|
List<com.bimface.data.bean.ElementBusinessAssociation> |
getAssociationsByElementId(String integrateId,
String elementId,
String businessType,
String businessFlag)
根据构件ID查询对应业务挂接
|
BakeService |
getBakeService() |
List<com.bimface.data.bean.ElementIdWithBoundingBox> |
getBoundingBoxesByEleIds(Long integrateId,
List<String> fileIdWithEleIdList)
计算指定构件列表的包围盒列表
获取每个构件对应的包围盒
|
List<com.bimface.data.bean.Category> |
getCategory(Long fileId)
已过时。
|
CategoryTreeService |
getCategoryService() |
List<com.bimface.data.bean.Tree.TreeNode> |
getCategoryV2(Long fileId)
已过时。
|
com.bimface.page.PagedList<com.bimface.bdfs.bean.dto.FileItemDTO> |
getChildrenFileItems(String projectId,
FileItemQueryRequest fileItemQueryRequest)
获取children列表(不包含itemSource)
|
Object |
getClashDetectiveResult(Long clashDetectiveId)
获取碰撞检测的结果
|
com.bimface.data.bean.ModelCompareChange |
getCompareElementDiff(CompareElementRequest compareElementRequest)
|
com.bimface.api.bean.response.ModelCompareBean |
getCompareInfo(Long compareId)
获取模型对比状态
|
List<com.bimface.data.bean.ModelCompareTree.SpecialtyNode> |
getCompareResult(Long compareId)
获取模型对比结果
|
com.bimface.page.PagedList<com.bimface.api.bean.response.ModelCompareBean> |
getCompares(com.bimface.api.bean.request.modelCompare.ModelCompareQueryRequest modelCompareQueryRequest)
批量获取模型对比状态
|
Credential |
getCredential() |
DownloadService |
getDownloadService() |
String |
getDownloadUrl(Long fileId)
获取文件下载链接,直接从OSS下载
|
String |
getDownloadUrl(Long fileId,
String fileName)
获取文件下载链接,直接从OSS下载
|
String |
getDownloadURl(String projectId,
String fileItemId,
String path,
Integer expireTime)
获取文件下载签名URL
|
List |
getDrawingFrames(Long fileId)
获取图纸拆分结果
|
com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean |
getDrawingSplit(Long fileId)
获取拆图状态
图纸发起拆分后,可以通过该接口查询拆图状态
|
DrawingSplitService |
getDrawingSplitService() |
String |
getDwgPdfUrl(Long dwgFileId)
获取DWG文件转换生成的pdf文件的url
|
String |
getDwgPreviewImageUrl(Long dwgFileId,
String layoutName)
获取DWG文件转换生成的预览图片的url
|
List<String> |
getElementIdsV2(Long fileId,
QueryElementIdsRequest queryElementIdsRequest)
按查询条件查询单模型构件ID 组,v2
|
List<String> |
getElementIdsV2(Long fileId,
String specialty,
String floor,
String categoryId,
String family,
String familyType)
已过时。
|
com.bimface.data.bean.Property |
getElementPropertyV2(Long fileId,
List<String> elementIds)
获取单文件的构件属性,v2
|
com.bimface.data.bean.Property |
getElementPropertyV2(Long fileId,
List<String> elementIds,
Boolean includeOverrides)
获取单文件的构件属性,v2
支持查询模型属性重写后多个构件的共同属性,需要设置请求参数includeOverrides的值为true
|
List<String> |
getElements(Long fileId,
String categoryId,
String family,
String familyType)
已过时。
|
List<String> |
getElements(Long fileId,
String floor,
String specialty,
String categoryId,
String family,
String familyType)
已过时。
|
List<com.bimface.data.bean.SearchElementIdsResp> |
getElements(String requestBody)
查询符合条件的构件ID列表
|
List<com.bimface.data.bean.SearchElementIdsResp> |
getElements(String requestBody,
Boolean includeOverrides)
查询符合条件的构件ID列表
支持查询模型属性重写后符合条件的构件ID列表,需要设置请求参数includeOverrides的值为true
|
ElementService |
getElementService() |
Endpoint |
getEndpoint() |
com.bimface.file.bean.FileBean |
getFile(Long fileId)
根据文件id获取文件元信息
|
InputStream |
getFileDatabagContent(Long fileId)
获取数据包下载流
|
List<com.bimface.data.bean.DatabagResourceUrl> |
getFileDatabagResource(Long fileId,
Long integrateId,
Long compareId,
com.bimface.data.bean.DatabagResourceRequest databagResourceRequest)
获取数据包资源,v2
|
String |
getFileDataBagRootUrl(Long fileId)
获取文件的数据包根URL
|
Long |
getFileDatabagSize(Long fileId)
获取数据包大小
|
List<com.bimface.data.bean.Floor> |
getFileFloors(Long fileId)
已过时。
|
List<com.bimface.data.bean.Floor> |
getFileFloors(Long fileId,
Boolean includeArea,
Boolean includeRoom)
获取楼层信息
|
com.bimface.bdfs.bean.dto.FileItemDTO |
getFileItemMeta(String projectId,
String fileItemId,
String path,
Boolean withItemSource)
获取文件信息
|
String |
getFileItemPathById(String projectId,
String fileItemId)
获取文件路径
根据fileItemId获取fileItemPath
|
com.bimface.bdfs.bean.UploadPolicyResponse |
getFileItemPolicy(String projectId,
String parentId,
String parentPath,
String name,
String sourceId,
Long maxLength)
获取文件直传的policy凭证
获取上传file的policy
|
FileItemUploadStatusBean |
getFileItemStatus(String projectId,
String fileItemId,
String path)
获取文件状态
|
com.bimface.file.bean.FileBean |
getFileMetadata(Long fileId)
已过时。
|
com.bimface.bdfs.bean.UploadPolicyResponse |
getFilePolicy(String projectId,
String fileItemId,
String path,
String name,
String sourceId,
Long maxLength)
获取新版本直传的policy凭证
|
List<com.bimface.file.bean.FileBean> |
getFiles(FileBatchQueryRequest request)
批量查询文件元信息
|
FileService |
getFileService() |
String |
getFileThumbnailUrl(Long fileId,
Integer size)
获取缩略图url
|
com.bimface.file.bean.FileUploadStatusBean |
getFileUploadStatus(Long fileId)
根据文件id获取文件上传状态信息
|
com.bimface.data.bean.FloorTree |
getFloorTree(Long integrateId)
已过时。
|
com.bimface.bdfs.bean.dto.FileItemDTO |
getFolder(String projectId,
String folderId,
String path)
获取文件夹信息
|
String |
getFolderPathById(String projectId,
String folderId)
根据folderId 获取path
|
List<com.bimface.bdfs.bean.dto.HubDTO> |
getHubList(String name,
String tenantCode,
String info,
String dateTimeFrom,
String dateTimeTo)
获取hub列表
|
com.bimface.bdfs.bean.dto.HubDTO |
getHubMeta(Long hubId)
获取Hub Meta信息
|
com.bimface.api.bean.response.FileIntegrateBean |
getIntegrate(Long integrateId)
获取文件集成状态
|
List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> |
getIntegrate3DTilesDatabags(Long integrateId)
查询集成模型3DTiles数据包
|
String |
getIntegrate3dTilesDatabagUrl(Long integrateId,
String databagVersion)
指定集成ID,获取3DTiles数据包下载地址
数据包版本;如果只有一个,则下载唯一的数据包,如果多个,则必须指定数据包版本
在浏览器中输入3DTiles数据包的下载地址,即可下载得到对应模型的3DTiles数据包。
|
List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> |
getIntegrateBakeDatabags(Long integrateId)
查询集成模型bake数据包
|
String |
getIntegrateDatabagRootUrl(Long integrateId)
获取集成数据包的根Url
|
List<com.bimface.data.bean.Property> |
getIntegrateElementBatch(Long integrateId,
boolean includeOverrides,
com.bimface.data.bean.IntegrateElementPropertyFilterRequest filterRequest)
批量获取集成模型构件, v2
|
com.bimface.data.bean.ElementsWithBoundingBox |
getIntegrateElements(Long integrateId,
String floor,
String specialty,
String categoryId,
String family,
String familyType)
已过时。
|
List<com.bimface.data.bean.IntegrateFileData> |
getIntegrateFiles(Long integrateId)
查询指定的集成模型内参与集成的子文件信息, v2
|
List<com.bimface.data.bean.IntegrateFileData> |
getIntegrateFiles(Long integrateId,
Boolean includeDrawingSheet)
查询指定的集成模型内参与集成的子文件信息, v2
支持将文件下转换出的图纸数量一起返回,需要设置请求参数includeDrawingSheet的值为true
|
List<com.bimface.data.bean.Floor> |
getIntegrateFloors(Long integrateId)
已过时。
|
List<com.bimface.data.bean.Floor> |
getIntegrateFloors(Long integrateId,
Boolean includeArea,
Boolean includeRoom)
获取集成模型楼层信息
|
List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> |
getIntegrateGltfDatabags(Long integrateId)
查询集成模型gltf数据包
|
String |
getIntegrateGltfDatabagUrl(Long integrateId,
String databagVersion)
指定集成ID,获取gltf数据包的下载链接
如果只有一个数据包版本,则下载唯一的数据包,如果多个,则必须指定数据包版本
在浏览器中输入gltf数据包的下载地址,即可下载得到对应模型的gltf数据包。
|
com.bimface.data.bean.Area |
getIntegrateModelArea(Long integrateId,
String areaId)
集成模型查询Area, v2
|
List<com.bimface.data.bean.Area> |
getIntegrateModelAreas(Long integrateId,
String floorId)
集成模型查询楼层对应Area列表, v2
|
com.bimface.data.bean.Property |
getIntegrateModelCommonElementProperties(Long integrateId,
List<com.bimface.data.bean.FileIdHashWithElementIds> fileIdHashWithElementIds)
集成模型获取构件属性
|
com.bimface.data.bean.Property |
getIntegrateModelCommonElementProperties(Long integrateId,
List<com.bimface.data.bean.FileIdHashWithElementIds> fileIdHashWithElementIds,
Boolean includeOverrides)
集成模型获取构件属性
支持查询模型属性重写后多个构件的共同属性,需要设置请求参数includeOverrides的值为true
|
com.bimface.data.bean.Property |
getIntegrateModelElement(Long integrateId,
String elementId)
获取集成模型构件, v2
|
com.bimface.data.bean.Property |
getIntegrateModelElement(Long integrateId,
String fileIdHash,
String elementId)
获取集成模型构件, v2
|
com.bimface.data.bean.Property |
getIntegrateModelElement(Long integrateId,
String fileIdHash,
String elementId,
Boolean includeOverrides)
获取集成模型构件, v2
支持查询模型属性重写后多个构件的共同属性,需要设置请求参数includeOverrides的值为true
|
com.bimface.data.bean.ElementsWithBoundingBox |
getIntegrateModelElementIds(Long integrateId,
QueryElementIdsRequest queryElementIdsRequest)
获取集成模型构件ID组, v2
|
com.bimface.data.bean.ElementsWithBoundingBox |
getIntegrateModelElementIds(Long integrateId,
String specialty,
String roomId,
String floor,
String categoryId,
String family,
String familyType,
String systemType)
已过时。
|
List<com.bimface.data.bean.MaterialInfo> |
getIntegrateModelElementMaterials(Long integrateId,
String fileIdHash,
String elementId)
获取集成模型构件材质, v2
|
List<com.bimface.data.bean.FileViews> |
getIntegrateModelFileViews(Long integrateId,
String viewType)
获取集成模型三维视点/二维视点, v2
|
com.bimface.data.bean.Room |
getIntegrateModelRoom(Long integrateId,
String roomId)
集成模型查询房间属性,v2
|
List<com.bimface.data.bean.Room> |
getIntegrateModelRooms(Long integrateId,
String floorId)
已过时。
|
List<com.bimface.data.bean.Room> |
getIntegrateModelRooms(Long integrateId,
String floorId,
String fildIdHash,
String elementId,
com.bimface.data.enums.ToleranceType roomToleranceZ,
com.bimface.data.enums.ToleranceType roomToleranceXY)
集成模型查询楼层对应房间列表, v2
当前支持两种方式查询房间列表:1)使用楼层ID查询属于给定楼层的房间列表;2)使用构件ID在空间中计算查询包含该构件的房间列表
这两种方式只能取其一,楼层ID优先。
|
List<com.bimface.data.bean.Room> |
getIntegrateModelRooms(Long integrateId,
String floorId,
String elementId,
com.bimface.data.enums.ToleranceType roomToleranceZ,
com.bimface.data.enums.ToleranceType roomToleranceXY)
集成模型查询楼层对应房间列表, v2
当前支持两种方式查询房间列表:1)使用楼层ID查询属于给定楼层的房间列表;2)使用构件ID在空间中计算查询包含该构件的房间列表
这两种方式只能取其一,楼层ID优先。
|
List<String> |
getIntegrateModelSegmentElementIds(Long integrateId,
String segmentId)
获取流水段对应的所有构件id
|
List<com.bimface.data.bean.SegmentGroupDto> |
getIntegrateModelSegmentGroups(Long integrateId)
获取集成模型中所有的流水段分组,v2
|
List<com.bimface.data.bean.SegmentDto> |
getIntegrateModelSegments(Long integrateId,
String segmentGroupId)
获取流水段分组中的所有流水段, v2
|
List<com.bimface.data.bean.SegmentGroupDto> |
getIntegrateModelSegmentTree(Long integrateId)
获取集成模型的流水段树, v2
|
com.bimface.data.bean.Tree |
getIntegrateModelTree(Long integrateId,
String treeType,
List<String> desiredHierarchy,
com.bimface.data.bean.IntegrationTreeOptionalRequestBody requestBody)
获取集成模型分类树,v2
|
String |
getIntegrateModelViewToken(Long integrateId,
String fileId)
根据集成ID,文件ID获取viewToken,v2
|
com.bimface.page.PagedList<com.bimface.api.bean.response.FileIntegrateDetailBean> |
getIntegrates(com.bimface.api.bean.request.integrate.IntegrateQueryRequest integrateQueryRequest)
批量获取文件集成状态
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
getIntegrateShare(Long integrateId)
获取分享链接信息
|
com.bimface.data.bean.Property |
getIntegrationProperty(Long integrateId,
Long fileId,
String elementId)
已过时。
|
com.bimface.data.bean.MaterialOverrideSetVO |
getMaterialOverrideSet(Long id)
获取材质配置方案, v2
|
List<com.bimface.data.bean.MEPSystem> |
getMEPSystem(Long fileId,
String systemCategory,
String systemType)
获取MEP系统信息
|
com.bimface.data.bean.ModelCompareChange |
getModelCompareElementChange(Long comparisonId,
Long previousFileId,
String previousElementId,
Long followingFileId,
String followingElementId)
获取模型构件对比差异, v2
|
com.bimface.data.bean.Pagination<com.bimface.data.bean.ModelCompareDiff> |
getModelCompareResult(Long comparisonId,
String family,
String elementName,
Integer page,
Integer pageSize)
分页获取模型对比结果, v2
|
com.bimface.data.bean.Tree |
getModelCompareTree(Long comparisonId)
获取模型对比构件分类树, v2
|
String |
getMultipartSignedUrl(String projectId,
com.bimface.bdfs.bean.dto.v1.multipartupload.MultipartSignedUrlRequest multipartSignedUrlRequest)
获取分片上传url
|
OfflineDatabagService |
getOfflineDatabagService() |
String |
getOfflineDatabagUrl(Long fileId,
Long integrateId,
Long compareId,
String databagVersion)
获取离线数据包下载链接
|
String |
getOfflineDatabagUrl(OfflineDatabagRequest offlineDatabagRequest)
已过时。
|
String |
getPaginationContextId()
生成分页查询的ContextId
|
com.bimface.bdfs.bean.dto.FileItemDTO |
getParent(String projectId,
String folderId)
获取父文件夹
|
com.bimface.file.bean.UploadPolicyBean |
getPolicy(String name)
获取上传凭证,用于直传到OSS
|
com.bimface.file.bean.UploadPolicyBean |
getPolicy(String name,
String sourceId)
获取上传凭证,用于直传到OSS
|
List<com.bimface.bdfs.bean.dto.ProjectDTO> |
getProjectList(String hubId,
String name,
Boolean useFuzzySearch)
获取项目列表
|
com.bimface.bdfs.bean.dto.ProjectDTO |
getProjectMeta(String hubId,
String projectId)
获取项目信息
|
com.bimface.bdfs.bean.dto.FileItemWithPathDTO |
getProjectRootFolderInfo(String hubId,
String projectId)
获取项目根文件夹信息
|
com.bimface.data.bean.Property |
getProperty(Long fileId,
String elementId)
已过时。
|
PropertyService |
getPropertyService() |
List<com.bimface.data.bean.PropertyValuesResp> |
getPropertyValues(List<String> targetIds,
String targetType,
List<String> properties)
查询指定模型构件属性的所有可能值
仅支持查询单模型,即targetType可填:file
|
List<com.bimface.data.bean.PropertyValuesResp> |
getPropertyValues(List<String> targetIds,
String targetType,
List<String> properties,
Boolean includeOverrides)
查询指定模型构件属性的所有可能值
仅支持查询单模型,即targetType可填:file
支持查询模型属性重写后构件的属性的所有可能值,需要设置请求参数includeOverrides的值为true
|
List<String> |
getRfaFamilyPropertyNames(Long rfaFileId)
获取rfa文件族属性key列表, v2
|
com.bimface.data.bean.RfaFamilyTypeProperty |
getRfaFamilyTypeProperty(Long rfaFileId,
String familyTypeGuid)
获取rfa文件族类型属性列表, v2
|
List<com.bimface.data.bean.RfaFamilyType> |
getRfaFamilyTypes(Long rfaFileId)
rfa文件族类型列表, v2
|
List<com.bimface.data.bean.SearchRoomIdsResp> |
getRooms(String requestBody)
查询roomId
|
com.bimface.scene.bean.response.SceneInfoResponse |
getScene(Long sceneId)
获取场景
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
getSceneShare(Long sceneId)
获取分享信息链接
|
com.bimface.api.bean.compatible.response.ShareLinkBean |
getShareLink(String token)
获取分享链接信息
|
ShareLinkService |
getShareLinkService() |
SignatureService |
getSignatureService() |
com.bimface.data.bean.Area |
getSingleModelArea(Long fileId,
String areaId)
Rvt单模型查询 Area, v2
|
List<com.bimface.data.bean.Area> |
getSingleModelAreas(Long fileId,
String floorId)
Rvt单模型查询楼层对应Area列表, v2
|
List<com.bimface.data.bean.ElementIdWithName> |
getSingleModelChildElementIds(Long fileId,
String elementId)
获取构件的子构件 id,v2
|
com.bimface.data.bean.Tree |
getSingleModelCustomizedTree(Long fileId,
com.bimface.data.bean.FileTreeRequestBody requestBody)
查询单模型自定义构件分类树
|
List<com.bimface.data.bean.DrawingSheet> |
getSingleModelDrawingSheets(Long fileId)
已过时。
|
List<com.bimface.data.bean.DrawingSheet> |
getSingleModelDrawingSheets(Long fileId,
String elementId)
单模型查询drawingSheets信息, v2
|
List<com.bimface.data.bean.Property> |
getSingleModelElementsV2(Long fileId,
List<String> elementIds)
已过时。
|
List<com.bimface.data.bean.Property> |
getSingleModelElementsV2(Long fileId,
List<String> elementIds,
List<com.bimface.data.bean.ElementPropertyFilterRequest.GroupAndKeysPair> filter,
boolean includeOverrides)
根据构件 ID 批量获取单模型的单个构件,v2
支持查询模型属性重写后构件的属性,需要设置请求参数includeOverrides的值为true
|
com.bimface.data.bean.Property |
getSingleModelElementV2(Long fileId,
String elementId)
获取单模型构件,v2
|
com.bimface.data.bean.Property |
getSingleModelElementV2(Long fileId,
String elementId,
boolean includeOverrides)
获取单模型构件,v2
|
List<Map<String,Object>> |
getSingleModelFileIdFloorsMapping(List<String> fileIds,
Boolean includeArea,
Boolean includeRoom)
获取单模型文件 id 与楼层的映射关系,v2
|
List<com.bimface.data.bean.Link> |
getSingleModelLinks(Long fileId)
单模型查询链接, v2
|
List<com.bimface.data.bean.MaterialInfo> |
getSingleModelMaterials(Long fileId,
String elementId)
获取单模型的构件材质,v2
|
Object |
getSingleModelModelInfo(Long fileId)
获取模型数据包meta信息, v2
|
com.bimface.data.bean.Room |
getSingleModelRoom(Long fileId,
String roomId)
Rvt单模型查询楼层对应房间, v2
|
List<com.bimface.data.bean.Room> |
getSingleModelRooms(Long fileId,
String floorId)
已过时。
|
List<com.bimface.data.bean.Room> |
getSingleModelRooms(Long fileId,
String floorId,
String elementId,
com.bimface.data.enums.ToleranceType roomToleranceZ,
com.bimface.data.enums.ToleranceType roomToleranceXY)
Rvt单模型查询楼层对应房间列表,v2
当前支持两种方式查询房间列表:1)使用楼层ID查询属于给定楼层的房间列表;2)使用构件ID在空间中计算查询包含该构件的房间列表
这两种方式只能取其一,楼层ID优先。
|
List<com.bimface.data.bean.Tree.TreeNode> |
getSingleModelTreeV2(Long fileId,
com.bimface.data.bean.FileTreeRequestBody requestBody)
查询单模型获取构件分类树,v2
|
List<com.bimface.data.bean.View> |
getSingleModelViews(Long fileId)
查询单模型三维视点信息,v2
|
com.bimface.data.bean.SpecialtyTree |
getSpecialtyTree(Long integrateId)
已过时。
|
com.bimface.file.bean.SupportFileBean |
getSupport()
获取支持的文件格式及文件大小
|
com.bimface.api.bean.response.FileTranslateBean |
getTranslate(Long fileId)
获取文件转换状态
|
List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> |
getTranslate3DTilesDatabags(Long fileId)
查询文件的3DTiles数据包
|
String |
getTranslate3dTilesDatabagUrl(Long fileId,
String databagVersion)
指定文件ID,获取3DTiles数据包下载地址
数据包版本;如果只有一个,则下载唯一的数据包,如果多个,则必须指定数据包版本
在浏览器中输入3DTiles数据包的下载地址,即可下载得到对应模型的3DTiles数据包。
|
List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> |
getTranslateBakeDatabags(Long fileId)
查询文件bake数据包
|
List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> |
getTranslateGltfDatabag(Long fileId)
查询gltf数据包信息
|
String |
getTranslateGltfDatabagUrl(Long fileId,
String databagVersion)
指定文件ID,获取gltf数据包的下载链接
如果只有一个数据包版本,则下载唯一的数据包,如果多个,则必须指定数据包版本
在浏览器中输入gltf数据包的下载地址,即可下载得到对应模型的gltf数据包。
|
com.bimface.page.PagedList<com.bimface.api.bean.response.FileTranslateDetailBean> |
getTranslates(com.bimface.api.bean.request.translate.TranslateQueryRequest translateQueryRequest)
批量获取文件转换状态
|
TranslateService |
getTranslateService() |
com.bimface.api.bean.compatible.response.ShareLinkBean |
getTranslateShare(Long fileId)
获取分享链接信息
|
com.bimface.bdfs.bean.dto.FileItemDTO |
getVersion(String projectId,
String fileId,
Boolean withFileSource)
获取指定版本文件信息
|
String |
getVersionSignedUrl(String projectId,
String fileId,
Integer expireTime)
下载指定版本文件
|
String |
getViewTokenByClashDetectiveId(Long clashDetectiveId)
获取viewToken, 用于碰撞检测
|
String |
getViewTokenByCompareId(Long compareId)
获取模型对比viewToken, 用于模型预览的凭证
|
String |
getViewTokenByFileId(Long fileId)
获取viewToken, 用于模型预览的凭证
|
String |
getViewTokenByIntegrateId(Long integrateId)
获取集成模型viewToken, 用于模型预览的凭证
|
String |
getViewTokenBySceneId(Long sceneId)
获取viewToken,用于场景预览
|
ViewTokenService |
getViewTokenService() |
com.bimface.bdfs.bean.dto.v1.multipartupload.InitMultipartUploadDTO |
initMultipartUpload(String projectId,
com.bimface.bdfs.bean.dto.v1.multipartupload.InitMultipartUploadRequest initMultipartUploadRequest)
创建分片上传任务
|
com.bimface.api.bean.response.FileIntegrateBean |
integrate(com.bimface.api.bean.request.integrate.FileIntegrateRequest request)
发起文件集成
|
com.bimface.api.bean.response.FileIntegrateBean |
integrate2Bimtiles(com.bimface.api.bean.request.integrate.FileIntegrateRequest request)
发起模型集成
|
com.bimface.api.bean.response.FileIntegrateBean |
modify(Long integrateId,
String name)
更新集成信息
|
List<com.bimface.bdfs.bean.dto.FileItemDTO> |
moveFile(String projectId,
com.bimface.bdfs.bean.MoveFileRequest moveFileRequest)
移动文件位置
|
com.bimface.data.bean.Pagination<com.bimface.data.bean.DrawingCompareDiff> |
pageGetDrawingCompareResult(Long comparisonId,
String layer,
Integer page,
Integer pageSize)
分页获取图纸对比结果
|
com.bimface.file.bean.AppendFileBean |
queryAppendFile(Long appendFileId)
查询追加文件信息
|
com.bimface.api.bean.response.clashDetective.ClashDetectiveResponse |
queryClashDetective(Long clashDetectiveId)
获取碰撞检测状态
|
com.bimface.api.bean.response.clashDetective.ClashDetectiveList |
queryClashDetectiveByModelId(Long fileId,
Long integrateId)
根据模型ID查询碰撞检测ID列表
|
List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> |
queryCompareOfflineDatabag(Long compareId)
查询离线数据包
|
List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> |
queryIntegrateOfflineDatabag(Long integrateId)
查询离线数据包
|
List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> |
queryOfflineDatabag(OfflineDatabagRequest offlineDatabagRequest)
已过时。
|
List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> |
queryTranslateOfflineDatabag(Long fileId)
查询离线数据包
|
com.bimface.page.PagedList<com.bimface.api.bean.compatible.response.ShareLinkBean> |
shares(Integer pageNo,
Integer pageSize)
获取分享列表
|
com.bimface.api.bean.response.FileTranslateBean |
translate(com.bimface.api.bean.request.translate.FileTranslateRequest fileTranslateRequest)
发起文件转换
|
com.bimface.api.bean.response.FileTranslateBean |
translate(Long fileId)
发起文件转换
|
com.bimface.api.bean.response.FileTranslateBean |
translate(Long fileId,
String callback)
发起文件转换
|
com.bimface.api.bean.response.FileTranslateBean |
translate2Bimtiles(com.bimface.api.bean.request.translate.FileTranslateRequest request)
发起模型转换
|
com.bimface.bdfs.bean.dto.FileItemDTO |
updateFolder(String projectId,
com.bimface.bdfs.bean.UpdateFolderRequest updateFolderReq)
文件夹重命名
根据folderId(path)更新文件夹
|
String |
updateIntegrateModelElementProperties(Long integrateId,
String fileIdHash,
String elementId,
List<com.bimface.data.bean.PropertyGroup> propertyGroups)
修改集成模型指定构件的属性, V2
|
com.bimface.bdfs.bean.dto.ProjectDTO |
updateProject(String hubId,
String projectId,
com.bimface.bdfs.bean.UpdateProjectRequest updateProjectReq)
更新项目信息
|
String |
updateScene(Long sceneId,
com.bimface.scene.bean.CreateSceneRequest sceneInfo)
更新场景
|
String |
updateSingleModelElementProperties(Long fileId,
String elementId,
List<com.bimface.data.bean.PropertyGroup> propertyGroups)
修改(包含添加和更新)构件基本属性组以外的属性, V2
|
com.bimface.file.bean.FileBean |
upload(FileUploadRequest fileUploadRequest)
上传文件
|
com.bimface.file.bean.FileBean |
upload(String name,
Long contentLength,
InputStream inputStream)
上传文件,文件流方式
|
com.bimface.file.bean.FileBean |
upload(String name,
String url)
上传文件,URL方式
|
com.bimface.file.bean.FileBean |
upload(String name,
String sourceId,
Long contentLength,
InputStream inputStream)
上传文件,文件流方式
|
com.bimface.file.bean.FileBean |
upload(String name,
String sourceId,
String url)
上传文件,URL方式
|
com.bimface.file.bean.AppendFileBean |
uploadAppendFile(InputStream inputStream,
Long appendFileId)
追加上传
|
com.bimface.file.bean.AppendFileBean |
uploadAppendFile(InputStream inputStream,
Long appendFileId,
Long length,
Long position)
追加上传
|
com.bimface.file.bean.FileBean |
uploadByPolicy(String name,
Long contentLength,
InputStream inputStream)
基于阿里云的policy机制,将文件直接上传阿里云 分两步:1.
|
com.bimface.file.bean.FileBean |
uploadByPolicy(String name,
String sourceId,
Long contentLength,
InputStream inputStream)
基于阿里云的policy机制,将文件直接上传阿里云 分两步:1.
|
com.bimface.bdfs.bean.dto.FileItemDTO |
uploadByUrl(String projectId,
String parentId,
String parentPath,
String name,
String sourceId,
String url,
String etag,
Long maxLength)
指定外部文件url方式上传
|
com.bimface.bdfs.bean.dto.FileItemDTO |
uploadFileItem(InputStream fileIn,
String projectId,
String parentId,
String parentPath,
String name,
Long length,
String sourceId)
上传文件流
|
boolean |
validateSignature(String signature,
String id,
String status,
String nonce)
验证签名, 接收回调时使用
|
public BimfaceClient(String appKey, String appSecret)
appKey - AppKeyappSecret - AppSecretpublic BimfaceClient(String appKey, String appSecret, Config config)
appKey - AppKeyappSecret - AppSecretconfig - 参数配置public BimfaceClient(String appKey, String appSecret, Endpoint endpoint)
appKey - AppKeyappSecret - AppSecretendpoint - 参数配置public BimfaceClient(String appKey, String appSecret, Endpoint endpoint, Config config)
appKey - AppKeyappSecret - AppSecretendpoint - API调用地址入口config - 参数配置public BimfaceClient(String appKey, String appSecret, Endpoint endpoint, Config config, AccessTokenStorage accessTokenStorage)
appKey - AppKeyappSecret - AppSecretendpoint - API调用地址入口config - 参数配置accessTokenStorage - AccessToken的缓存方式public com.bimface.file.bean.SupportFileBean getSupport()
throws com.bimface.exception.BimfaceException
SupportFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean upload(FileUploadRequest fileUploadRequest) throws com.bimface.exception.BimfaceException
fileUploadRequest - FileUploadRequestFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean upload(String name, Long contentLength, InputStream inputStream) throws com.bimface.exception.BimfaceException
name - 文件名contentLength - 文件长度inputStream - 文件流FileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean upload(String name, String sourceId, Long contentLength, InputStream inputStream) throws com.bimface.exception.BimfaceException
name - 文件名sourceId - 上传源文件IdcontentLength - 文件长度inputStream - 文件流FileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean upload(String name, String url) throws com.bimface.exception.BimfaceException
name - 文件名url - 文件下载地址FileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean upload(String name, String sourceId, String url) throws com.bimface.exception.BimfaceException
name - 文件名sourceId - 上传源文件Idurl - 文件下载地址FileBeancom.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.file.bean.FileBean getFileMetadata(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IdFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean getFile(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IdFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.file.bean.FileBean> getFiles(FileBatchQueryRequest request) throws com.bimface.exception.BimfaceException
request - FileBatchQueryRequestFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileUploadStatusBean getFileUploadStatus(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IdFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteFile(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.UploadPolicyBean getPolicy(String name) throws com.bimface.exception.BimfaceException
name - 文件名UploadPolicyBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.UploadPolicyBean getPolicy(String name, String sourceId) throws com.bimface.exception.BimfaceException
name - 文件名sourceId - 上传源文件IdUploadPolicyBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean uploadByPolicy(String name, Long contentLength, InputStream inputStream) throws com.bimface.exception.BimfaceException
name - 文件名contentLength - 文件内容长度inputStream - 文件流FileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.FileBean uploadByPolicy(String name, String sourceId, Long contentLength, InputStream inputStream) throws com.bimface.exception.BimfaceException
name - 文件名sourceId - 上传源文件IdcontentLength - 文件内容长度inputStream - 文件流FileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic String getDownloadUrl(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IDString 文件下载链接com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getDownloadUrl(Long fileId, String fileName) throws com.bimface.exception.BimfaceException
fileId - 文件IDfileName - 文件名String 文件下载链接com.bimface.exception.BimfaceException - BimfaceExceptionpublic InputStream download(Long fileId, String fileName) throws com.bimface.exception.BimfaceException
fileId - 文件idfileName - 文件名InputStream 文件流com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.bdfs.bean.dto.HubDTO> getHubList(String name, String tenantCode, String info, String dateTimeFrom, String dateTimeTo) throws com.bimface.exception.BimfaceException
name - hub名称tenantCode - 租户标识info - 描述信息dateTimeFrom - 开始时间dateTimeTo - 结束时间HubDTO 项目hub列表com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.HubDTO getHubMeta(Long hubId) throws com.bimface.exception.BimfaceException
hubId - hubIdcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.ProjectDTO createProject(String hubId, ProjectCreateRequest request) throws com.bimface.exception.BimfaceException
hubId - hubIdrequest - 项目目创建请求ProjectDTO 项目com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.bdfs.bean.dto.ProjectDTO> getProjectList(String hubId, String name, Boolean useFuzzySearch) throws com.bimface.exception.BimfaceException
hubId - hubIdname - 项目名称useFuzzySearch - 是否使用模糊查询ProjectDTO 项目列表com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.ProjectDTO getProjectMeta(String hubId, String projectId) throws com.bimface.exception.BimfaceException
hubId - hubIdprojectId - 项目Idcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.ProjectDTO deleteProject(String hubId, String projectId) throws com.bimface.exception.BimfaceException
hubId - hubIdprojectId - 项目Idcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.ProjectDTO updateProject(String hubId, String projectId, com.bimface.bdfs.bean.UpdateProjectRequest updateProjectReq) throws com.bimface.exception.BimfaceException
hubId - hubIdprojectId - 项目IdupdateProjectReq - 更新项目信息请求体com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemWithPathDTO getProjectRootFolderInfo(String hubId, String projectId) throws com.bimface.exception.BimfaceException
hubId - hubIdprojectId - 项目Idcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO createFolder(String projectId, CreateFolderRequest createFolderRequest) throws com.bimface.exception.BimfaceException
projectId - 项目idcreateFolderRequest - 文件夹创建请求FileItemDTO 文件项com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO getFolder(String projectId, String folderId, String path) throws com.bimface.exception.BimfaceException
com.bimface.exception.BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.bdfs.bean.dto.FileItemDTO> getChildrenFileItems(String projectId, FileItemQueryRequest fileItemQueryRequest) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileItemQueryRequest - 请求bodyFileItemDTO 文件项com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getFolderPathById(String projectId, String folderId) throws com.bimface.exception.BimfaceException
projectId - 项目IDfolderId - 文件夹IDString 文件路径com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO getParent(String projectId, String folderId) throws com.bimface.exception.BimfaceException
projectId - folderId - com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO updateFolder(String projectId, com.bimface.bdfs.bean.UpdateFolderRequest updateFolderReq) throws com.bimface.exception.BimfaceException
projectId - 项目idupdateFolderReq - 更新文件夹请求体com.bimface.exception.BimfaceExceptionpublic String deleteFolder(String projectId, String folderId, String path) throws com.bimface.exception.BimfaceException
projectId - 项目idfolderId - 文件夹id(folderId和path,必须二选一填入)path - 文件夹路径,使用URL编码(UTF-8),最多256个字符(folderId和path,必须二选一填入)com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO uploadFileItem(InputStream fileIn, String projectId, String parentId, String parentPath, String name, Long length, String sourceId) throws com.bimface.exception.BimfaceException
fileIn - 文件流projectId - 项目idparentId - 父文件夹idparentPath - 父文件夹路径name - 文件名称length - 文件大小sourceId - 源文件idFileItemDTO 文件项com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO uploadByUrl(String projectId, String parentId, String parentPath, String name, String sourceId, String url, String etag, Long maxLength) throws com.bimface.exception.BimfaceException
projectId - 项目IDparentId - 父文件夹IdparentPath - 父文件夹路径name - 文件名称sourceId - 调用方的文件源ID,不能重复url - sourceUrletag - 文件etagmaxLength - maxLengthcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemAppendFileDTO createAppendFile(String projectId, String parentId, String parentPath, String name, Long length, String sourceId) throws com.bimface.exception.BimfaceException
projectId - 项目IDparentId - 父文件夹IdparentPath - 父文件夹路径name - 文件名称length - 文件流的长度sourceId - 调用方的文件源ID,不能重复com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemAppendFileDTO getAppendFile(String projectId, String appendFileId) throws com.bimface.exception.BimfaceException
projectId - 项目IDappendFileId - 追加上传IDcom.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemAppendFileDTO appendUpload(InputStream fileIn, String projectId, String appendFileId, String position) throws com.bimface.exception.BimfaceException
projectId - 项目IDappendFileId - 父文件夹Idposition - 父文件夹路径com.bimface.exception.BimfaceExceptionpublic List<com.bimface.bdfs.bean.dto.FileItemDTO> copyFile(String projectId, com.bimface.bdfs.bean.CopyFileRequest copyFileRequest) throws com.bimface.exception.BimfaceException
projectId - 项目IDcopyFileRequest - 复制文件请求体com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.UploadPolicyResponse getFileItemPolicy(String projectId, String parentId, String parentPath, String name, String sourceId, Long maxLength) throws com.bimface.exception.BimfaceException
projectId - 项目IDparentId - 父文件IDparentPath - 父文件路径name - 文件名称sourceId - 调用方的文件源IDmaxLength - 文件流的长度com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO getFileItemMeta(String projectId, String fileItemId, String path, Boolean withItemSource) throws com.bimface.exception.BimfaceException
projectId - 项目idfileItemId - 文件idpath - 文件路径withItemSource - 是否携带fileItemSource信息FileItemDTO 文件项com.bimface.exception.BimfaceException - BimfaceExceptionpublic FileItemUploadStatusBean getFileItemStatus(String projectId, String fileItemId, String path) throws com.bimface.exception.BimfaceException
projectId - 项目idfileItemId - 文件idpath - 文件路径FileItemUploadStatusBean 文件上传状态com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getDownloadURl(String projectId, String fileItemId, String path, Integer expireTime) throws com.bimface.exception.BimfaceException
projectId - 项目idfileItemId - 文件idpath - 文件路径expireTime - 过期时间String 文件下载地址com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getFileItemPathById(String projectId, String fileItemId) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileItemId - 文件IDcom.bimface.exception.BimfaceExceptionpublic String downloadFiles(String projectId, List<String> fileItemIds) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileItemIds - 文件IDcom.bimface.exception.BimfaceExceptionpublic List<com.bimface.bdfs.bean.dto.FileItemDTO> moveFile(String projectId, com.bimface.bdfs.bean.MoveFileRequest moveFileRequest) throws com.bimface.exception.BimfaceException
projectId - 项目IDmoveFileRequest - 移动文件请求体com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO fileRename(String projectId, com.bimface.bdfs.bean.UpdateFileRequest updateFileRequest) throws com.bimface.exception.BimfaceException
projectId - 项目IDupdateFileRequest - 更新文件请求体com.bimface.exception.BimfaceExceptionpublic void batchDeleteFileItems(String projectId, List<String> fileItemIds) throws com.bimface.exception.BimfaceException
projectId - 项目idfileItemIds - 文件id集合com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.bdfs.bean.dto.v1.multipartupload.InitMultipartUploadDTO initMultipartUpload(String projectId, com.bimface.bdfs.bean.dto.v1.multipartupload.InitMultipartUploadRequest initMultipartUploadRequest) throws com.bimface.exception.BimfaceException
projectId - 项目idinitMultipartUploadRequest - 初始化分片上传的请求体com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getMultipartSignedUrl(String projectId, com.bimface.bdfs.bean.dto.v1.multipartupload.MultipartSignedUrlRequest multipartSignedUrlRequest) throws com.bimface.exception.BimfaceException
projectId - 项目 idmultipartSignedUrlRequest - 获取分片的 signedUrl的请求体com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.v1.FileItemDTOV1 completeMultiPartUpload(String projectId, com.bimface.bdfs.bean.dto.v1.multipartupload.CompleteMultipartUploadRequest completeMultipartUploadRequest) throws com.bimface.exception.BimfaceException
projectId - 项目 idcompleteMultipartUploadRequest - 完成分片上传的请求体com.bimface.exception.BimfaceExceptionpublic String abortMultiPartUpload(String projectId, com.bimface.bdfs.bean.dto.v1.multipartupload.AbortMultipartUploadRequest abortMultipartUploadRequest) throws com.bimface.exception.BimfaceException
projectId - 项目 idabortMultipartUploadRequest - 终止分片上传的请求体com.bimface.exception.BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.bdfs.bean.dto.FileItemDTO> getAllVersions(String projectId, String fileItemId, String path, Integer pageNo, Integer pageSize) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileItemId - 文件Idpath - 文件路径pageNo - 开始页码pageSize - 每页大小com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO createVersion(InputStream fileIn, String projectId, String fileItemId, String path, String name, Long length, String sourceId) throws com.bimface.exception.BimfaceException
fileIn - 文件流projectId - 项目IDfileItemId - 文件Idpath - 文件路径name - 文件名称length - 文件长度sourceId - 调用方的文件源ID,不能重复com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.UploadPolicyResponse getFilePolicy(String projectId, String fileItemId, String path, String name, String sourceId, Long maxLength) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileItemId - 文件Idpath - 文件路径name - 文件名称sourceId - 调用方的文件源ID,不能重复maxLength - 文件流的长度com.bimface.exception.BimfaceExceptionpublic com.bimface.bdfs.bean.dto.FileItemDTO getVersion(String projectId, String fileId, Boolean withFileSource) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileId - 文件版本IdwithFileSource - 是否携带itemSourcecom.bimface.exception.BimfaceExceptionpublic String getVersionSignedUrl(String projectId, String fileId, Integer expireTime) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileId - 文件版本IdexpireTime - 有限期,默认3600scom.bimface.exception.BimfaceExceptionpublic String deleteVersion(String projectId, List<String> fileIds) throws com.bimface.exception.BimfaceException
projectId - 项目IDfileIds - 文件版本Idcom.bimface.exception.BimfaceException@Deprecated public List<String> getElements(Long fileId, String categoryId, String family, String familyType) throws com.bimface.exception.BimfaceException
fileId - 文件IDcategoryId - 构件类型IDfamily - 族名称familyType - 族类型String> 文件列表com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<String> getElements(Long fileId, String floor, String specialty, String categoryId, String family, String familyType) throws com.bimface.exception.BimfaceException
fileId - 文件IDfloor - 楼层specialty - 专业categoryId - 构件类型IDfamily - 族名称familyType - 族类型String>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.data.bean.ElementsWithBoundingBox getIntegrateElements(Long integrateId, String floor, String specialty, String categoryId, String family, String familyType) throws com.bimface.exception.BimfaceException
integrateId - 集成idfloor - 楼层specialty - 专业categoryId - 分类idfamily - 族familyType - 族类型ElementsWithBoundingBoxcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileTranslateBean translate(com.bimface.api.bean.request.translate.FileTranslateRequest fileTranslateRequest)
throws com.bimface.exception.BimfaceException
fileTranslateRequest - FileTranslateRequestFileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileTranslateBean translate(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idFileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileTranslateBean translate(Long fileId, String callback) throws com.bimface.exception.BimfaceException
fileId - 文件idcallback - 回调地址以http或者https开头FileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileTranslateBean getTranslate(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idFileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.api.bean.response.FileTranslateDetailBean> getTranslates(com.bimface.api.bean.request.translate.TranslateQueryRequest translateQueryRequest)
throws com.bimface.exception.BimfaceException
translateQueryRequest - TranslateQueryRequestFileTranslateDetailBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileTranslateBean translate2Bimtiles(com.bimface.api.bean.request.translate.FileTranslateRequest request)
throws com.bimface.exception.BimfaceException
request - FileTranslateRequest请求体com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.page.es.PagedList<com.bimface.api.bean.response.v1.FileTranslateResponseV1> fileTranslateList(Long projectId, com.bimface.api.bean.request.v1.FileTranslateRequestV1 request) throws com.bimface.exception.BimfaceException
projectId - 项目IDrequest - FileTranslateRequestV1请求体com.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.api.bean.response.ModelCompareBean compare(com.bimface.api.bean.request.modelCompare.ModelCompareRequest modelCompareRequest) throws com.bimface.exception.BimfaceException
modelCompareRequest - ModelCompareBeanFileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.ModelCompareBean compareV2(com.bimface.api.bean.request.modelCompare.CompareRequest compareRequest)
throws com.bimface.exception.BimfaceException
compareRequest - ModelCompareBeanFileTranslateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.ModelCompareBean getCompareInfo(Long compareId) throws com.bimface.exception.BimfaceException
compareId - 模型对比idModelCompareBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.api.bean.response.ModelCompareBean> getCompares(com.bimface.api.bean.request.modelCompare.ModelCompareQueryRequest modelCompareQueryRequest)
throws com.bimface.exception.BimfaceException
modelCompareQueryRequest - ModelCompareQueryRequestModelCompareBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteCompare(Long compareId) throws com.bimface.exception.BimfaceException
compareId - 模型对比idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.ModelCompareTree.SpecialtyNode> getCompareResult(Long compareId) throws com.bimface.exception.BimfaceException
compareId - 模型对比idModelCompareTree.SpecialtyNodecom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.ModelCompareChange getCompareElementDiff(CompareElementRequest compareElementRequest) throws com.bimface.exception.BimfaceException
compareElementRequest - CompareElementRequestModelCompareChangecom.bimface.exception.BimfaceException - BimfaceExceptionpublic String getViewTokenByIntegrateId(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idString viewToken 预览凭证com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getViewTokenByCompareId(Long compareId) throws com.bimface.exception.BimfaceException
compareId - 模型对比idString viewToken 预览凭证com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getViewTokenByFileId(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idString viewToken 预览凭证com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createTranslateShare(Long fileId, Integer activeHours) throws com.bimface.exception.BimfaceException
fileId - 文件idactiveHours - 从当前算起,分享链接的有效时间,单位:小时; 如果为空,表示该分享链接永久有效ShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createTranslateShare(Long fileId, String expireDate, Boolean needPassword) throws com.bimface.exception.BimfaceException
fileId - 文件idexpireDate - 过期日期needPassword - 是否需要密码ShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createTranslateShare(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteTranslateShare(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createIntegrateShare(Long integrateId, Integer activeHours) throws com.bimface.exception.BimfaceException
integrateId - 集成idactiveHours - 从当前算起,分享链接的有效时间,单位:小时; 如果为空,表示该分享链接永久有效ShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createIntegrateShare(Long integrateId, String expireDate, Boolean needPassword) throws com.bimface.exception.BimfaceException
integrateId - 集成idexpireDate - 过期日期needPassword - 是否需要密码ShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createIntegrateShare(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteIntegrateShare(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.BatchDeleteResultBean<Long> batchDeteleShare(List<Long> sourceIds) throws com.bimface.exception.BimfaceException
sourceIds - 源idBatchDeleteResultBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean getShareLink(String token) throws com.bimface.exception.BimfaceException
token - tokenShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean getTranslateShare(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean getIntegrateShare(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean getSceneShare(Long sceneId) throws com.bimface.exception.BimfaceException
sceneId - 场景idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.api.bean.compatible.response.ShareLinkBean> shares(Integer pageNo, Integer pageSize) throws com.bimface.exception.BimfaceException
pageNo - 分页查询的页数pageSize - 分页查询的每页大小ShareLinkBean>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.data.bean.Property getProperty(Long fileId, String elementId) throws com.bimface.exception.BimfaceException
fileId - 文件idelementId - 构件idPropertycom.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.data.bean.Property getIntegrationProperty(Long integrateId, Long fileId, String elementId) throws com.bimface.exception.BimfaceException
integrateId - 集成idfileId - 文件idelementId - 构件idPropertycom.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.Category> getCategory(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idCategory>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.Tree.TreeNode> getCategoryV2(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idTree.TreeNode >com.bimface.exception.BimfaceException - BimfaceException BimfaceException@Deprecated public com.bimface.data.bean.SpecialtyTree getSpecialtyTree(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idSpecialtyTreecom.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.data.bean.FloorTree getFloorTree(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idFloorTreecom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileIntegrateBean integrate(com.bimface.api.bean.request.integrate.FileIntegrateRequest request)
throws com.bimface.exception.BimfaceException
request - FileIntegrateRequestFileIntegrateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileIntegrateBean getIntegrate(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成IdFileIntegrateBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.page.PagedList<com.bimface.api.bean.response.FileIntegrateDetailBean> getIntegrates(com.bimface.api.bean.request.integrate.IntegrateQueryRequest integrateQueryRequest)
throws com.bimface.exception.BimfaceException
integrateQueryRequest - 集成文件查询条件FileIntegrateDetailBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileIntegrateBean integrate2Bimtiles(com.bimface.api.bean.request.integrate.FileIntegrateRequest request)
throws com.bimface.exception.BimfaceException
request - 模型集成请求体com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteIntegrate(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成模型idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.FileIntegrateBean modify(Long integrateId, String name) throws com.bimface.exception.BimfaceException
integrateId - 集成模型idname - 集成新名称com.bimface.exception.BimfaceException - BimfaceExceptionpublic boolean validateSignature(String signature, String id, String status, String nonce) throws com.bimface.exception.BimfaceException
signature - 签名字符id - 可以是fileId或者integrateIdstatus - 转换状态(success || failed)nonce - 随机数com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean generateOfflineDatabag(OfflineDatabagRequest offlineDatabagRequest) throws com.bimface.exception.BimfaceException
offlineDatabagRequest - OfflineDatabagRequestDatabagDerivativeBeancom.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> queryOfflineDatabag(OfflineDatabagRequest offlineDatabagRequest) throws com.bimface.exception.BimfaceException
offlineDatabagRequest - OfflineDatabagRequestDatabagDerivativeBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> queryTranslateOfflineDatabag(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idDatabagDerivativeBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> queryIntegrateOfflineDatabag(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idDatabagDerivativeBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<? extends com.bimface.api.bean.response.databagDerivative.DatabagDerivativeBean> queryCompareOfflineDatabag(Long compareId) throws com.bimface.exception.BimfaceException
compareId - 比较idDatabagDerivativeBean>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean exportTranslateGltfDatabag(Long fileId, String callback) throws com.bimface.exception.BimfaceException
fileId - 文件idcallback - 回调url地址,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方TranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> getTranslateGltfDatabag(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idTranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean exportIntegrateGltfDatabag(Long integrateId, String callback) throws com.bimface.exception.BimfaceException
integrateId - 集成idcallback - 回调url地址,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方IntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> getIntegrateGltfDatabags(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idIntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getTranslateGltfDatabagUrl(Long fileId, String databagVersion) throws com.bimface.exception.BimfaceException
fileId - 文件iddatabagVersion - 数据包版本com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getIntegrateGltfDatabagUrl(Long integrateId, String databagVersion) throws com.bimface.exception.BimfaceException
integrateId - 集成iddatabagVersion - 数据包版本com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean exportTranslate3DTilesDatabag(Long fileId, String callback, Map<String,String> config) throws com.bimface.exception.BimfaceException
fileId - 文件idcallback - 回调url,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方config - 参数设置TranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> getTranslate3DTilesDatabags(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idTranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean exportIntegrate3DTilesDatabag(Long integrateId, String callback, Map<String,String> config) throws com.bimface.exception.BimfaceException
integrateId - 集成idcallback - 回调url,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方config - 参数设置IntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> getIntegrate3DTilesDatabags(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idIntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getTranslate3dTilesDatabagUrl(Long fileId, String databagVersion) throws com.bimface.exception.BimfaceException
fileId - 文件IddatabagVersion - 数据包的版本com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getIntegrate3dTilesDatabagUrl(Long integrateId, String databagVersion) throws com.bimface.exception.BimfaceException
integrateId - 集成IddatabagVersion - 数据包版本com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean createTranslateBakeDatabag(Long fileId, String callback, Map<String,String> config) throws com.bimface.exception.BimfaceException
fileId - 文件idcallback - 回调url,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方config - 参数设置TranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean> getTranslateBakeDatabags(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idTranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean createIntegrateBakeDatabag(Long integrateId, String callback, Map<String,String> config) throws com.bimface.exception.BimfaceException
integrateId - 集成idcallback - 回调url,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方config - 参数设置IntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.api.bean.response.databagDerivative.IntegrateDatabagDerivativeBean> getIntegrateBakeDatabags(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - 集成idIntegrateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean createDrawingSplit(Long fileId, String callback, Map<String,String> config) throws com.bimface.exception.BimfaceException
fileId - 文件idcallback - 回调url,BIMFACE支持在创建离线数据包完成以后,通过Callback机制通知调用方config - 参数设置TranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.databagDerivative.TranslateDatabagDerivativeBean getDrawingSplit(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idTranslateDatabagDerivativeBean 数据包元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic List getDrawingFrames(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idDrawingSplitLayoutcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Pagination<com.bimface.data.bean.DrawingCompareDiff> pageGetDrawingCompareResult(Long comparisonId, String layer, Integer page, Integer pageSize) throws com.bimface.exception.BimfaceException
comparisonId - 图纸对比IDlayer - 图层名称page - 页码pageSize - 每页记录数DrawingCompareDiff>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.MEPSystem> getMEPSystem(Long fileId, String systemCategory, String systemType) throws com.bimface.exception.BimfaceException
fileId - 需要获取系统信息的文件IdsystemCategory - 希望获取的系统的systemCategorysystemType - 希望获取的系统的systemTypeMEPSystemcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.ElementIdWithBoundingBox> getBoundingBoxesByEleIds(Long integrateId, List<String> fileIdWithEleIdList) throws com.bimface.exception.BimfaceException
integrateId - 模型集成IDfileIdWithEleIdList - 构件ID列表,由','分隔.每个构件ID由fileID和elementID组成,由'.'分隔;也可以由单个elementId组成ElementIdWithBoundingBoxcom.bimface.exception.BimfaceException - BimfaceException@Deprecated public String getOfflineDatabagUrl(OfflineDatabagRequest offlineDatabagRequest) throws com.bimface.exception.BimfaceException
offlineDatabagRequest - OfflineDatabagRequestcom.bimface.exception.BimfaceException - BimfaceExceptionpublic String getOfflineDatabagUrl(Long fileId, Long integrateId, Long compareId, String databagVersion) throws com.bimface.exception.BimfaceException
fileId - 文件idintegrateId - 集成idcompareId - 比较iddatabagVersion - 离线数据包版本com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.AppendFileBean createAppendFile(String name, String sourceId, Long length) throws com.bimface.exception.BimfaceException
name - 文件的全名,使用URL编码(UTF-8),最多256个字符sourceId - 调用方的文件源ID,不能重复length - 上传文件长度AppendFileBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.AppendFileBean queryAppendFile(Long appendFileId) throws com.bimface.exception.BimfaceException
appendFileId - 追加文件IDAppendFileBean 追加文件的元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.AppendFileBean uploadAppendFile(InputStream inputStream, Long appendFileId) throws com.bimface.exception.BimfaceException
inputStream - 文件的整个完整流appendFileId - 追加文件IDAppendFileBean 追加文件的元信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.file.bean.AppendFileBean uploadAppendFile(InputStream inputStream, Long appendFileId, Long length, Long position) throws com.bimface.exception.BimfaceException
inputStream - 文件的整个完整流appendFileId - 追加文件IDlength - 上传文件长度position - 追加上传开始位置AppendFileBean 追加文件的元信息com.bimface.exception.BimfaceException@Deprecated public List<com.bimface.data.bean.Floor> getFileFloors(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件Idcom.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic List<com.bimface.data.bean.Floor> getFileFloors(Long fileId, Boolean includeArea, Boolean includeRoom) throws com.bimface.exception.BimfaceException
fileId - fileId 文件IdincludeArea - 是否将楼层中的面积分区ID、名称一起返回includeRoom - 是否将楼层中的房间ID、名称一起返回com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.Floor> getIntegrateFloors(Long integrateId) throws com.bimface.exception.BimfaceException
getIntegrateFloors(java.lang.Long, java.lang.Boolean, java.lang.Boolean)
integrateId - 模型集成IDcom.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic List<com.bimface.data.bean.Floor> getIntegrateFloors(Long integrateId, Boolean includeArea, Boolean includeRoom) throws com.bimface.exception.BimfaceException
integrateId - 模型集成IDincludeArea - 是否将楼层中的空间ID、名称一起返回includeRoom - 是否将楼层中的房间ID、名称一起返回com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<String> getElementIdsV2(Long fileId, String specialty, String floor, String categoryId, String family, String familyType) throws com.bimface.exception.BimfaceException
getElementIdsV2(java.lang.Long, com.bimface.sdk.bean.request.QueryElementIdsRequest)
fileId - 文件IDspecialty - 专业floor - 楼层categoryId - 类别family - 族familyType - 族类型com.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic List<String> getElementIdsV2(Long fileId, QueryElementIdsRequest queryElementIdsRequest) throws com.bimface.exception.BimfaceException
fileId - 文件idqueryElementIdsRequest - 元素查询条件com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<Map<String,Object>> getSingleModelFileIdFloorsMapping(List<String> fileIds, Boolean includeArea, Boolean includeRoom) throws com.bimface.exception.BimfaceException
fileIds - 文件 IDsincludeArea - includeAreaincludeRoom - includeRoomcom.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic com.bimface.data.bean.Property getSingleModelElementV2(Long fileId, String elementId) throws com.bimface.exception.BimfaceException
fileId - 文件IDelementId - 构件IDcom.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic com.bimface.data.bean.Property getSingleModelElementV2(Long fileId, String elementId, boolean includeOverrides) throws com.bimface.exception.BimfaceException
fileId - 文件IDelementId - 构件IDincludeOverrides - 是否查询修改的属性com.bimface.exception.BimfaceException - BimfaceException BimfaceClient@Deprecated public List<com.bimface.data.bean.Property> getSingleModelElementsV2(Long fileId, List<String> elementIds) throws com.bimface.exception.BimfaceException
getSingleModelElementsV2(java.lang.Long, java.util.List, java.util.List, boolean)
fileId - 文件IDelementIds - 构件IDsProperty> 构件com.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic List<com.bimface.data.bean.Property> getSingleModelElementsV2(Long fileId, List<String> elementIds, List<com.bimface.data.bean.ElementPropertyFilterRequest.GroupAndKeysPair> filter, boolean includeOverrides) throws com.bimface.exception.BimfaceException
fileId - 文件IDelementIds - 构件IDsfilter - 查询筛选条件,可选includeOverrides - 是否查询修改的属性Property> 构件com.bimface.exception.BimfaceException - BimfaceException BimfaceClientpublic com.bimface.data.bean.Property getElementPropertyV2(Long fileId, List<String> elementIds) throws com.bimface.exception.BimfaceException
fileId - 文件idelementIds - 构件idProperty构件属性com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getElementPropertyV2(Long fileId, List<String> elementIds, Boolean includeOverrides) throws com.bimface.exception.BimfaceException
fileId - 文件idelementIds - 构件idincludeOverrides - 是否包括覆盖的属性Property构件属性com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.MaterialInfo> getSingleModelMaterials(Long fileId, String elementId) throws com.bimface.exception.BimfaceException
fileId - 文件IDelementId - 构件IDMaterialInfocom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.DatabagResourceUrl> getFileDatabagResource(Long fileId, Long integrateId, Long compareId, com.bimface.data.bean.DatabagResourceRequest databagResourceRequest) throws com.bimface.exception.BimfaceException
fileId - 文件IDintegrateId - 集成IDcompareId - 对比IDdatabagResourceRequest - 资源名称和路径列表com.bimface.exception.BimfaceExceptionpublic List<com.bimface.data.bean.View> getSingleModelViews(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IDView>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.Room> getSingleModelRooms(Long fileId, String floorId) throws com.bimface.exception.BimfaceException
fileId - 文件idfloorId - 楼层idRoom>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Room> getSingleModelRooms(Long fileId, String floorId, String elementId, com.bimface.data.enums.ToleranceType roomToleranceZ, com.bimface.data.enums.ToleranceType roomToleranceXY) throws com.bimface.exception.BimfaceException
fileId - 文件idfloorId - 楼层idelementId - 元素idroomToleranceZ - 房间Z方向容忍类型roomToleranceXY - 房间Y方向容忍类型Room>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Room getSingleModelRoom(Long fileId, String roomId) throws com.bimface.exception.BimfaceException
fileId - 文件idroomId - 房间idRoomcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Area> getSingleModelAreas(Long fileId, String floorId) throws com.bimface.exception.BimfaceException
fileId - 文件idfloorId - 楼层idAreacom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Area getSingleModelArea(Long fileId, String areaId) throws com.bimface.exception.BimfaceException
fileId - 文件idareaId - 区域idAreacom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Tree.TreeNode> getSingleModelTreeV2(Long fileId, com.bimface.data.bean.FileTreeRequestBody requestBody) throws com.bimface.exception.BimfaceException
fileId - 文件idrequestBody - FileTreeRequestBody 构件分类树查询请求体Tree.TreeNode >com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Tree getSingleModelCustomizedTree(Long fileId, com.bimface.data.bean.FileTreeRequestBody requestBody) throws com.bimface.exception.BimfaceException
fileId - 文件idrequestBody - FileTreeRequestBody 构件分类树查询请求体Treecom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Link> getSingleModelLinks(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件idLink>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.DrawingSheet> getSingleModelDrawingSheets(Long fileId) throws com.bimface.exception.BimfaceException
fileId - 文件IDDrawingSheet>图纸列表com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.DrawingSheet> getSingleModelDrawingSheets(Long fileId, String elementId) throws com.bimface.exception.BimfaceException
fileId - 文件IDelementId - 构件IDcom.bimface.exception.BimfaceException - BimfaceExceptionpublic Object getSingleModelModelInfo(Long fileId) throws com.bimface.exception.BimfaceException
fileId - com.bimface.exception.BimfaceException - BimfaceException BimfaceExceptionpublic List<com.bimface.data.bean.ElementIdWithName> getSingleModelChildElementIds(Long fileId, String elementId) throws com.bimface.exception.BimfaceException
fileId - 文件idelementId - 元素idElementIdWithName>com.bimface.exception.BimfaceException - BimfaceException BimfaceExceptionpublic String updateSingleModelElementProperties(Long fileId, String elementId, List<com.bimface.data.bean.PropertyGroup> propertyGroups) throws com.bimface.exception.BimfaceException
fileId - 文件idelementId - 构件元素idpropertyGroups - 修改的属性 PropertyGroupcom.bimface.exception.BimfaceException - BimfaceExceptionpublic String deleteSingleModelElementProperties(Long fileId, String elementId, List<com.bimface.data.bean.PropertyGroup> propertyGroups) throws com.bimface.exception.BimfaceException
fileId - 文件idelementId - 构件元素idpropertyGroups - 删除的属性com.bimface.exception.BimfaceException - BimfaceException@Deprecated public com.bimface.data.bean.ElementsWithBoundingBox getIntegrateModelElementIds(Long integrateId, String specialty, String roomId, String floor, String categoryId, String family, String familyType, String systemType) throws com.bimface.exception.BimfaceException
integrateId - 集成idspecialty - 筛选条件专业roomId - 房间idfloor - 楼层idcategoryId - 分类idfamily - 筛选条件族familyType - 筛选条件族类型systemType - 筛选条件系统类型ElementsWithBoundingBoxcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.ElementsWithBoundingBox getIntegrateModelElementIds(Long integrateId, QueryElementIdsRequest queryElementIdsRequest) throws com.bimface.exception.BimfaceException
integrateId - 集成idqueryElementIdsRequest - 查询条件ElementsWithBoundingBoxcom.bimface.exception.BimfaceException - BimfaceExceptionpublic String updateIntegrateModelElementProperties(Long integrateId, String fileIdHash, String elementId, List<com.bimface.data.bean.PropertyGroup> propertyGroups) throws com.bimface.exception.BimfaceException
integrateId - 集成IdfileIdHash - 文件Id hash值elementId - 构建IdpropertyGroups - 属性群com.bimface.exception.BimfaceException - BimfaceExceptionpublic String deleteIntegrateModelElementProperties(Long integrateId, String fileIdHash, String elementId, List<com.bimface.data.bean.PropertyGroup> propertyGroups) throws com.bimface.exception.BimfaceException
integrateId - 集成IdfileIdHash - 文件Id hash 值elementId - 构建IdpropertyGroups - 属性群com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getIntegrateModelElement(Long integrateId, String fileIdHash, String elementId) throws com.bimface.exception.BimfaceException
integrateId - 集成IdfileIdHash - 文件Id hash值elementId - 构建IdPropertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getIntegrateModelElement(Long integrateId, String fileIdHash, String elementId, Boolean includeOverrides) throws com.bimface.exception.BimfaceException
integrateId - 集成idfileIdHash - 文件id的hash值elementId - 元素idincludeOverrides - 是否包含被覆盖的构件Propertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getIntegrateModelElement(Long integrateId, String elementId) throws com.bimface.exception.BimfaceException
integrateId - elementId - Propertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Property> getIntegrateElementBatch(Long integrateId, boolean includeOverrides, com.bimface.data.bean.IntegrateElementPropertyFilterRequest filterRequest) throws com.bimface.exception.BimfaceException
integrateId - 集成IdincludeOverrides - 是否包含覆盖IdfilterRequest - 请求com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.MaterialInfo> getIntegrateModelElementMaterials(Long integrateId, String fileIdHash, String elementId) throws com.bimface.exception.BimfaceException
integrateId - 集成IdfileIdHash - 文件Id hash 值elementId - 构建IdMaterialInfo>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Tree getIntegrateModelTree(Long integrateId, String treeType, List<String> desiredHierarchy, com.bimface.data.bean.IntegrationTreeOptionalRequestBody requestBody) throws com.bimface.exception.BimfaceException
integrateId - 集成IdtreeType - 可选为:floor, specialty和customized三种类型desiredHierarchy - 期望的结构requestBody - 请求bodyTreecom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.FileViews> getIntegrateModelFileViews(Long integrateId, String viewType) throws com.bimface.exception.BimfaceException
integrateId - 集成IdviewType - viewTypeFileViews>com.bimface.exception.BimfaceException - BimfaceException@Deprecated public List<com.bimface.data.bean.Room> getIntegrateModelRooms(Long integrateId, String floorId) throws com.bimface.exception.BimfaceException
integrateId - 集成IdfloorId - 楼层Idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Room> getIntegrateModelRooms(Long integrateId, String floorId, String elementId, com.bimface.data.enums.ToleranceType roomToleranceZ, com.bimface.data.enums.ToleranceType roomToleranceXY) throws com.bimface.exception.BimfaceException
integrateId - 集成idfloorId - 楼层idelementId - 元素idroomToleranceZ - Z坐标轴方向对构件的筛选容忍度roomToleranceXY - XY坐标轴方向对构件的筛选容忍度Room>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Room> getIntegrateModelRooms(Long integrateId, String floorId, String fildIdHash, String elementId, com.bimface.data.enums.ToleranceType roomToleranceZ, com.bimface.data.enums.ToleranceType roomToleranceXY) throws com.bimface.exception.BimfaceException
integrateId - 集成idfloorId - 楼层idfildIdHash - 子文件IDelementId - 元素idroomToleranceZ - Z坐标轴方向对构件的筛选容忍度roomToleranceXY - XY坐标轴方向对构件的筛选容忍度Room>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Room getIntegrateModelRoom(Long integrateId, String roomId) throws com.bimface.exception.BimfaceException
integrateId - 集成idroomId - 房间idRoomcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.Area> getIntegrateModelAreas(Long integrateId, String floorId) throws com.bimface.exception.BimfaceException
integrateId - 集成idfloorId - 房间idArea>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Area getIntegrateModelArea(Long integrateId, String areaId) throws com.bimface.exception.BimfaceException
integrateId - areaId - Areacom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.IntegrateFileData> getIntegrateFiles(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - IntegrateFileData>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.IntegrateFileData> getIntegrateFiles(Long integrateId, Boolean includeDrawingSheet) throws com.bimface.exception.BimfaceException
integrateId - 集成IDincludeDrawingSheet - 是否将文件下转换出的图纸数量一起返回IntegrateFileData>com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getIntegrateModelViewToken(Long integrateId, String fileId) throws com.bimface.exception.BimfaceException
integrateId - fileId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SegmentGroupDto> getIntegrateModelSegmentGroups(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - SegmentGroupDto>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SegmentGroupDto> getIntegrateModelSegmentTree(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - SegmentGroupDto>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SegmentDto> getIntegrateModelSegments(Long integrateId, String segmentGroupId) throws com.bimface.exception.BimfaceException
integrateId - segmentGroupId - SegmentDto>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<String> getIntegrateModelSegmentElementIds(Long integrateId, String segmentId) throws com.bimface.exception.BimfaceException
integrateId - 集成IDsegmentId - 流水段ID;支持批量查询,多个segment id用逗号隔开com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getIntegrateModelCommonElementProperties(Long integrateId, List<com.bimface.data.bean.FileIdHashWithElementIds> fileIdHashWithElementIds) throws com.bimface.exception.BimfaceException
integrateId - fileIdHashWithElementIds - Propertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Property getIntegrateModelCommonElementProperties(Long integrateId, List<com.bimface.data.bean.FileIdHashWithElementIds> fileIdHashWithElementIds, Boolean includeOverrides) throws com.bimface.exception.BimfaceException
integrateId - fileIdHashWithElementIds - includeOverrides - Propertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic void addAssociations(String integrateId, String fromIntegrationId, String fromBusinessType, String fromBusinessFlag, com.bimface.data.bean.BusinessAssociationRequest request) throws com.bimface.exception.BimfaceException
integrateId - fromIntegrationId - fromBusinessType - fromBusinessFlag - request - com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.ElementBusinessAssociation> getAssociationsByElementId(String integrateId, String elementId, String businessType, String businessFlag) throws com.bimface.exception.BimfaceException
integrateId - elementId - businessType - businessFlag - ElementBusinessAssociation>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.BusinessElementAssociation> getAssociationsByBusinessId(String integrateId, String businessType, String businessId) throws com.bimface.exception.BimfaceException
integrateId - businessType - businessId - BusinessElementAssociation>com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteAssociationsByElementId(String integrateId, String elementId, String businessType, String businessFlag, List<String> businessIds) throws com.bimface.exception.BimfaceException
integrateId - elementId - businessType - businessFlag - businessIds - com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteAssociationsByBusinessId(String integrateId, String businessType, String businessId) throws com.bimface.exception.BimfaceException
integrateId - businessType - businessId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteAssociationsByElements(String integrateId, String businessType, String businessFlag, List<String> elementIds) throws com.bimface.exception.BimfaceException
integrateId - businessType - businessFlag - elementIds - com.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteAssociationsByBizIds(String integrateId, String businessType, String businessFlag, List<String> businessIds) throws com.bimface.exception.BimfaceException
integrateId - businessType - businessFlag - businessIds - com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.ModelCompareChange getModelCompareElementChange(Long comparisonId, Long previousFileId, String previousElementId, Long followingFileId, String followingElementId) throws com.bimface.exception.BimfaceException
comparisonId - previousFileId - previousElementId - followingFileId - followingElementId - ModelCompareChangecom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Tree getModelCompareTree(Long comparisonId) throws com.bimface.exception.BimfaceException
comparisonId - Treecom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.Pagination<com.bimface.data.bean.ModelCompareDiff> getModelCompareResult(Long comparisonId, String family, String elementName, Integer page, Integer pageSize) throws com.bimface.exception.BimfaceException
comparisonId - family - elementName - page - pageSize - ModelCompareDiff>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.MaterialOverrideSetVO getMaterialOverrideSet(Long id) throws com.bimface.exception.BimfaceException
id - MaterialOverrideSetVOcom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<String> getRfaFamilyPropertyNames(Long rfaFileId) throws com.bimface.exception.BimfaceException
rfaFileId - String>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.RfaFamilyType> getRfaFamilyTypes(Long rfaFileId) throws com.bimface.exception.BimfaceException
rfaFileId - RfaFamilyType>com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.data.bean.RfaFamilyTypeProperty getRfaFamilyTypeProperty(Long rfaFileId, String familyTypeGuid) throws com.bimface.exception.BimfaceException
rfaFileId - familyTypeGuid - RfaFamilyTypePropertycom.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SearchElementIdsResp> getElements(String requestBody) throws com.bimface.exception.BimfaceException
requestBody - SearchElementIdsResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SearchElementIdsResp> getElements(String requestBody, Boolean includeOverrides) throws com.bimface.exception.BimfaceException
requestBody - includeOverrides - 是否查询修改的属性SearchElementIdsResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SearchRoomIdsResp> getRooms(String requestBody) throws com.bimface.exception.BimfaceException
requestBody - bodySearchRoomIdsResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.SearchAreaIdsResp> getAreas(String requestBody) throws com.bimface.exception.BimfaceException
requestBody - SearchAreaIdsResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.PropertyValuesResp> getPropertyValues(List<String> targetIds, String targetType, List<String> properties) throws com.bimface.exception.BimfaceException
targetIds - 目标IDtargetType - 目标类型properties - 需要查询的属性列表PropertyValuesResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic List<com.bimface.data.bean.PropertyValuesResp> getPropertyValues(List<String> targetIds, String targetType, List<String> properties, Boolean includeOverrides) throws com.bimface.exception.BimfaceException
targetIds - 目标IDtargetType - 目标类型properties - 需要查询的属性列表includeOverrides - 是否查询修改的属性PropertyValuesResp>com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getPaginationContextId() throws com.bimface.exception.BimfaceException
com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getFileThumbnailUrl(Long fileId, Integer size) throws com.bimface.exception.BimfaceException
fileId - size - com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getDwgPdfUrl(Long dwgFileId) throws com.bimface.exception.BimfaceException
dwgFileId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getDwgPreviewImageUrl(Long dwgFileId, String layoutName) throws com.bimface.exception.BimfaceException
dwgFileId - layoutName - com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getFileDataBagRootUrl(Long fileId) throws com.bimface.exception.BimfaceException
fileId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getIntegrateDatabagRootUrl(Long integrateId) throws com.bimface.exception.BimfaceException
integrateId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic InputStream getFileDatabagContent(Long fileId) throws com.bimface.exception.BimfaceException
fileId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic Long getFileDatabagSize(Long fileId) throws com.bimface.exception.BimfaceException
fileId - com.bimface.exception.BimfaceException - BimfaceExceptionpublic String getViewTokenBySceneId(Long sceneId) throws com.bimface.exception.BimfaceException
sceneId - 场景idString viewToken 预览凭证com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createSceneShare(Long sceneId) throws com.bimface.exception.BimfaceException
sceneId - 场景idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createSceneShare(Long sceneId, Integer activeHours) throws com.bimface.exception.BimfaceException
sceneId - 场景idShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.compatible.response.ShareLinkBean createSceneShare(Long sceneId, String expireDate, Boolean needPassword) throws com.bimface.exception.BimfaceException
sceneId - 场景idexpireDate - 过期日期needPassword - 是否需要密码ShareLinkBeancom.bimface.exception.BimfaceException - BimfaceExceptionpublic void deleteSceneShare(Long sceneId) throws com.bimface.exception.BimfaceException
sceneId - 场景idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.scene.bean.CreateSceneResp createScene(com.bimface.scene.bean.CreateSceneRequest sceneInfo)
throws com.bimface.exception.BimfaceException
sceneInfo - 场景信息CreateSceneRespcom.bimface.exception.BimfaceException - BimfaceExceptionpublic String updateScene(Long sceneId, com.bimface.scene.bean.CreateSceneRequest sceneInfo) throws com.bimface.exception.BimfaceException
sceneId - 场景idsceneInfo - 场景信息com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.scene.bean.response.SceneInfoResponse getScene(Long sceneId) throws com.bimface.exception.BimfaceException
sceneId - 场景idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic String getViewTokenByClashDetectiveId(Long clashDetectiveId) throws com.bimface.exception.BimfaceException
clashDetectiveId - 碰撞idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.clashDetective.ClashDetectiveResponse createClashDetective(com.bimface.api.bean.request.clashDetective.ClashDetectiveRequest request)
throws com.bimface.exception.BimfaceException
request - com.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.clashDetective.ClashDetectiveResponse queryClashDetective(Long clashDetectiveId) throws com.bimface.exception.BimfaceException
clashDetectiveId - 碰撞检测idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic com.bimface.api.bean.response.clashDetective.ClashDetectiveList queryClashDetectiveByModelId(Long fileId, Long integrateId) throws com.bimface.exception.BimfaceException
fileId - 文件idintegrateId - 集成idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic Object getClashDetectiveResult(Long clashDetectiveId) throws com.bimface.exception.BimfaceException
clashDetectiveId - 碰撞检测idcom.bimface.exception.BimfaceException - BimfaceExceptionpublic Credential getCredential()
public Endpoint getEndpoint()
public AccessTokenService getAccessTokenService()
public FileService getFileService()
public TranslateService getTranslateService()
public ViewTokenService getViewTokenService()
public ShareLinkService getShareLinkService()
public PropertyService getPropertyService()
public SignatureService getSignatureService()
public DownloadService getDownloadService()
public ElementService getElementService()
public CategoryTreeService getCategoryService()
public OfflineDatabagService getOfflineDatabagService()
public BakeService getBakeService()
public DrawingSplitService getDrawingSplitService()
Copyright © 2024. All rights reserved.